Compare commits
No commits in common. "5a274de64f66528ef2d7ae5c1e2c72eb2ee9b448" and "8dac502da57b2a24b65b2e1cca94dd5abc6821b8" have entirely different histories.
5a274de64f
...
8dac502da5
4 changed files with 17 additions and 14 deletions
|
|
@ -11,8 +11,8 @@ export default class Clock extends Vue {
|
||||||
private formatted = "";
|
private formatted = "";
|
||||||
private interval?: number;
|
private interval?: number;
|
||||||
|
|
||||||
@Prop({ required: true })
|
@Prop()
|
||||||
private readonly format!: string;
|
public format!: string;
|
||||||
|
|
||||||
private update(): void {
|
private update(): void {
|
||||||
this.formatted = DateTime.now()
|
this.formatted = DateTime.now()
|
||||||
|
|
@ -30,3 +30,6 @@ export default class Clock extends Vue {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
</style>
|
||||||
|
|
@ -23,11 +23,11 @@ import { Component, Prop, Vue } from "vue-property-decorator";
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
export default class THWLogo extends Vue {
|
export default class THWLogo extends Vue {
|
||||||
@Prop({ required: true })
|
@Prop()
|
||||||
private readonly above!: string;
|
public above!: string;
|
||||||
|
|
||||||
@Prop({ required: true })
|
@Prop()
|
||||||
private readonly below!: string;
|
public below!: string;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -52,4 +52,4 @@ div.flex-column > span:last-child {
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
line-height: 15px;
|
line-height: 15px;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -15,8 +15,8 @@ import { Component, Prop, Vue } from "vue-property-decorator";
|
||||||
|
|
||||||
@Component
|
@Component
|
||||||
export default class TickerBar extends Vue {
|
export default class TickerBar extends Vue {
|
||||||
@Prop({ required: true })
|
@Prop()
|
||||||
private readonly content!: string;
|
public content!: string;
|
||||||
|
|
||||||
get marqueeDuration(): string {
|
get marqueeDuration(): string {
|
||||||
// 10 seconds + another second per 7 chars
|
// 10 seconds + another second per 7 chars
|
||||||
|
|
@ -55,4 +55,4 @@ export default class TickerBar extends Vue {
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
@ -41,17 +41,17 @@ export default class TitleBar extends Vue {
|
||||||
@Prop({
|
@Prop({
|
||||||
default: "Technisches Hilfswerk",
|
default: "Technisches Hilfswerk",
|
||||||
})
|
})
|
||||||
private readonly logo_above!: string;
|
public logo_above!: string;
|
||||||
|
|
||||||
@Prop({
|
@Prop({
|
||||||
default: "OV Musterstadt",
|
default: "OV Musterstadt",
|
||||||
})
|
})
|
||||||
private readonly logo_below!: string;
|
public logo_below!: string;
|
||||||
|
|
||||||
@Prop({
|
@Prop({
|
||||||
default: "TITLE",
|
default: "TITLE",
|
||||||
})
|
})
|
||||||
private readonly title!: string;
|
public title!: string;
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
@ -64,4 +64,4 @@ export default class TitleBar extends Vue {
|
||||||
.container > div:last-child {
|
.container > div:last-child {
|
||||||
max-width: 0;
|
max-width: 0;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
Loading…
Reference in a new issue