From ebdd1550212ba28395392981b90cc8020ed349c9 Mon Sep 17 00:00:00 2001 From: Generoso Martello Date: Sun, 7 Jun 2020 17:08:44 +0200 Subject: [PATCH] Scheduler UI improvements --- BaseFiles/Common/html/css/my.css | 22 +-- BaseFiles/Common/html/index.html | 48 ++--- BaseFiles/Common/html/js/api/homegenie.ui.js | 38 ++-- .../pages/configure/scheduler/_scheduler.js | 169 +++++++++++------- .../html/pages/configure/scheduler/main.html | 2 +- .../homegenie/generic/energymonitor.js | 12 +- .../Common/html/ui/core/popup.cronwizard.html | 92 ++++++---- .../Common/html/ui/core/popup.cronwizard.js | 45 ++--- 8 files changed, 250 insertions(+), 178 deletions(-) diff --git a/BaseFiles/Common/html/css/my.css b/BaseFiles/Common/html/css/my.css index aaf292825..998728ef8 100644 --- a/BaseFiles/Common/html/css/my.css +++ b/BaseFiles/Common/html/css/my.css @@ -192,22 +192,6 @@ div[data-ui-field="wallpaper"] { margin-left: 4px; } -.cronwiz-container .CodeMirror-code span { - font-family: Courier New, Courier, monospace !important; - font-size: 10pt !important; - white-space: pre; - line-height: 11pt; -} - -.cronwiz-container .CodeMirror-linenumber { - font-size: 9pt; - font-family: Courier New, Courier, monospace !important; -} - -.cronwiz-container .CodeMirror-scroll { - overflow-x: auto; -} - #systemsettings_browserepo div[data-ui-field="description_text"] pre { margin-left: 8px; border-left: solid 2px gray; @@ -698,7 +682,6 @@ div.ui-page-theme-a div.ui-body-inherit img.auto-invert, div.ui-bar-inherit img. } .hg-scheduler-table-row { - margin-left: -20px; } #module_programs_featurelist { @@ -817,6 +800,11 @@ div.ui-page-theme-a .ui-icon-microphone:after { display: none; } +/*** jQuery Mobile overrides ***/ +.ui-header .ui-title, .ui-footer .ui-title { + margin: 0 2%; +} + /**** media queries ****/ /** Small Mobile **/ diff --git a/BaseFiles/Common/html/index.html b/BaseFiles/Common/html/index.html index d6a400460..c800aac5c 100644 --- a/BaseFiles/Common/html/index.html +++ b/BaseFiles/Common/html/index.html @@ -67,8 +67,8 @@ - - + + @@ -77,7 +77,7 @@ - + @@ -97,15 +97,15 @@ - - + + - + - - + +