From 3e5ca4601d8136906c36dc2e2daae0f6513fa39a Mon Sep 17 00:00:00 2001 From: brindosch Date: Wed, 30 Nov 2016 17:32:12 +0100 Subject: [PATCH] Update webui (#301) * update * update * fix * implement opt groups * spaces [skip ci] * page wrapper adjust [skip ci] * implement optgroups for remote, adjust effect schemas * lost id [skip ci] --- assets/webconfig/content/dashboard.html | 155 +- assets/webconfig/content/leds.html | 81 +- assets/webconfig/css/bootstrap-switch.min.css | 22 - assets/webconfig/css/hyperion.css | 487 ++- assets/webconfig/css/sb-admin-2.css | 4 +- assets/webconfig/index.html | 6 +- .../js/content_effectsconfigurator.js | 47 +- assets/webconfig/js/content_index.js | 4 - assets/webconfig/js/content_leds.js | 143 +- assets/webconfig/js/content_remote.js | 17 +- .../webconfig/js/lib/bootstrap-switch.min.js | 22 - assets/webconfig/js/lib/jquery-ui-1.12.1.zip | Bin 439463 -> 0 bytes assets/webconfig/js/lib/jsoneditor.js | 923 +---- assets/webconfig/js/lib/jsonform.js | 3591 ----------------- assets/webconfig/js/lib/sb-admin-2.js | 2 +- assets/webconfig/js/ui_utils.js | 24 + assets/webconfig/lang/de.json | 3 +- effects/schema/fade.schema.json | 1 + effects/schema/knight-rider.schema.json | 31 +- effects/schema/police.schema.json | 6 +- effects/schema/rainbow-mood.schema.json | 9 +- effects/schema/rainbow-swirl.schema.json | 9 +- effects/schema/shutdown.schema.json | 6 +- effects/schema/snake.schema.json | 4 +- libsrc/hyperion/hyperion.schema.json | 31 +- 25 files changed, 892 insertions(+), 4736 deletions(-) delete mode 100644 assets/webconfig/css/bootstrap-switch.min.css delete mode 100644 assets/webconfig/js/lib/bootstrap-switch.min.js delete mode 100644 assets/webconfig/js/lib/jquery-ui-1.12.1.zip delete mode 100644 assets/webconfig/js/lib/jsonform.js diff --git a/assets/webconfig/content/dashboard.html b/assets/webconfig/content/dashboard.html index b1ca9bca..591cc0df 100644 --- a/assets/webconfig/content/dashboard.html +++ b/assets/webconfig/content/dashboard.html @@ -1,80 +1,79 @@ +
+
+
+ +
+

The dashboard give you a quick overview about the status of Hyperion and show you the latest news of the Hyperion Blog.

+
+
+
+
+
+ + Information +
+
+ + + + + + + + + + + + + + + + + + + +
Your Hyperion version:unknown
Latest version:unknown
LED type:unknown
Device:
+
+ +
+
+
+
+
+
+ + Components status +
+
+ + + + + + + + + +
ComponentStatus
+
+
+
+
+
+
+ + Latest blog posts +
+
-
-
-
- -
-

The dashboard give you a quick overview about the status of Hyperion and show you the latest news of the Hyperion Blog.

+
+
+
+ +
+ +
+
-
-
-
-
- - Information -
-
- - - - - - - - - - - - - - - - - - - -
Your Hyperion version:unknown
Latest version:unknown
LED type:unknown
Device:
-
- -
-
-
-
-
-
- - Components status -
-
- - - - - - - - - -
ComponentStatus
-
-
-
-
-
-
- - Latest blog posts -
-
- -
-
-
- -
- -
- -
- - + + diff --git a/assets/webconfig/content/leds.html b/assets/webconfig/content/leds.html index 38152486..1d6e09bc 100644 --- a/assets/webconfig/content/leds.html +++ b/assets/webconfig/content/leds.html @@ -3,7 +3,7 @@ background-image:url(/img/hyperion/hyperionlogo.png); background-repeat:no-repeat; background-position: center; border-radius:2px; } .led { display:inline-block; border: 1px solid black; position:absolute; opacity:0.8; text-align:center; vertical-align:middle; padding:4px; border-radius:2px;} - .led_num {display:none; position:relative; color:black; background-color: white; + .led_num, .led_prev_num {display:none; position:relative; color:black; background-color: white; border-radius:2px; padding:1px; vertical-align:middle; text-align:center; font-size:0.8em;} #leds_controls {white-space:nowrap; margin-top:500px;} @@ -95,7 +95,7 @@