diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-07 15:57:35 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-07 15:57:35 +0800 |
commit | cae20fa89b395290ec8b47796da4775524845b1c (patch) | |
tree | 388a8be88d4fdb6c3ad1ddf2b29a0abd2d6b1b3d /fg21sim/webui/templates/index.html | |
parent | 2d0fa905d69bc8177d2253308cf67c6950f404af (diff) | |
download | fg21sim-cae20fa89b395290ec8b47796da4775524845b1c.tar.bz2 |
webui: Implement reset form and load configuration files functions
* Rewrite "configs.js" to be more modular and generic
* Bind functions to button click event
* Implement the function to set form fields to given configuration data
* Implement the function to reset server-side configurations
* Implement the function to load user configuration file on server
* Implement get the configuration data from the server
Diffstat (limited to 'fg21sim/webui/templates/index.html')
-rw-r--r-- | fg21sim/webui/templates/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fg21sim/webui/templates/index.html b/fg21sim/webui/templates/index.html index 8eb65cd..4c1dff1 100644 --- a/fg21sim/webui/templates/index.html +++ b/fg21sim/webui/templates/index.html @@ -30,5 +30,6 @@ {% end %} {% block extra_script %} + <script src="{{ static_url('js/configs.js') }}"></script> <script src="{{ static_url('js/websocket.js') }}"></script> {% end %} |