From 4e4d64f2bc6bc041d5c6d7e7de764c2cf991265e Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Mon, 2 Nov 2020 15:03:46 +0100 Subject: [locationinfo] remove tooltip buttons and use direct text --- modules-available/locationinfo/style.css | 4 + .../templates/page-config-panel-default.html | 163 ++++++++------------- .../templates/page-config-panel-summary.html | 60 +++----- .../templates/page-config-panel-url.html | 90 +++++------- 4 files changed, 128 insertions(+), 189 deletions(-) diff --git a/modules-available/locationinfo/style.css b/modules-available/locationinfo/style.css index b5fffe75..ec6b3dd0 100644 --- a/modules-available/locationinfo/style.css +++ b/modules-available/locationinfo/style.css @@ -8,3 +8,7 @@ -webkit-box-shadow: inset 0 0 0px white; box-shadow: inset 0 0 0px white; } +.spacebottop { + margin-bottom: 0.3em; + margin-top: 0.5em; +} diff --git a/modules-available/locationinfo/templates/page-config-panel-default.html b/modules-available/locationinfo/templates/page-config-panel-default.html index 76e1f4a7..29fd0f16 100644 --- a/modules-available/locationinfo/templates/page-config-panel-default.html +++ b/modules-available/locationinfo/templates/page-config-panel-default.html @@ -25,102 +25,90 @@
-
+
-
+
-
-

- -

+
+ {{lang_displayNameTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_languageTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_ecoTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_prettytimeTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_calupdateTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_roomupdateTooltip}}
@@ -136,10 +124,10 @@
-
+
-
+
-
-

- -

+
+ {{lang_modeTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_roomplannerTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_verticalTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_startDayTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_autoscaleTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_daysToShowTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_rotationTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_hostnameTooltip}}
-
+
-
+
 %
-
-

- -

+
+ {{lang_scaleTooltip}}
-
+
-
+
 {{lang_sec}}
-
-

- -

+
+ {{lang_switchTimeTooltip}}
@@ -400,9 +368,6 @@ document.addEventListener("DOMContentLoaded", function () { var $owPanels = $('#overrideRoomConfigs'); var overrides = {{{overrides}}} - // Initialize fancy tooltips - $('p.helptext').tooltip(); - // Add listener to range sliders so their label can be updated var $range = $('input[type="range"]'); $range.change(function () { diff --git a/modules-available/locationinfo/templates/page-config-panel-summary.html b/modules-available/locationinfo/templates/page-config-panel-summary.html index 2dc556ce..2d26ad39 100644 --- a/modules-available/locationinfo/templates/page-config-panel-summary.html +++ b/modules-available/locationinfo/templates/page-config-panel-summary.html @@ -21,87 +21,77 @@
-
+
-
+
-
-

- -

+
+ {{lang_displayNameTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_languageTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_ecoTooltip}}
-
+
-
+
-
-

- -

+
+ {{lang_roomplannerTooltip}}