2018-12-30 23:16:09 +01:00
|
|
|
<template>
|
|
|
|
<div>
|
2019-01-02 20:36:00 +01:00
|
|
|
<div class="header">
|
|
|
|
<span class="smallcaps">Ultrawidify</span>: <small>Quick settings</small>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- TABS/SIDEBAR -->
|
|
|
|
<div id="tablist" class="left-side">
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- PANELS/CONTENT -->
|
|
|
|
<div id="tab-content" class="right-side">
|
|
|
|
<VideoPanel v-if="settings && settings.active && true"
|
|
|
|
class=""
|
|
|
|
:settings="settings"
|
|
|
|
:frame="selectedFrame"
|
|
|
|
>
|
|
|
|
</VideoPanel>
|
|
|
|
</div>
|
2018-12-30 23:16:09 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
2019-01-02 20:36:00 +01:00
|
|
|
import VideoPanel from './panels/VideoPanel';
|
|
|
|
import Settings from '../ext/lib/Settings';
|
|
|
|
|
2018-12-30 23:16:09 +01:00
|
|
|
export default {
|
|
|
|
data () {
|
2019-01-02 20:36:00 +01:00
|
|
|
return {
|
|
|
|
selectedTab: 'video',
|
|
|
|
selectedFrame: '__all',
|
|
|
|
settings: {},
|
|
|
|
}
|
|
|
|
},
|
|
|
|
async created() {
|
|
|
|
const ns = new Settings();
|
|
|
|
await ns.init();
|
|
|
|
this.settings = ns;
|
|
|
|
},
|
|
|
|
components: {
|
|
|
|
VideoPanel,
|
2018-12-30 23:16:09 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
p {
|
|
|
|
font-size: 20px;
|
|
|
|
}
|
|
|
|
</style>
|