#21 more stuff

This commit is contained in:
UKDTOM 2020-10-04 01:07:09 +02:00
parent 05300404c6
commit e802a4e8e0
2 changed files with 30 additions and 14 deletions

View file

@ -35,6 +35,14 @@
</b-form-select> </b-form-select>
</b-form-group> </b-form-group>
</div> </div>
<b-modal ref="showNewLevel" hide-footer v-bind:title=this.customTitle >
<div class="d-block text-center">
{{ this.body }}
</div>
<b-button class="mt-3" variant="outline-primary" block @click="addNewLevel">{{ this.saveTxt }}</b-button>
</b-modal>
</b-container> </b-container>
</template> </template>
@ -63,7 +71,10 @@
{ text: i18n.t('Modules.ET.RadioPlayLists'), value: 'playlist', disabled: true } { text: i18n.t('Modules.ET.RadioPlayLists'), value: 'playlist', disabled: true }
], ],
selLevel: "" selLevel: "",
customTitle: "Ged Title",
body: "Ged body",
saveTxt: "Ged Save txt"
} }
}, },
computed: { computed: {
@ -100,6 +111,9 @@
} }
}, },
methods: { methods: {
addNewLevel(){
console.log('Ged addNewLevel')
},
changeType: function() { changeType: function() {
// Triggers when lib type is changed // Triggers when lib type is changed
//this.selMediaType = ''; //this.selMediaType = '';
@ -110,6 +124,9 @@
if ( value == 'NewLevel') { if ( value == 'NewLevel') {
console.log('Ged new level selected') console.log('Ged new level selected')
} }
else {
console.log('Ged edit level: ' + value)
}
} }
} }

View file

@ -12,7 +12,6 @@
<dd>* {{ $t("Modules.ET.Description") }} </dd> <dd>* {{ $t("Modules.ET.Description") }} </dd>
</dl> </dl>
</div> </div>
<!-- <b-modal ref="showUpdate" hide-footer title= {{ updateTitle }} > -->
<b-modal ref="showUpdate" hide-footer v-bind:title=this.updateTitle > <b-modal ref="showUpdate" hide-footer v-bind:title=this.updateTitle >
<div class="d-block text-center"> <div class="d-block text-center">
{{ this.body }} {{ this.body }}