aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-01 21:46:06 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-01 21:46:06 +0800
commitfbc39656df1c61c93661565446abc378a7e2b869 (patch)
treee013d7a9ce6036f90301bb6b7c6b041436920e47 /fg21sim
parent0c0272d08d2aa141eb648ccc6d5fc9857a84972f (diff)
downloadfg21sim-fbc39656df1c61c93661565446abc378a7e2b869.tar.bz2
webui: Update header and configs templates
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/webui/templates/configs.html10
-rw-r--r--fg21sim/webui/templates/header.html2
2 files changed, 6 insertions, 6 deletions
diff --git a/fg21sim/webui/templates/configs.html b/fg21sim/webui/templates/configs.html
index 2c6aaf6..8828e6d 100644
--- a/fg21sim/webui/templates/configs.html
+++ b/fg21sim/webui/templates/configs.html
@@ -4,7 +4,7 @@
#
# Configuration part
#}
-<section id="configs" class="container target">
+<section id="configs">
<h2>Configurations</h2>
<hr />
@@ -22,13 +22,13 @@
<input class="form-control" type="text" id="conf-configfile" name="configfile" />
</div>
</div>
- <div class="text-center">
+ <div class="button-group">
<!-- NOTE: HTML5 "button" element has a default behavior of submit.
Credit: https://stackoverflow.com/a/10836076/4856091
-->
- <button type="button" class="button-small" id="reset-defaults"><span class="fa fa-undo" aria-hidden="true"></span> Reset to Defaults</button>
- <button type="button" class="button-small" id="load-configfile"><span class="fa fa-download" aria-hidden="true"></span> Load from Configuration File</button>
- <button type="button" class="button-small" id="save-configfile"><span class="fa fa-save" aria-hidden="true"></span> Save to Configuration File</button>
+ <button type="button" id="load-configfile"><span class="fa fa-download" aria-hidden="true"></span> Load from Configuration File</button>
+ <button type="button" id="save-configfile"><span class="fa fa-save" aria-hidden="true"></span> Save to Configuration File</button>
+ <button type="button" class="button-warning" id="reset-defaults" disabled="disabled"><span class="fa fa-undo" aria-hidden="true"></span> Reset to Defaults</button>
</div>
</fieldset>
diff --git a/fg21sim/webui/templates/header.html b/fg21sim/webui/templates/header.html
index 9702a02..8b7734f 100644
--- a/fg21sim/webui/templates/header.html
+++ b/fg21sim/webui/templates/header.html
@@ -14,8 +14,8 @@
<ul class="navigation-list float-right">
<li class="navigation-item"><a class="navigation-link" href="#configs" title="Configurations">Configurations</a></li>
+ <li class="navigation-item"><a class="navigation-link" href="#console" title="Console">Console</a></li>
<li class="navigation-item"><a class="navigation-link" href="#results" title="Results">Results</a></li>
- <li class="navigation-item"><a class="navigation-link" href="#logs" title="Logs">Logs</a></li>
</ul>
<a class="hidden-xs github" href="https://github.com/liweitianux/fg21sim" title="fg21sim on Github" target="_blank">