aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/configs.html
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-16 17:48:45 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-16 17:48:45 +0800
commit4c425e1e6e78dc0008d996a77f1dc51f7d4eab0c (patch)
tree04a20c9a633ceb31845bf2d09677636478887f39 /fg21sim/webui/templates/configs.html
parent75d6c2bf1374033ee6ae94c3d17765f72002e935 (diff)
downloadfg21sim-4c425e1e6e78dc0008d996a77f1dc51f7d4eab0c.tar.bz2
webui: configs.html: Add XSRF token and a modal dialog container
Diffstat (limited to 'fg21sim/webui/templates/configs.html')
-rw-r--r--fg21sim/webui/templates/configs.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/fg21sim/webui/templates/configs.html b/fg21sim/webui/templates/configs.html
index be2c0d2..f493661 100644
--- a/fg21sim/webui/templates/configs.html
+++ b/fg21sim/webui/templates/configs.html
@@ -29,6 +29,7 @@
<!-- Configuration Form -->
<form id="conf-form" class="form-inline" autocomplete="on">
+ {% module xsrf_form_html() %}
<!-- General controlling configs -->
<fieldset id="conf-control">
<div class="row">
@@ -467,4 +468,6 @@
</fieldset>
</fieldset>
</form>
+
+ <div id="modal-configs" class="modal" style="display: none;"></div>
</section>