2020-04-09 12:30:28 -04:00
|
|
|
<template>
|
2024-04-04 17:28:25 -04:00
|
|
|
<div class="flex w-full h-full">
|
2024-04-05 12:51:50 -04:00
|
|
|
<div class="flex-none w-[70px] join join-vertical me-3 px-1 pt-7">
|
2024-04-04 17:28:25 -04:00
|
|
|
<button
|
2024-04-05 12:51:50 -04:00
|
|
|
class="join-item w-full btn btn-sm btn-primary duration-500"
|
2024-04-04 17:28:25 -04:00
|
|
|
:class="activeConf === 1 && 'btn-secondary'"
|
|
|
|
@click="activeConf = 1"
|
|
|
|
>
|
|
|
|
GUI
|
|
|
|
</button>
|
|
|
|
<button
|
2024-04-05 12:51:50 -04:00
|
|
|
class="join-item w-full btn btn-sm btn-primary mt-1 duration-500"
|
2024-04-04 17:28:25 -04:00
|
|
|
:class="activeConf === 2 && 'btn-secondary'"
|
|
|
|
@click="activeConf = 2"
|
|
|
|
>
|
|
|
|
Playout
|
|
|
|
</button>
|
|
|
|
<button
|
2024-04-05 12:51:50 -04:00
|
|
|
class="join-item w-full btn btn-sm btn-primary mt-1 duration-500"
|
2024-04-04 17:28:25 -04:00
|
|
|
:class="activeConf === 3 && 'btn-secondary'"
|
|
|
|
@click="activeConf = 3"
|
|
|
|
>
|
|
|
|
User
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="w-[calc(100%-70px)] mt-10 px-6">
|
|
|
|
<div v-if="activeConf === 1" class="w-full flex justify-center">
|
|
|
|
<ConfigGui />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-else-if="activeConf === 2" class="w-full flex justify-center">
|
|
|
|
<ConfigPlayout />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div v-else-if="activeConf === 3" class="w-full flex justify-center">
|
|
|
|
<ConfigUser />
|
2023-01-11 04:54:25 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-09 12:30:28 -04:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
2023-01-11 04:54:25 -05:00
|
|
|
<script setup lang="ts">
|
|
|
|
useHead({
|
2024-04-04 17:28:25 -04:00
|
|
|
title: 'Configuration | ffplayout',
|
2023-01-11 04:54:25 -05:00
|
|
|
})
|
2020-12-30 16:08:54 -05:00
|
|
|
|
2024-04-04 17:28:25 -04:00
|
|
|
const activeConf = ref(1)
|
2020-04-09 12:30:28 -04:00
|
|
|
</script>
|
|
|
|
|