diff --git a/index.html b/index.html
index bce1829..ca58a88 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
- Timetable V2
+ Timetable V2 Demo
diff --git a/src/App.vue b/src/App.vue
index a814b81..e29fc58 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -50,6 +50,7 @@ const isDataView = computed(() => route.meta.dataView || false);
v-show="isDataView"
/>
+ {{ $t("demoNotice") }}
@@ -95,7 +96,7 @@ main {
height: 100%;
overflow: hidden;
display: grid;
- grid-template-rows: 1fr;
+ grid-template-rows: auto 1fr;
}
@@ -110,4 +111,9 @@ main {
.wrapper {
overflow: hidden;
}
+
+.demoNotice {
+ padding: 15px 15px;
+ font-style: italic;
+}
diff --git a/src/strings.js b/src/strings.js
index 585a0f1..c13a2c8 100644
--- a/src/strings.js
+++ b/src/strings.js
@@ -1,5 +1,7 @@
export const strings = {
en: {
+ demoNotice:
+ "This is a demo instance of Timetable V2. The displayed data is entirely fictional.",
title: {
timetable: "Timetable",
substitutions: "Substitutions",
@@ -133,6 +135,8 @@ export const strings = {
},
},
de: {
+ demoNotice:
+ "Dies ist eine Demo-Instanz von Timetable V2. Die angezeigten Daten sind nicht echt.",
title: {
timetable: "Stundenplan",
substitutions: "Vertretungsplan",
diff --git a/src/views/SettingsView.vue b/src/views/SettingsView.vue
index df16128..82c4ee9 100644
--- a/src/views/SettingsView.vue
+++ b/src/views/SettingsView.vue
@@ -81,7 +81,7 @@ import {