From cae20fa89b395290ec8b47796da4775524845b1c Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Mon, 7 Nov 2016 15:57:35 +0800 Subject: 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 --- fg21sim/webui/templates/configs.html | 62 ++++++++++++++++++++---------------- 1 file changed, 35 insertions(+), 27 deletions(-) (limited to 'fg21sim/webui/templates/configs.html') diff --git a/fg21sim/webui/templates/configs.html b/fg21sim/webui/templates/configs.html index b86a72c..9321d9d 100644 --- a/fg21sim/webui/templates/configs.html +++ b/fg21sim/webui/templates/configs.html @@ -15,20 +15,20 @@
- +
- +
- - - + + +
@@ -39,15 +39,15 @@
- +
- +
- +
@@ -79,17 +79,21 @@

Frequency


-
- - -
+
+ + +
+ + +
+
- +
@@ -101,7 +105,7 @@
- +
@@ -129,17 +133,21 @@

Output


-
- - -
+
+ + +
+ + +
+
- +
@@ -152,7 +160,7 @@
- +
@@ -217,7 +225,7 @@
- +
@@ -253,7 +261,7 @@
- +
@@ -290,13 +298,13 @@
- +
- +
@@ -339,7 +347,7 @@
- +
@@ -378,7 +386,7 @@
- +
@@ -429,7 +437,7 @@
- +
-- cgit v1.2.2