2020-04-09 12:30:28 -04:00
|
|
|
<template>
|
|
|
|
<div>
|
2020-04-15 12:10:43 -04:00
|
|
|
<Menu />
|
2023-01-11 04:54:25 -05:00
|
|
|
<div class="container-fluid configure-container">
|
2023-09-08 04:16:34 -04:00
|
|
|
<div class="d-flex align-items-start h-100">
|
|
|
|
<div class="nav flex-column nav-pills h-100 me-3" id="v-pills-tab" role="tablist" aria-orientation="vertical">
|
2023-01-11 04:54:25 -05:00
|
|
|
<button
|
|
|
|
class="nav-link active"
|
|
|
|
id="v-pills-gui-tab"
|
|
|
|
data-bs-toggle="pill"
|
|
|
|
data-bs-target="#v-pills-gui"
|
|
|
|
type="button"
|
|
|
|
role="tab"
|
|
|
|
aria-controls="v-pills-gui"
|
|
|
|
aria-selected="true"
|
|
|
|
@click="indexStore.resetAlert()"
|
|
|
|
>
|
|
|
|
GUI
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="nav-link"
|
|
|
|
id="v-pills-playout-tab"
|
|
|
|
data-bs-toggle="pill"
|
|
|
|
data-bs-target="#v-pills-playout"
|
|
|
|
type="button"
|
|
|
|
role="tab"
|
|
|
|
aria-controls="v-pills-playout"
|
|
|
|
aria-selected="false"
|
|
|
|
@click="indexStore.resetAlert()"
|
|
|
|
>
|
|
|
|
Playout
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="nav-link"
|
|
|
|
id="v-pills-user-tab"
|
|
|
|
data-bs-toggle="pill"
|
|
|
|
data-bs-target="#v-pills-user"
|
|
|
|
type="button"
|
|
|
|
role="tab"
|
|
|
|
aria-controls="v-pills-user"
|
|
|
|
aria-selected="false"
|
|
|
|
@click="indexStore.resetAlert()"
|
|
|
|
>
|
|
|
|
User
|
|
|
|
</button>
|
|
|
|
</div>
|
2023-09-08 04:16:34 -04:00
|
|
|
<div class="tab-content h-100" id="v-pills-tabContent">
|
2023-01-11 04:54:25 -05:00
|
|
|
<div
|
2023-09-08 04:16:34 -04:00
|
|
|
class="tab-pane h-100 overflow-y-auto show active"
|
2023-01-11 04:54:25 -05:00
|
|
|
id="v-pills-gui"
|
|
|
|
role="tabpanel"
|
|
|
|
aria-labelledby="v-pills-gui-tab"
|
|
|
|
>
|
|
|
|
<div class="config-container">
|
|
|
|
<GuiConfig />
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-08 04:16:34 -04:00
|
|
|
<div class="tab-pane h-100 overflow-y-auto" id="v-pills-playout" role="tabpanel" aria-labelledby="v-pills-playout-tab">
|
2023-01-11 04:54:25 -05:00
|
|
|
<div class="config-container">
|
|
|
|
<PlayoutConfig />
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-09-08 04:16:34 -04:00
|
|
|
<div class="tab-pane h-100 overflow-y-auto" id="v-pills-user" role="tabpanel" aria-labelledby="v-pills-user-tab">
|
2023-01-11 04:54:25 -05:00
|
|
|
<div class="config-container">
|
|
|
|
<UserConfig />
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-09 12:30:28 -04:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2023-01-11 04:54:25 -05:00
|
|
|
<script setup lang="ts">
|
|
|
|
import { useIndex } from '~/stores/index'
|
|
|
|
useHead({
|
|
|
|
title: 'Configuration | ffplayout'
|
|
|
|
})
|
2020-12-30 16:08:54 -05:00
|
|
|
|
2023-01-11 04:54:25 -05:00
|
|
|
const indexStore = useIndex()
|
2020-12-30 16:08:54 -05:00
|
|
|
|
2023-01-11 04:54:25 -05:00
|
|
|
onBeforeUnmount(() => {
|
|
|
|
indexStore.resetAlert()
|
|
|
|
})
|
2020-04-09 12:30:28 -04:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
2023-01-11 04:54:25 -05:00
|
|
|
.configure-container {
|
|
|
|
height: calc(100% - 90px);
|
|
|
|
}
|
|
|
|
|
2020-04-09 12:30:28 -04:00
|
|
|
.config-container {
|
2020-04-12 15:14:57 -04:00
|
|
|
margin: 2em auto 2em auto;
|
2020-04-09 12:30:28 -04:00
|
|
|
padding: 0;
|
2023-01-11 04:54:25 -05:00
|
|
|
width: 90vw;
|
2020-04-09 12:30:28 -04:00
|
|
|
}
|
|
|
|
</style>
|