2018-03-21 17:44:27 +00:00
|
|
|
<template>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div id="WRAPPER">
|
|
|
|
|
|
|
|
<!-- Side Menu -->
|
|
|
|
<menu-comp></menu-comp>
|
|
|
|
|
|
|
|
<!-- Side Dialog -->
|
|
|
|
<dialog-comp></dialog-comp>
|
|
|
|
|
|
|
|
<!-- Container -->
|
2018-03-21 23:53:32 +00:00
|
|
|
<router-view></router-view>
|
2018-03-21 17:44:27 +00:00
|
|
|
|
2018-03-22 19:03:29 +00:00
|
|
|
<!-- Pop-up Filter Background -->
|
|
|
|
<div id='popup-filter-background' v-show='gs.popup.filter' @click='gs.popup.hide()'></div>
|
|
|
|
|
2018-03-27 14:41:36 +00:00
|
|
|
<!-- Pop-up ROOM CREATE -->
|
2018-03-22 19:03:29 +00:00
|
|
|
<div class='popup' v-show='gs.popup.get(`room.create`).active'>
|
|
|
|
<span class='header'>Create {{ gs.popup.get(`room.create`).data.type }} channel</span>
|
2018-03-22 17:15:57 +00:00
|
|
|
|
2018-03-24 18:57:51 +00:00
|
|
|
<span class='body form'>
|
2018-03-27 14:41:36 +00:00
|
|
|
<label for='channel_name'>Room Name</label>
|
2018-03-22 19:03:29 +00:00
|
|
|
<input type='text' name='channel_name' v-model='gs.popup.get(`room.create`).data.name'>
|
2018-03-22 17:15:57 +00:00
|
|
|
|
2018-03-27 14:41:36 +00:00
|
|
|
<label for='channel_name'>Room Type</label>
|
|
|
|
<span class='select-box' @click='gs.popup.get(`room.create`).data.type=`text`' :data-selected='gs.popup.get(`room.create`).data.type==`text`?1:0' data-type='text'>Text Room</span>
|
|
|
|
<span class='select-box' @click='gs.popup.get(`room.create`).data.type=`voice`' :data-selected='gs.popup.get(`room.create`).data.type==`voice`?1:0' data-type='voice'>Voice Room</span>
|
|
|
|
</span>
|
|
|
|
|
|
|
|
<span class='footer form'>
|
|
|
|
<button @click='gs.popup.hide()'>Cancel</button>
|
|
|
|
<button class='submit' @click='gs.popup.get(`room.create`).submit()'>Create Room</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Pop-up CHANNEL CREATE -->
|
|
|
|
<div class='popup' v-show='gs.popup.get(`channel.create`).active'>
|
|
|
|
<span class='header'>Create {{ gs.popup.get(`channel.create`).data.type }} channel</span>
|
|
|
|
|
|
|
|
<span class='body form'>
|
|
|
|
<label for='channel_name'>Channel Name</label>
|
|
|
|
<input type='text' name='channel_name' v-model='gs.popup.get(`channel.create`).data.name'>
|
2018-03-27 16:21:02 +00:00
|
|
|
<label for='channel_link'>Channel Link</label>
|
|
|
|
<input type='text' name='channel_link' v-model='gs.popup.get(`channel.create`).data.link'>
|
2018-03-22 17:15:57 +00:00
|
|
|
</span>
|
|
|
|
|
2018-03-25 10:24:34 +00:00
|
|
|
<span class='footer form'>
|
2018-03-22 19:03:29 +00:00
|
|
|
<button @click='gs.popup.hide()'>Cancel</button>
|
2018-03-27 14:41:36 +00:00
|
|
|
<button class='submit' @click='gs.popup.get(`channel.create`).submit()'>Create Channel</button>
|
2018-03-22 17:15:57 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
2018-03-21 17:44:27 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
</template><script>
|
|
|
|
|
|
|
|
import menu_vue from './menu.vue'
|
|
|
|
import dialog_vue from './dialog.vue'
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
|
|
|
name: 'wrapper-',
|
|
|
|
|
2018-03-22 18:13:52 +00:00
|
|
|
data(){ return { gs: gs.get }; },
|
2018-03-21 17:44:27 +00:00
|
|
|
|
|
|
|
components: {
|
|
|
|
'MenuComp': menu_vue,
|
|
|
|
'DialogComp': dialog_vue
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
</script>
|