mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2026-04-15 22:51:37 -07:00
+1
-10
@@ -949,16 +949,6 @@ height: 50px;
|
|||||||
top:0px;
|
top:0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.overview-section
|
|
||||||
{
|
|
||||||
/* border-top: solid;
|
|
||||||
border-width: medium;
|
|
||||||
border-width: medium;
|
|
||||||
border-width: 1px;
|
|
||||||
border-radius: 15px;
|
|
||||||
margin-bottom: 3px; */
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.settings-group i{
|
.settings-group i{
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -1622,6 +1612,7 @@ input[readonly] {
|
|||||||
/* ----------------------------------------------------------------- */
|
/* ----------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
.plugin-filters
|
.plugin-filters
|
||||||
{
|
{
|
||||||
margin: 7px;
|
margin: 7px;
|
||||||
|
|||||||
@@ -737,3 +737,7 @@ input[type="password"]::-webkit-caps-lock-indicator {
|
|||||||
color:#000 !important;
|
color:#000 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.thresholdFormControl
|
||||||
|
{
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
@@ -740,3 +740,8 @@
|
|||||||
background-color: #fff !important;
|
background-color: #fff !important;
|
||||||
color:#000 !important;
|
color:#000 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.thresholdFormControl
|
||||||
|
{
|
||||||
|
color:#000;
|
||||||
|
}
|
||||||
@@ -153,7 +153,7 @@ function processColumnValue(dbColumnDef, value, index, type) {
|
|||||||
$.each(dbColumnDef.options, function(index, obj) {
|
$.each(dbColumnDef.options, function(index, obj) {
|
||||||
if(Number(value) < Number(obj.maximum) && valueTmp == '')
|
if(Number(value) < Number(obj.maximum) && valueTmp == '')
|
||||||
{
|
{
|
||||||
valueTmp = `<div style="background-color:${obj.hexColor}">${value}</div>`
|
valueTmp = `<div class="thresholdFormControl" style="background-color:${obj.hexColor}">${value}</div>`
|
||||||
// return;
|
// return;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -371,7 +371,7 @@ function getHistoryData(prefix, colDefinitions, pluginObj) {
|
|||||||
// Extract history data for the plugin, limiting to the first 50 entries for performance
|
// Extract history data for the plugin, limiting to the first 50 entries for performance
|
||||||
return pluginHistory
|
return pluginHistory
|
||||||
.filter((history, index) => history.Plugin === prefix && index < 50) // Filter history for the specific plugin
|
.filter((history, index) => history.Plugin === prefix && index < 50) // Filter history for the specific plugin
|
||||||
.map(history => colDefinitions.map(colDef => history[colDef.column] || '')); // Map to the defined columns
|
.map(object => colDefinitions.map(colDef => getFormControl(colDef, object[colDef.column], object["Index"], colDefinitions, object)));
|
||||||
}
|
}
|
||||||
|
|
||||||
function generateTabNavigation(prefix, objectCount, eventCount, historyCount) {
|
function generateTabNavigation(prefix, objectCount, eventCount, historyCount) {
|
||||||
|
|||||||
Reference in New Issue
Block a user