aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-17 11:44:21 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-17 11:44:21 +0800
commit0af497625be03bea330b02738e6ba2c6f2c492e9 (patch)
tree9747eb2992f5529b3df32b7dd02a9a1397e100dd /fg21sim/webui/templates
parentf34766376b6a77b740f2d218de901062b6de4cf6 (diff)
downloadfg21sim-0af497625be03bea330b02738e6ba2c6f2c492e9.tar.bz2
webui: Add panel toggle and allow expand/collapse its body
Diffstat (limited to 'fg21sim/webui/templates')
-rw-r--r--fg21sim/webui/templates/console.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/fg21sim/webui/templates/console.html b/fg21sim/webui/templates/console.html
index 019f72a..1a682f9 100644
--- a/fg21sim/webui/templates/console.html
+++ b/fg21sim/webui/templates/console.html
@@ -30,7 +30,11 @@
<div class="panel panel-default">
<div class="panel-heading">
- <span class="panel-title"><span class="fa fa-comments" aria-hidden="true"></span> Logging Messages</span>
+ <span class="panel-title">
+ <span class="icon fa fa-comments" aria-hidden="true"></span>
+ <span class="text">Logging Messages</span>
+ <span class="toggle fa fa-chevron-circle-up" title="Collapse contents"></span>
+ </span>
<span class="panel-control">
<span id="log-toggle-debug" title="Toggle display of DEBUG messages" class="btn fa fa-comment" aria-hidden="true"></span>
<span id="log-toggle-info" title="Toggle display of INFO messages" class="btn fa fa-info-circle" aria-hidden="true"></span>
@@ -42,4 +46,6 @@
<div id="log-messages" class="panel-body">
</div>
</div>
+
+ <div id="modal-console" class="modal" style="display: none;"></div>
</section>