aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/webui/templates/login.html
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim/webui/templates/login.html')
-rw-r--r--fg21sim/webui/templates/login.html6
1 files changed, 5 insertions, 1 deletions
diff --git a/fg21sim/webui/templates/login.html b/fg21sim/webui/templates/login.html
index 51d4cd1..e0e98da 100644
--- a/fg21sim/webui/templates/login.html
+++ b/fg21sim/webui/templates/login.html
@@ -14,7 +14,7 @@
<h2><span class="fa fa-key" aria-hidden="true"></span> Login</h2>
<hr />
- <form action="/login" method="post">
+ <form id="login" action="/login" method="post">
{% module xsrf_form_html() %}
<fieldset>
<label for="password">Password:
@@ -28,3 +28,7 @@
</form>
</section>
{% end %}
+
+{% block extra_script %}
+ <script src="{{ static_url('js/login.js') }}"></script>
+{% end %}