2022-09-09 22:41:50 +00:00
|
|
|
<template>
|
2022-09-12 11:36:46 +00:00
|
|
|
<v-toolbar color="primary" prominent dark>
|
2022-09-11 22:24:48 +00:00
|
|
|
<v-container class="d-flex pa-0" fluid fill-height>
|
2022-09-12 11:36:46 +00:00
|
|
|
<div class="d-flex justify-start text-left text-no-wrap">
|
2022-09-12 11:48:45 +00:00
|
|
|
<THWLogo :above="logo_above" :below="logo_below" />
|
2022-09-12 10:47:44 +00:00
|
|
|
</div>
|
2022-09-09 22:41:50 +00:00
|
|
|
|
2022-09-12 13:02:03 +00:00
|
|
|
<div
|
|
|
|
|
class="d-flex justify-center text-center mx-auto text-h6 text-md-h5"
|
|
|
|
|
v-html="title"
|
|
|
|
|
/>
|
2022-09-10 13:11:48 +00:00
|
|
|
|
2022-09-12 11:36:46 +00:00
|
|
|
<div class="d-none d-sm-flex justify-end text-right text-no-wrap">
|
2022-09-10 13:11:48 +00:00
|
|
|
<div class="flex-column">
|
2022-09-11 22:59:44 +00:00
|
|
|
<Clock
|
2022-09-11 23:28:37 +00:00
|
|
|
class="d-flex justify-end font-weight-light text-h6 text-md-h5"
|
2022-09-11 22:59:44 +00:00
|
|
|
format="DDD"
|
|
|
|
|
/>
|
|
|
|
|
<Clock
|
2022-09-11 23:28:37 +00:00
|
|
|
class="d-flex justify-end font-weight-bold text-h5 text-md-h4"
|
2022-09-11 22:59:44 +00:00
|
|
|
format="T"
|
|
|
|
|
/>
|
2022-09-10 13:11:48 +00:00
|
|
|
</div>
|
2022-09-11 22:24:48 +00:00
|
|
|
</div>
|
|
|
|
|
</v-container>
|
2022-09-10 02:11:36 +00:00
|
|
|
</v-toolbar>
|
2022-09-09 22:41:50 +00:00
|
|
|
</template>
|
|
|
|
|
|
2022-09-11 23:28:37 +00:00
|
|
|
<script lang="ts">
|
2022-09-12 11:48:45 +00:00
|
|
|
import { Component, Prop, Vue } from "vue-property-decorator";
|
2022-09-10 02:19:45 +00:00
|
|
|
import Clock from "./Clock.vue";
|
2022-09-12 10:47:44 +00:00
|
|
|
import THWLogo from "./THWLogo.vue";
|
2022-09-09 22:41:50 +00:00
|
|
|
|
2022-09-09 23:14:03 +00:00
|
|
|
@Component({
|
2022-09-09 22:41:50 +00:00
|
|
|
components: {
|
2022-09-10 02:19:45 +00:00
|
|
|
Clock,
|
2022-09-12 10:47:44 +00:00
|
|
|
THWLogo,
|
2022-09-09 22:41:50 +00:00
|
|
|
},
|
2022-09-09 23:14:03 +00:00
|
|
|
})
|
2022-09-12 11:48:45 +00:00
|
|
|
export default class TitleBar extends Vue {
|
|
|
|
|
@Prop({
|
|
|
|
|
default: "Technisches Hilfswerk",
|
|
|
|
|
})
|
2022-09-12 22:37:55 +00:00
|
|
|
private readonly logo_above!: string;
|
2022-09-12 11:48:45 +00:00
|
|
|
|
|
|
|
|
@Prop({
|
|
|
|
|
default: "OV Musterstadt",
|
|
|
|
|
})
|
2022-09-12 22:37:55 +00:00
|
|
|
private readonly logo_below!: string;
|
2022-09-12 13:02:03 +00:00
|
|
|
|
|
|
|
|
@Prop({
|
|
|
|
|
default: "TITLE",
|
|
|
|
|
})
|
2022-09-12 22:37:55 +00:00
|
|
|
private readonly title!: string;
|
2022-09-12 11:48:45 +00:00
|
|
|
}
|
2022-09-09 22:41:50 +00:00
|
|
|
</script>
|
|
|
|
|
|
2022-09-12 00:39:19 +00:00
|
|
|
<style scoped>
|
2022-09-12 11:36:46 +00:00
|
|
|
.v-toolbar {
|
|
|
|
|
user-select: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container > div:first-child,
|
|
|
|
|
.container > div:last-child {
|
2022-09-11 22:24:48 +00:00
|
|
|
max-width: 0;
|
|
|
|
|
}
|
2022-09-12 22:35:58 +00:00
|
|
|
</style>
|