projects
/
kismet-logviewer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dark mode and websockets
[kismet-logviewer.git]
/
logviewer
/
static
/
js
/
jquery.kismet.packetrate.js
diff --git
a/logviewer/static/js/jquery.kismet.packetrate.js
b/logviewer/static/js/jquery.kismet.packetrate.js
index
c1e3176
..
3a2919b
100644
(file)
--- a/
logviewer/static/js/jquery.kismet.packetrate.js
+++ b/
logviewer/static/js/jquery.kismet.packetrate.js
@@
-514,31
+514,47
@@
packetgraph.sparkline(combo_rrd, {
type: "bar",
height: 12,
packetgraph.sparkline(combo_rrd, {
type: "bar",
height: 12,
+ stackedBarColor: [kismet_theme.sparkline_multi_a, kismet_theme.sparkline_multi_b],
});
$('#rate', popup_content).sparkline(rate_rrd, {
type: "bar",
height: 12,
});
$('#rate', popup_content).sparkline(rate_rrd, {
type: "bar",
height: 12,
+ barColor: kismet_theme.sparkline_main,
+ nullColor: kismet_theme.sparkline_main,
+ zeroColor: kismet_theme.sparkline_main,
});
$('#error', popup_content).sparkline(error_rrd, {
type: "bar",
height: 12,
});
$('#error', popup_content).sparkline(error_rrd, {
type: "bar",
height: 12,
+ barColor: kismet_theme.sparkline_main,
+ nullColor: kismet_theme.sparkline_main,
+ zeroColor: kismet_theme.sparkline_main,
});
$('#dupe', popup_content).sparkline(dupe_rrd, {
type: "bar",
height: 12,
});
$('#dupe', popup_content).sparkline(dupe_rrd, {
type: "bar",
height: 12,
+ barColor: kismet_theme.sparkline_main,
+ nullColor: kismet_theme.sparkline_main,
+ zeroColor: kismet_theme.sparkline_main,
});
$('#queue', popup_content).sparkline(queue_rrd, {
type: "bar",
height: 12,
});
$('#queue', popup_content).sparkline(queue_rrd, {
type: "bar",
height: 12,
+ barColor: kismet_theme.sparkline_main,
+ nullColor: kismet_theme.sparkline_main,
+ zeroColor: kismet_theme.sparkline_main,
});
$('#drop', popup_content).sparkline(drop_rrd, {
type: "bar",
height: 12,
});
$('#drop', popup_content).sparkline(drop_rrd, {
type: "bar",
height: 12,
+ barColor: kismet_theme.sparkline_main,
+ nullColor: kismet_theme.sparkline_main,
+ zeroColor: kismet_theme.sparkline_main,
});
} catch (error) {
});
} catch (error) {