now using 1 iframe

pull/1/head
cheetah 2 years ago
parent 7bb6d39653
commit f9c69d948b

@ -18,33 +18,28 @@
</v-app-bar>
<v-main>
<v-tabs v-model="configTab" next-icon="mdi-arrow-right-bold-box-outline" prev-icon="mdi-arrow-left-bold-box-outline" show-arrows>
<v-tab key="dispatcher">Dispatcher</v-tab>
<v-tab key="dispatcher_cfg">Dispatcher Config</v-tab>
<v-tab key="dwd">DWD</v-tab>
<v-tab key="nina">MOWAS/BBK</v-tab>
<v-tab key="testalarm">Testalarm</v-tab>
<v-tab key="tg">Telegram</v-tab>
<v-tab key="disp_main">Dispatcher</v-tab>
<v-tab key="disp_cfg">Dispatcher Config</v-tab>
<v-tab key="msg-dwd_cfg">DWD</v-tab>
<v-tab key="msg-mowas_cfg">MOWAS/BBK</v-tab>
<v-tab key="msg-testalarm_cfg">Testalarm</v-tab>
<v-tab key="msg-tg_cfg">Telegram</v-tab>
</v-tabs>
<v-tabs-items v-model="configTab">
<v-tab-item key="dispatcher">
<iframe src="/disp_main/" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-tab-item>
<v-tab-item key="dispatcher_cfg">
<iframe src="/disp_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-tab-item>
<v-tab-item key="dwd">
<iframe src="/msg-dwd_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-tab-item>
<v-tab-item key="nina">
<iframe src="/msg-mowas_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-tab-item>
<v-tab-item key="testalarm">
<iframe src="/msg-testalarm_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-tab-item>
<v-tab-item key="tg">
<iframe src="/msg-tg_cfg/" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-tab-item>
</v-tabs-items>
<iframe :src="'/' + configMap[configTab] + '/'" style="width: 100%; height: 50rem; display: block;"></iframe>
</v-main>
</v-app>
</div>
@ -61,6 +56,14 @@
return {
EXPERTMODE: false,
configTab: null,
configMap: [
'disp_main',
'disp_cfg',
'msg-dwd_cfg',
'msg-mowas_cfg',
'msg-testalarm_cfg',
'msg-tg_cfg',
],
}
},
created() {

Loading…
Cancel
Save