From 410946b3c55f5b1b3a8e5f1056504caebca37ee1 Mon Sep 17 00:00:00 2001 From: Christian Hofmaier Date: Thu, 11 Oct 2018 15:29:03 +0200 Subject: [locationinfo] apply design guidelines / table styling - move buttons to the right hand side - use modals for confirmation check - table styling/adjustment -- add missing headers -- remove text from buttons in table -- center buttons / header-text - improve language-tags --- .../locationinfo/lang/de/template-tags.json | 3 +- .../locationinfo/lang/en/template-tags.json | 3 +- .../templates/page-config-panel-summary.html | 13 ++- .../templates/page-config-panel-url.html | 7 +- .../locationinfo/templates/page-locations.html | 6 +- .../locationinfo/templates/page-panels.html | 49 +++++++--- .../locationinfo/templates/page-servers.html | 101 ++++++++++++--------- 7 files changed, 114 insertions(+), 68 deletions(-) (limited to 'modules-available/locationinfo') diff --git a/modules-available/locationinfo/lang/de/template-tags.json b/modules-available/locationinfo/lang/de/template-tags.json index b51c420b..7862297c 100644 --- a/modules-available/locationinfo/lang/de/template-tags.json +++ b/modules-available/locationinfo/lang/de/template-tags.json @@ -42,6 +42,7 @@ "lang_locations": "Orte", "lang_locationsTable": "R\u00e4ume \/ Orte", "lang_locationsTableHints": "Hier k\u00f6nnen Sie f\u00fcr die R\u00e4ume und Orte Ihrer Einrichtung \u00d6ffnungszeiten hinterlegen, sowie die Verkn\u00fcpfung mit Raum-IDs aus konfigurierten Backends (z.B. HISinOne) vornehmen, damit Belegungspl\u00e4ne abgerufen werden k\u00f6nnen.", + "lang_locsHint": "Hier k\u00f6nnen Sie die Orte ausw\u00e4hlen, die in diesem Panel angezeigt werden.", "lang_longFri": "Freitag", "lang_longMon": "Montag", "lang_longSat": "Samstag", @@ -57,7 +58,7 @@ "lang_modeTooltip": "Die Anzeigemodi, welche das Frontend unterst\u00fctzt", "lang_monTilFr": "Montag - Freitag", "lang_nameTooltip": "Legt den Namen des Servers fest", - "lang_noLocationsWarning": "Sie haben keine Orte f\u00fcr dieses Panel ausgew\u00e4hlt", + "lang_noLocationsWarning": "Bitte w\u00e4hlen Sie mindestens einen Ort aus, der vom Panel angezeigt werden soll.", "lang_noServer": "", "lang_openingTime": "\u00d6ffnungszeit", "lang_openingtimes": "\u00d6ffnungszeiten", diff --git a/modules-available/locationinfo/lang/en/template-tags.json b/modules-available/locationinfo/lang/en/template-tags.json index f041dc0a..2a191379 100644 --- a/modules-available/locationinfo/lang/en/template-tags.json +++ b/modules-available/locationinfo/lang/en/template-tags.json @@ -42,6 +42,7 @@ "lang_locations": "Locations", "lang_locationsTable": "Rooms \/ Locations", "lang_locationsTableHints": "Here you can define opening times for your locations and link the location ID to a configured backend (e.g. HISinOne) to show calendar events.", + "lang_locsHint": "You can pick up the locations that will be shown in this panel.", "lang_longFri": "Friday", "lang_longMon": "Monday", "lang_longSat": "Saturday", @@ -57,7 +58,7 @@ "lang_modeTooltip": "The display modes the frontend supports", "lang_monTilFr": "Monday - Friday", "lang_nameTooltip": "Defines the name of the server", - "lang_noLocationsWarning": "Please select at least one location this panel should display", + "lang_noLocationsWarning": "Please select at least one location this panel should display.", "lang_noServer": "", "lang_openingTime": "Opening time", "lang_openingtimes": "Opening times", diff --git a/modules-available/locationinfo/templates/page-config-panel-summary.html b/modules-available/locationinfo/templates/page-config-panel-summary.html index 7f145916..11f0dc65 100644 --- a/modules-available/locationinfo/templates/page-config-panel-summary.html +++ b/modules-available/locationinfo/templates/page-config-panel-summary.html @@ -101,7 +101,7 @@
{{lang_locations}}
-

{{lang_fourLocsHint}}

+

{{lang_locsHint}}

@@ -122,8 +122,10 @@
- {{lang_cancel}} - +
+ {{lang_cancel}} + +
- - {{lang_cancel}} - +
+ {{lang_cancel}} + +