From 18057dbfbb03212bb738d2beed3156b21b436f2d Mon Sep 17 00:00:00 2001 From: Julien Veyssier Date: Thu, 20 Aug 2020 10:08:30 +0200 Subject: add attributions and warning for external services in modal, sort statuses Signed-off-by: Julien Veyssier --- apps/dashboard/src/App.vue | 32 +++++++++++++++++++++++++++++++- 1 file changed, 31 insertions(+), 1 deletion(-) (limited to 'apps/dashboard/src/App.vue') diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue index 62035a6a603..7b374065088 100644 --- a/apps/dashboard/src/App.vue +++ b/apps/dashboard/src/App.vue @@ -2,7 +2,7 @@

{{ greeting.text }}

    -
    @@ -59,6 +59,14 @@

    {{ t('dashboard', 'Change background image') }}

    + +

    {{ t('dashboard', 'Weather service') }}

    +

    + {{ t('dashboard', 'For your privacy, the weather data is requested by your Nextcloud server on your behalf so the weather service receives no personal information.') }} +

    +

    + {{ t('dashboard', 'Weather data from Met.no') }}, {{ t('dashboard', 'geocoding with Nominatim') }}, {{ t('dashboard', 'elevation data from OpenTopoData') }}. +

    @@ -164,6 +172,9 @@ export default { return indexA - indexB || a.id - b.id }) }, + sortedRegisteredStatus() { + return this.registeredStatus.slice().sort((a, b) => a > b) + }, }, watch: { callbacks() { @@ -494,6 +505,25 @@ export default { padding: 12px 24px; margin: 0; } + + p { + max-width: 650px; + margin: 0 auto; + + a:hover, + a:focus { + border-bottom: 2px solid var(--color-border); + } + } + + .credits--end { + padding-bottom: 32px; + color: var(--color-text-maxcontrast); + + a { + color: var(--color-text-maxcontrast); + } + } } .flip-list-move { -- cgit v1.2.3