Commit 0c0af4b8 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

META: change button styles & add modal scaffold for scheduling

parent d427123c
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<b-button <b-button
v-if="$parent.user.steeringUser.is_superuser" v-if="$parent.user.steeringUser.is_superuser"
v-b-popover.hover.top="'Add a new show'" v-b-popover.hover.top="'Add a new show'"
variant="info"
@click="$refs.appModalSuperuser.showModalAddShow()" @click="$refs.appModalSuperuser.showModalAddShow()"
> >
+ +
...@@ -18,7 +19,7 @@ ...@@ -18,7 +19,7 @@
<b-dropdown <b-dropdown
id="ddshows" id="ddshows"
text="Sendereihe auswählen" text="Sendereihe auswählen"
variant="info" variant="outline-info"
> >
<b-dropdown-item <b-dropdown-item
v-for="(show, index) in shows" v-for="(show, index) in shows"
...@@ -79,6 +80,7 @@ ...@@ -79,6 +80,7 @@
<b-button <b-button
v-if="$parent.user.steeringUser.is_superuser" v-if="$parent.user.steeringUser.is_superuser"
variant="danger" variant="danger"
size="sm"
@click="$refs.appModalSuperuser.showModalDeleteShow(shows[currentShow].id, shows[currentShow].name)" @click="$refs.appModalSuperuser.showModalDeleteShow(shows[currentShow].id, shows[currentShow].name)"
> >
Delete show Delete show
...@@ -113,6 +115,9 @@ ...@@ -113,6 +115,9 @@
<app-modalSuperuser <app-modalSuperuser
ref="appModalSuperuser" ref="appModalSuperuser"
/> />
<app-modalSchedules
ref="appModalSchedules"
/>
<!-- here are the filter settings for our timeslots table --> <!-- here are the filter settings for our timeslots table -->
<b-card> <b-card>
...@@ -271,6 +276,16 @@ ...@@ -271,6 +276,16 @@
</div> </div>
</div> </div>
<div align="center">
<b-button
v-if="$parent.user.steeringUser.is_superuser"
variant="info"
@click="$refs.appModalSchedules.open(shows[currentShow])"
>
Add/delete emissions
</b-button>
</div>
<hr> <hr>
<h2>Allgemeine Einstellungen zur Sendereihe:</h2> <h2>Allgemeine Einstellungen zur Sendereihe:</h2>
...@@ -682,6 +697,7 @@ ...@@ -682,6 +697,7 @@
import modalNotes from './ShowManagerModalNotes.vue' import modalNotes from './ShowManagerModalNotes.vue'
import modalShow from './ShowManagerModalShow.vue' import modalShow from './ShowManagerModalShow.vue'
import modalSuperuser from './ShowManagerModalSuperuser.vue' import modalSuperuser from './ShowManagerModalSuperuser.vue'
import modalSchedules from './ShowManagerModalSchedules.vue'
import timeslotSort from '../mixins/timeslotSort' import timeslotSort from '../mixins/timeslotSort'
import prettyDate from '../mixins/prettyDate' import prettyDate from '../mixins/prettyDate'
import axios from 'axios' import axios from 'axios'
...@@ -694,6 +710,7 @@ export default { ...@@ -694,6 +710,7 @@ export default {
'app-modalNotes': modalNotes, 'app-modalNotes': modalNotes,
'app-modalShow': modalShow, 'app-modalShow': modalShow,
'app-modalSuperuser': modalSuperuser, 'app-modalSuperuser': modalSuperuser,
'app-modalSchedules': modalSchedules,
}, },
// generic functions that we want to use from our mixins folder // generic functions that we want to use from our mixins folder
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment