diff --git a/src/components/PlanPausen.vue b/src/components/PlanPausen.vue new file mode 100644 index 0000000..22d3ffb --- /dev/null +++ b/src/components/PlanPausen.vue @@ -0,0 +1,185 @@ + + + + Lehrkraft hervorheben + + + + + + + + + {{ tag }} + + + + + + + + + {{ pause }} + + + + + + + {{ ort }} + + + {{ gibAufsicht(tagID, pause2ID, ort) }} + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/components/Vertretungsplan.vue b/src/components/Vertretungsplan.vue index 8f841d3..90d705a 100644 --- a/src/components/Vertretungsplan.vue +++ b/src/components/Vertretungsplan.vue @@ -11,6 +11,7 @@ sort-by="stunde" group-by="lehrkraft_vertretung" flat + rounded hide-default-footer :expanded.sync="expanded" :single-expand="true" @@ -145,6 +146,7 @@ export default { vp: [], pa: [], zeitraster: new Zeitraster(), + // Felddefinitionen für die Datatable headers: [ { text: 'Datum', @@ -327,9 +329,3 @@ export default { } - \ No newline at end of file diff --git a/src/plugins/vuetify.js b/src/plugins/vuetify.js index 7307811..08a7d18 100644 --- a/src/plugins/vuetify.js +++ b/src/plugins/vuetify.js @@ -1,6 +1,7 @@ import '@mdi/font/css/materialdesignicons.css' // Ensure you are using css-loader import Vue from 'vue'; import Vuetify from 'vuetify/lib/framework'; +import colors from 'vuetify/lib/util/colors'; Vue.use(Vuetify); @@ -8,4 +9,15 @@ export default new Vuetify({ icons: { iconfont: 'mdi' }, + theme: { + dark: false, + themes: { + light: { + + primary: colors.indigo, + + 'primary--text': colors.white + } + } + } }); diff --git a/src/views/InfodisplayLehrer.vue b/src/views/InfodisplayLehrer.vue index 9c4737e..f6d8c68 100644 --- a/src/views/InfodisplayLehrer.vue +++ b/src/views/InfodisplayLehrer.vue @@ -1,9 +1,9 @@ - + - + - {{ link }} + {{ seite }} - - - + + + + - - - - - + + + + - - - - - - - - + --> + + + + + + + + + @@ -81,22 +96,25 @@ import Newsreader from '@/components/Newsreader' import Vertretungsplan from '@/components/Vertretungsplan' import AboutDialog from '@/components/AboutDialog' +import Plaene from '@/views/Plaene' export default { name: 'InfodisplayLehrer', data: () => ({ - links: [ + seiten: [ 'Vertretungsplan', - 'Stundenpläne' + 'Pläne', ], + aktuelleSeite: 0, reloadTime: 600000 }), components: { Newsreader, Vertretungsplan, - AboutDialog + AboutDialog, + Plaene }, created() { @@ -108,6 +126,7 @@ export default { // Reload-Event einrichten this.$refs.nr.reload() this.$refs.vp.reload() + this.$refs.p.reload() setTimeout(this.onTimeout, this.reloadTime) } } diff --git a/src/views/Plaene.vue b/src/views/Plaene.vue new file mode 100644 index 0000000..45110e3 --- /dev/null +++ b/src/views/Plaene.vue @@ -0,0 +1,80 @@ + + + + + + {{ plan }} + + + + + + + + y + + + z + + + z + + + + + + + + +