mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Merge pull request #619 from wintergew/design-improvements
Design improvements - thanks a lot @wintergew 🙏
This commit is contained in:
@@ -1036,6 +1036,7 @@ input[readonly] {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -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"));
|
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 = `
|
enabledHtml = `
|
||||||
<div class="enabled-disabled-icon">
|
<div class="enabled-disabled-icon">
|
||||||
<i class="fa-solid fa-toggle-${onOff}"></i>
|
<i class="fa-${onOff} fa-circle"></i>
|
||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user