This commit is contained in:
Jokob-sk committed 2024-04-07 07:04:31 +10:00
commit 116806b68b
2 files changed
+3 -2

No files matched your search

+1
View File
@@ -1036,6 +1036,7 @@ input[readonly] {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
color: white;
}
+2 -2
View File
@@ -259,11 +259,11 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
{
let isEnabled = ["once", "schedule", "always_after_scan", "on_new_device", "on_notification", "before_config_save" ].includes(getSetting(group+"_RUN"));
isEnabled ? onOff = 'on' : onOff = 'off';
isEnabled ? onOff = 'solid' : onOff = 'regular';
enabledHtml = `
<div class="enabled-disabled-icon">
<i class="fa-solid fa-toggle-${onOff}"></i>
<i class="fa-${onOff} fa-circle"></i>
</div>
`
}