diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-09 20:20:17 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-09 20:20:17 +0800 |
commit | 71242718eb9d8ed920ac2e70677ae54bf3d140ea (patch) | |
tree | 1efaf4eb8cf0df52d9b6fd45d1284601565066f6 /fg21sim/webui/templates/configs.html | |
parent | 2ca52d1ebd934035bfdc99a9c777b666ee5cb5e4 (diff) | |
download | fg21sim-71242718eb9d8ed920ac2e70677ae54bf3d140ea.tar.bz2 |
webui: various small updates
Diffstat (limited to 'fg21sim/webui/templates/configs.html')
-rw-r--r-- | fg21sim/webui/templates/configs.html | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/fg21sim/webui/templates/configs.html b/fg21sim/webui/templates/configs.html index e3ec2f5..f1bb640 100644 --- a/fg21sim/webui/templates/configs.html +++ b/fg21sim/webui/templates/configs.html @@ -8,6 +8,25 @@ <h2><span class="fa fa-wrench" aria-hidden="true"></span> Configurations</h2> <hr /> + <p class="status"><strong> + <span class="fa fa-info-circle" aria-hidden="true"></span> + Configurations status: + <span id="conf-status" class="label label-default"> + <span class="icon fa fa-question-circle" aria-hidden="true"></span> + <span class="text">N/A</span> + </span> + <span id="conf-recheck" class="btn fa fa-refresh" aria-hidden="true"></span> + </strong></p> + + <p class="button-group"> + <!-- NOTE: HTML5 "button" element has a default behavior of submit. + Credit: https://stackoverflow.com/a/10836076/4856091 + --> + <button type="button" id="load-configfile"><span class="fa fa-download" aria-hidden="true"></span> Load Configurations</button> + <button type="button" id="save-configfile"><span class="fa fa-save" aria-hidden="true"></span> Save Configurations</button> + <button type="button" class="button-warning" id="reset-defaults"><span class="fa fa-undo" aria-hidden="true"></span> Reset to Defaults</button> + </p> + <!-- Configuration Form --> <form id="conf-form" class="form-inline" autocomplete="on"> <!-- General controlling configs --> @@ -22,14 +41,6 @@ <input class="form-control code" type="text" id="conf-configfile" name="configfile" required /> </div> </div> - <div class="button-group"> - <!-- NOTE: HTML5 "button" element has a default behavior of submit. - Credit: https://stackoverflow.com/a/10836076/4856091 - --> - <button type="button" id="load-configfile"><span class="fa fa-download" aria-hidden="true"></span> Load Configurations</button> - <button type="button" id="save-configfile"><span class="fa fa-save" aria-hidden="true"></span> Save Configurations</button> - <button type="button" class="button-warning" id="reset-defaults"><span class="fa fa-undo" aria-hidden="true"></span> Reset to Defaults</button> - </div> </fieldset> <!-- Configuration section "[common]" --> |