#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,18 +111,24 @@
} }
}, },
methods: { methods: {
changeType: function() { addNewLevel(){
// Triggers when lib type is changed console.log('Ged addNewLevel')
//this.selMediaType = ''; },
console.log('Ged selMediaType: ' + this.selMediaType); changeType: function() {
}, // Triggers when lib type is changed
selectExportLevel: function(value) { //this.selMediaType = '';
console.log('Ged Custom ExportLevel selected as: ' + value) console.log('Ged selMediaType: ' + this.selMediaType);
if ( value == 'NewLevel') { },
console.log('Ged new level selected') selectExportLevel: function(value) {
} console.log('Ged Custom ExportLevel selected as: ' + value)
if ( value == 'NewLevel') {
console.log('Ged new level selected')
} }
else {
console.log('Ged edit level: ' + value)
}
}
} }
}; };
</script> </script>

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 }}