From a3474a7877c4502d79d2eba65794527966197c72 Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Wed, 23 Nov 2016 20:40:53 +0800 Subject: webui: configs.html: Improve the form layout and styles --- fg21sim/webui/static/css/main.css | 8 +++- fg21sim/webui/templates/configs.html | 74 ++++++++++++++++++++---------------- 2 files changed, 49 insertions(+), 33 deletions(-) (limited to 'fg21sim') diff --git a/fg21sim/webui/static/css/main.css b/fg21sim/webui/static/css/main.css index 67f324b..aecb48d 100644 --- a/fg21sim/webui/static/css/main.css +++ b/fg21sim/webui/static/css/main.css @@ -221,7 +221,7 @@ label, legend { .form-inline .form-control { display: inline-block; width: auto; - margin-bottom: 0; + margin-bottom: 0.3rem; vertical-align: middle; } .form-inline .checkboxes { @@ -230,6 +230,12 @@ label, legend { vertical-align: middle; } +input[type="radio"], +input[type="checkbox"] { + margin-left: 0.5rem; + margin-right: 0.5rem; +} + /* Checkboxes & Radios */ .checkboxes .legend, .radios .legend { diff --git a/fg21sim/webui/templates/configs.html b/fg21sim/webui/templates/configs.html index 3fee24e..a7a8f43 100644 --- a/fg21sim/webui/templates/configs.html +++ b/fg21sim/webui/templates/configs.html @@ -67,13 +67,17 @@
-
- - -
-
- - +
+ Power Spectrum Multiple: +
+ + +
+ +
+ + +
@@ -345,17 +349,19 @@
-
- - -
-
- - -
-
- - +
+
+ + +
+
+ + +
+
+ + +
@@ -400,23 +406,27 @@
-
- - -
-
- - +
+
+ + +
+
+ + +
-
- - -
-
- - +
+
+ + +
+
+ + +
-- cgit v1.2.2