4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-14 05:06:37 +00:00
AzuraCast/frontend/vue/components/Setup/Settings.vue
2022-12-18 02:16:15 -06:00

44 lines
1.2 KiB
Vue

<template>
<admin-settings :api-url="apiUrl" :release-channel="releaseChannel" @saved="onSaved">
<template #preCard>
<setup-step :step="3"></setup-step>
</template>
<template #cardTitle>
{{ $gettext('Customize AzuraCast Settings') }}
</template>
<template #cardUpper>
<info-card>
{{
$gettext('Complete the setup process by providing some information about your broadcast environment. These settings can be changed later from the administration panel.')
}}
</info-card>
</template>
<template #submitButtonName>
{{ $gettext('Save and Continue') }}
</template>
</admin-settings>
</template>
<script setup>
import AdminSettings from "~/components/Admin/Settings";
import SetupStep from "./SetupStep";
import InfoCard from "~/components/Common/InfoCard";
const props = defineProps({
apiUrl: String,
releaseChannel: {
type: String,
default: 'rolling',
required: false
},
continueUrl: {
type: String,
required: true
}
});
const onSaved = () => {
window.location.href = props.continueUrl;
}
</script>