2020-02-21 20:40:46 +00:00
|
|
|
<template>
|
|
|
|
<ft-card
|
|
|
|
class="relative card">
|
|
|
|
<h3
|
|
|
|
class="videoTitle"
|
|
|
|
>
|
|
|
|
{{ title }}
|
|
|
|
</h3>
|
2020-03-24 13:22:29 +00:00
|
|
|
<ft-flex-box class="generalSettingsFlexBox">
|
2020-02-21 20:40:46 +00:00
|
|
|
<ft-toggle-switch
|
|
|
|
label="Fallback to Non-Preferred Backend on Failure"
|
2020-02-27 03:10:56 +00:00
|
|
|
:default-value="backendFallback"
|
|
|
|
@change="updateBackendFallback"
|
2020-02-21 20:40:46 +00:00
|
|
|
/>
|
|
|
|
<ft-toggle-switch
|
|
|
|
label="Check for Updates"
|
2020-02-27 03:10:56 +00:00
|
|
|
:default-value="checkForUpdates"
|
|
|
|
@change="updateCheckForUpdates"
|
|
|
|
/>
|
2020-02-21 20:40:46 +00:00
|
|
|
</ft-flex-box>
|
|
|
|
<br>
|
|
|
|
<ft-flex-box>
|
|
|
|
<ft-select
|
|
|
|
placeholder="Preferred API Backend"
|
2020-02-27 03:10:56 +00:00
|
|
|
:value="backendPreference"
|
2020-02-21 20:40:46 +00:00
|
|
|
:select-names="backendNames"
|
|
|
|
:select-values="backendValues"
|
2020-02-27 03:10:56 +00:00
|
|
|
@change="updateBackendPreference"
|
2020-02-21 20:40:46 +00:00
|
|
|
/>
|
|
|
|
<ft-select
|
|
|
|
placeholder="Default Landing Page"
|
2020-02-27 03:10:56 +00:00
|
|
|
:value="landingPage"
|
2020-02-21 20:40:46 +00:00
|
|
|
:select-names="defaultPageNames"
|
|
|
|
:select-values="defaultPageValues"
|
2020-02-27 03:10:56 +00:00
|
|
|
@change="updateLandingPage"
|
2020-02-21 20:40:46 +00:00
|
|
|
/>
|
|
|
|
<ft-select
|
|
|
|
placeholder="Region for Trending"
|
2020-02-27 03:10:56 +00:00
|
|
|
:value="region"
|
2020-02-21 20:40:46 +00:00
|
|
|
:select-names="regionNames"
|
|
|
|
:select-values="regionValues"
|
2020-02-27 03:10:56 +00:00
|
|
|
@change="updateRegion"
|
2020-02-21 20:40:46 +00:00
|
|
|
/>
|
|
|
|
<ft-select
|
|
|
|
placeholder="Video View Type"
|
2020-02-27 03:10:56 +00:00
|
|
|
:value="listType"
|
2020-02-21 20:40:46 +00:00
|
|
|
:select-names="viewTypeNames"
|
|
|
|
:select-values="viewTypeValues"
|
2020-02-27 03:10:56 +00:00
|
|
|
@change="updateListType"
|
|
|
|
/>
|
|
|
|
<ft-select
|
|
|
|
placeholder="Thumbnail Preference"
|
|
|
|
:value="thumbnailPreference"
|
|
|
|
:select-names="thumbnailTypeNames"
|
|
|
|
:select-values="thumbnailTypeValues"
|
|
|
|
@change="updateThumbnailPreference"
|
2020-02-21 20:40:46 +00:00
|
|
|
/>
|
|
|
|
</ft-flex-box>
|
|
|
|
</ft-card>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./general-settings.js" />
|
|
|
|
<style scoped src="./general-settings.css" />
|