From 1688a8b2e5728e894041d2c3e6129ce789b36685 Mon Sep 17 00:00:00 2001 From: Ziver Koc Date: Wed, 25 Jan 2017 17:03:15 +0100 Subject: [PATCH] Some cleanup in the templates --- resource/web/css/hal.css | 23 +++++++++++++++-------- resource/web/event_config.tmpl | 6 ++---- resource/web/sensor_config.tmpl | 19 +++++++++---------- 3 files changed, 26 insertions(+), 22 deletions(-) diff --git a/resource/web/css/hal.css b/resource/web/css/hal.css index 7e9b9a76..ab56ffac 100755 --- a/resource/web/css/hal.css +++ b/resource/web/css/hal.css @@ -84,6 +84,21 @@ body { margin-top: 0; } +.vertical-space { + height: 70px; +} +.text-vert-middle { + vertical-align: middle !important; +} + +.table-borderless tbody tr td { + border: none; +} + +.drop-shadow { + box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12) +} + /* * Placeholder dashboard ideas @@ -104,14 +119,6 @@ body { border-radius: 50%; } -.panel{ - margin-bottom: 70px; -} - -.drop-shadow { - box-shadow: 0 2px 2px 0 rgba(0, 0, 0, .14), 0 3px 1px -2px rgba(0, 0, 0, .2), 0 1px 5px 0 rgba(0, 0, 0, .12) -} - /* * c3.js charts overrides diff --git a/resource/web/event_config.tmpl b/resource/web/event_config.tmpl index 5582c92c..10476b75 100755 --- a/resource/web/event_config.tmpl +++ b/resource/web/event_config.tmpl @@ -133,10 +133,8 @@ +
@@ -140,8 +141,9 @@ {{/extUsers}}
-
+ +
@@ -185,8 +187,9 @@ {{/extSensor}}
-
+ +
@@ -255,10 +258,8 @@