feat: change name and add demo notice
This commit is contained in:
@ -3,7 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Timetable V2</title>
|
<title>Timetable V2 Demo</title>
|
||||||
<meta name="description" content="Timetable and Substitution plan viewer" />
|
<meta name="description" content="Timetable and Substitution plan viewer" />
|
||||||
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" />
|
||||||
<link rel="mask-icon" href="/favicon.svg" color="#212121" />
|
<link rel="mask-icon" href="/favicon.svg" color="#212121" />
|
||||||
|
@ -50,6 +50,7 @@ const isDataView = computed(() => route.meta.dataView || false);
|
|||||||
v-show="isDataView"
|
v-show="isDataView"
|
||||||
/>
|
/>
|
||||||
<main>
|
<main>
|
||||||
|
<div class="demoNotice">{{ $t("demoNotice") }}</div>
|
||||||
<div class="wrapper">
|
<div class="wrapper">
|
||||||
<RouterView />
|
<RouterView />
|
||||||
</div>
|
</div>
|
||||||
@ -95,7 +96,7 @@ main {
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-rows: 1fr;
|
grid-template-rows: auto 1fr;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
@ -110,4 +111,9 @@ main {
|
|||||||
.wrapper {
|
.wrapper {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.demoNotice {
|
||||||
|
padding: 15px 15px;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
export const strings = {
|
export const strings = {
|
||||||
en: {
|
en: {
|
||||||
|
demoNotice:
|
||||||
|
"This is a demo instance of Timetable V2. The displayed data is entirely fictional.",
|
||||||
title: {
|
title: {
|
||||||
timetable: "Timetable",
|
timetable: "Timetable",
|
||||||
substitutions: "Substitutions",
|
substitutions: "Substitutions",
|
||||||
@ -133,6 +135,8 @@ export const strings = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
de: {
|
de: {
|
||||||
|
demoNotice:
|
||||||
|
"Dies ist eine Demo-Instanz von Timetable V2. Die angezeigten Daten sind nicht echt.",
|
||||||
title: {
|
title: {
|
||||||
timetable: "Stundenplan",
|
timetable: "Stundenplan",
|
||||||
substitutions: "Vertretungsplan",
|
substitutions: "Vertretungsplan",
|
||||||
|
@ -81,7 +81,7 @@ import {
|
|||||||
|
|
||||||
<style scoped>
|
<style scoped>
|
||||||
.settings {
|
.settings {
|
||||||
padding: 20px 10px 0px 10px;
|
padding: 0px 10px 0px 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.wrapper {
|
.wrapper {
|
||||||
|
@ -27,8 +27,8 @@ export default defineConfig({
|
|||||||
],
|
],
|
||||||
registerType: "autoUpdate",
|
registerType: "autoUpdate",
|
||||||
manifest: {
|
manifest: {
|
||||||
name: "Timetable V2",
|
name: "Timetable V2 Demo",
|
||||||
short_name: "Timetable",
|
short_name: "Timetable Demo",
|
||||||
description: "Timetable and Substitution plan viewer",
|
description: "Timetable and Substitution plan viewer",
|
||||||
theme_color: "#212121",
|
theme_color: "#212121",
|
||||||
background_color: "#353535",
|
background_color: "#353535",
|
||||||
@ -61,15 +61,5 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: 3001,
|
port: 3001,
|
||||||
proxy: {
|
|
||||||
"/api": {
|
|
||||||
target: "http://localhost:3000",
|
|
||||||
changeOrigin: true,
|
|
||||||
},
|
|
||||||
"/auth": {
|
|
||||||
target: "http://localhost:3000",
|
|
||||||
changeOrigin: true,
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user