2021-11-13 15:49:51 +01:00
|
|
|
<template>
|
2021-11-20 12:18:45 +01:00
|
|
|
<div class="ids fill-height">
|
2021-11-14 23:53:08 +01:00
|
|
|
<AboutDialog ref="ad" />
|
2021-11-14 17:36:06 +01:00
|
|
|
<v-app-bar
|
|
|
|
app
|
2021-11-20 12:18:45 +01:00
|
|
|
color="primary"
|
2021-11-14 17:36:06 +01:00
|
|
|
dark
|
|
|
|
>
|
|
|
|
<v-img
|
|
|
|
alt="Logo"
|
|
|
|
class="shrink mr-2"
|
|
|
|
contain
|
2021-11-14 23:53:08 +01:00
|
|
|
src="@/assets/sissy.png"
|
2021-11-14 17:36:06 +01:00
|
|
|
transition="scale-transition"
|
|
|
|
width="40"
|
2021-11-14 23:53:08 +01:00
|
|
|
@click.stop="$refs.ad.showAbout()"
|
2021-11-14 17:36:06 +01:00
|
|
|
/>
|
|
|
|
|
|
|
|
<v-spacer></v-spacer>
|
|
|
|
|
2021-11-20 12:18:45 +01:00
|
|
|
<v-tabs
|
|
|
|
v-model="aktuelleSeite"
|
|
|
|
>
|
2021-11-14 17:36:06 +01:00
|
|
|
<v-tab
|
2021-11-20 12:18:45 +01:00
|
|
|
v-for="seite in seiten"
|
|
|
|
:key="seite"
|
2021-11-14 17:36:06 +01:00
|
|
|
>
|
2021-11-20 12:18:45 +01:00
|
|
|
{{ seite }}
|
2021-11-14 17:36:06 +01:00
|
|
|
</v-tab>
|
|
|
|
</v-tabs>
|
2021-11-13 15:49:51 +01:00
|
|
|
|
|
|
|
</v-app-bar>
|
2021-11-14 17:36:06 +01:00
|
|
|
|
2021-11-20 12:18:45 +01:00
|
|
|
<v-main class="fill-height">
|
|
|
|
<v-tabs-items v-model="aktuelleSeite" class="fill-height grey lighten-3">
|
|
|
|
<v-tab-item
|
|
|
|
key="0"
|
|
|
|
fluid
|
|
|
|
>
|
|
|
|
<v-row dense>
|
2021-11-14 17:36:06 +01:00
|
|
|
|
2021-11-20 12:18:45 +01:00
|
|
|
<v-col
|
|
|
|
cols="8"
|
2021-11-14 17:36:06 +01:00
|
|
|
>
|
2021-11-20 12:18:45 +01:00
|
|
|
<v-sheet
|
|
|
|
min-height="70vh"
|
|
|
|
rounded="lg"
|
|
|
|
elevation="2"
|
|
|
|
>
|
|
|
|
<Vertretungsplan
|
|
|
|
ref="vp"
|
|
|
|
vpUrl="/stundenplan/proxy.php?file=G014"
|
|
|
|
paUrl="/stundenplan/proxy.php?file=G009"
|
|
|
|
/>
|
|
|
|
</v-sheet>
|
|
|
|
</v-col>
|
2021-11-14 17:36:06 +01:00
|
|
|
|
2021-11-20 12:18:45 +01:00
|
|
|
<v-col
|
|
|
|
cols="4"
|
2021-11-14 17:36:06 +01:00
|
|
|
>
|
2021-11-20 12:18:45 +01:00
|
|
|
<v-sheet
|
|
|
|
rounded="lg"
|
|
|
|
min-height="268"
|
|
|
|
elevation="2"
|
|
|
|
>
|
|
|
|
<Newsreader
|
|
|
|
ref="nr"
|
|
|
|
:feedUrls="['/stundenplan/proxy.php?file=rsslul', '/stundenplan/proxy.php?file=rsssul']"
|
|
|
|
/>
|
|
|
|
</v-sheet>
|
|
|
|
<!--
|
|
|
|
<v-sheet
|
|
|
|
rounded="lg"
|
|
|
|
min-height="268"
|
|
|
|
elevation="2"
|
|
|
|
>
|
|
|
|
|
|
|
|
</v-sheet> -->
|
|
|
|
</v-col>
|
|
|
|
</v-row>
|
|
|
|
</v-tab-item>
|
|
|
|
<v-tab-item
|
|
|
|
key="1"
|
|
|
|
fluid
|
|
|
|
>
|
|
|
|
<Plaene ref="p" />
|
|
|
|
</v-tab-item>
|
|
|
|
</v-tabs-items>
|
2021-11-14 17:36:06 +01:00
|
|
|
|
2021-11-20 12:18:45 +01:00
|
|
|
|
2021-11-13 15:49:51 +01:00
|
|
|
</v-main>
|
2021-11-14 17:36:06 +01:00
|
|
|
</div>
|
2021-11-13 15:49:51 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2021-11-14 17:36:06 +01:00
|
|
|
import Newsreader from '@/components/Newsreader'
|
|
|
|
import Vertretungsplan from '@/components/Vertretungsplan'
|
2021-11-14 23:53:08 +01:00
|
|
|
import AboutDialog from '@/components/AboutDialog'
|
2021-11-20 12:18:45 +01:00
|
|
|
import Plaene from '@/views/Plaene'
|
2021-11-14 17:36:06 +01:00
|
|
|
|
2021-11-13 15:49:51 +01:00
|
|
|
export default {
|
|
|
|
name: 'InfodisplayLehrer',
|
2021-11-14 17:36:06 +01:00
|
|
|
|
|
|
|
data: () => ({
|
2021-11-20 12:18:45 +01:00
|
|
|
seiten: [
|
2021-11-14 17:36:06 +01:00
|
|
|
'Vertretungsplan',
|
2021-11-20 12:18:45 +01:00
|
|
|
'Pläne',
|
2021-11-14 17:36:06 +01:00
|
|
|
],
|
2021-11-20 12:18:45 +01:00
|
|
|
aktuelleSeite: 0,
|
2021-11-14 23:02:47 +01:00
|
|
|
reloadTime: 600000
|
2021-11-14 17:36:06 +01:00
|
|
|
}),
|
|
|
|
|
|
|
|
components: {
|
|
|
|
Newsreader,
|
2021-11-14 23:53:08 +01:00
|
|
|
Vertretungsplan,
|
2021-11-20 12:18:45 +01:00
|
|
|
AboutDialog,
|
|
|
|
Plaene
|
2021-11-14 17:36:06 +01:00
|
|
|
},
|
|
|
|
|
2021-11-14 23:02:47 +01:00
|
|
|
created() {
|
|
|
|
setTimeout(this.onTimeout, this.reloadTime)
|
|
|
|
},
|
|
|
|
|
|
|
|
methods: {
|
|
|
|
onTimeout () {
|
|
|
|
// Reload-Event einrichten
|
|
|
|
this.$refs.nr.reload()
|
|
|
|
this.$refs.vp.reload()
|
2021-11-20 12:18:45 +01:00
|
|
|
this.$refs.p.reload()
|
2021-11-14 23:02:47 +01:00
|
|
|
setTimeout(this.onTimeout, this.reloadTime)
|
|
|
|
}
|
|
|
|
}
|
2021-11-13 15:49:51 +01:00
|
|
|
}
|
2021-11-14 17:36:06 +01:00
|
|
|
</script>
|