ovdashboard/ui/src/App.vue

44 lines
1 KiB
Vue
Raw Normal View History

2022-09-09 16:23:04 +00:00
<template>
2022-09-09 16:38:12 +00:00
<v-app>
<v-main>
2022-09-13 15:46:54 +00:00
<TitleBar
:logo_above="logo_above"
:logo_below="logo_below"
:title="title_html"
/>
2022-09-13 21:30:20 +00:00
<Dashboard :message="message_html">
<Calendar />
</Dashboard>
2022-09-09 16:38:12 +00:00
</v-main>
2022-09-13 02:24:23 +00:00
<TickerBar
v-if="ticker_html !== ''"
:content="ticker_html"
color="primary"
/>
2022-09-09 16:38:12 +00:00
</v-app>
2022-09-09 16:23:04 +00:00
</template>
<script lang="ts">
2022-09-11 23:28:37 +00:00
import { Component, Vue } from "vue-property-decorator";
2022-09-14 23:05:34 +00:00
import Calendar from "./components/calendar/Calendar.vue";
2022-09-13 01:54:02 +00:00
import Dashboard from "./components/Dashboard.vue";
2022-09-15 00:11:22 +00:00
import TitleBar from "./components/title_bar/TitleBar.vue";
2022-09-12 13:01:58 +00:00
import TickerBar from "./components/TickerBar.vue";
2022-09-09 16:23:04 +00:00
2022-09-11 23:28:37 +00:00
@Component({
2022-09-09 16:23:04 +00:00
components: {
2022-09-13 21:30:20 +00:00
Calendar,
2022-09-13 01:54:02 +00:00
Dashboard,
2022-09-09 22:41:50 +00:00
TitleBar,
2022-09-12 13:01:58 +00:00
TickerBar,
2022-09-09 16:23:04 +00:00
},
2022-09-11 23:28:37 +00:00
})
export default class App extends Vue {
2022-09-13 15:46:54 +00:00
private logo_above = "Technisches Hilfswerk";
private logo_below = "OV Musterstadt";
2022-09-11 23:28:37 +00:00
private title_html = "<h1>changeme</h1>";
2022-09-12 13:01:58 +00:00
private ticker_html = "<p>changeme</p>";
2022-09-13 01:54:02 +00:00
private message_html = "<p>changeme</p>";
2022-09-11 23:28:37 +00:00
}
2022-09-09 16:38:12 +00:00
</script>