summaryrefslogtreecommitdiffstats
path: root/test/monitoring/monitor.html
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-09-19 12:23:13 +0200
committerJosé Bollo <jose.bollo@iot.bzh>2017-10-09 14:08:29 +0200
commit814561d06929f3adbeb3fbedc0da2fa71074fb35 (patch)
tree4afe2abce7df086b3d8d858322400fb78eac1165 /test/monitoring/monitor.html
parent15d0dae1cd6ab982137a7c2848de9303a9c969f0 (diff)
monitoring: Add CSS/style/theme switch dynamically
This can be useful when presenting the monitoring to switch from a dark theme to a light theme dynamically. Change-Id: I25beffe2071e7a71d7ad493099ab3bb674de8461 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'test/monitoring/monitor.html')
-rw-r--r--test/monitoring/monitor.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/monitoring/monitor.html b/test/monitoring/monitor.html
index 22f090ed..2c07c1ba 100644
--- a/test/monitoring/monitor.html
+++ b/test/monitoring/monitor.html
@@ -18,7 +18,8 @@
-->
<title>Monitoring</title>
<link href="monitor-base.css" rel="stylesheet">
- <link href="monitor-demo.css" rel="stylesheet">
+ <link href="monitor-demo.css" rel="stylesheet" title="demo">
+ <link href="monitor-pastel.css" rel="alternate stylesheet" title="pastel">
<script type="text/javascript" src="underscore-min.js"></script>
<script type="text/javascript" src="AFB.js"></script>
<script type="text/javascript" src="monitor.js"></script>
@@ -67,6 +68,7 @@
<div id="menu" class="-flex-v">
<div id="connect" class="x-button">Connect</div>
<div id="disconnect" class="x-button">Disconnect</div>
+ <div id="style" class="x-button">style</div>
<div id="autoscroll" class="x-button">Stop scroll</div>
<div id="addsep" class="x-button">Add separator</div>
<div id="droptracevts" class="x-button">Clear traces</div>