This commit is contained in:
Tommy Mikkelsen 2022-07-04 22:52:12 +02:00
parent 184581b05b
commit 0aa2b02a85
2 changed files with 70 additions and 68 deletions

View file

@ -6,48 +6,48 @@
</h2> </h2>
<h5>{{ $t(`Modules.ET.Settings.Description`) }}</h5> <h5>{{ $t(`Modules.ET.Settings.Description`) }}</h5>
</div> </div>
<b-link id="general" :to="{ path: '/settings/export', query: { return: 'exportsettings' } }">{{ $t("Modules.ET.Settings.Note") }} </b-link> <b-link id="general" :to="{ path: '/settings/export', query: { return: 'exportsettings' } }">{{ $t("Modules.ET.Settings.Note") }} </b-link>
<br> <br>
<b-input-group id="PosterGrp" :prepend="$t('Modules.ET.Settings.Posters_Dimensions')" class="mt-3"> <b-input-group id="PosterGrp" :prepend="$t('Modules.ET.Settings.Posters_Dimensions')" class="mt-3">
<b-tooltip target="PosterGrp" triggers="hover"> <b-tooltip target="PosterGrp" triggers="hover">
{{ $t('Modules.ET.Settings.Posters_Dimensions_TT') }} {{ $t('Modules.ET.Settings.Posters_Dimensions_TT') }}
</b-tooltip> </b-tooltip>
<b-form-input id="PosterDim" name="PosterDim" type="text" class="form-control" v-model="PosterDim" :disabled=false @change="setPosters_Dimensions()"></b-form-input> <b-form-input id="PosterDim" name="PosterDim" type="text" class="form-control" v-model="PosterDim" :disabled=false @change="setPosters_Dimensions()"></b-form-input>
</b-input-group> </b-input-group>
<b-input-group id="ArtGrp" :prepend="$t('Modules.ET.Settings.Art_Dimensions')" class="mt-3"> <b-input-group id="ArtGrp" :prepend="$t('Modules.ET.Settings.Art_Dimensions')" class="mt-3">
<b-tooltip target="ArtGrp" triggers="hover"> <b-tooltip target="ArtGrp" triggers="hover">
{{ $t('Modules.ET.Settings.Art_Dimensions_TT') }} {{ $t('Modules.ET.Settings.Art_Dimensions_TT') }}
</b-tooltip> </b-tooltip>
<b-form-input id="ArtDim" name="ArtDim" type="text" class="form-control" v-model="ArtDim" :disabled=false @change="setArt_Dimensions()"></b-form-input> <b-form-input id="ArtDim" name="ArtDim" type="text" class="form-control" v-model="ArtDim" :disabled=false @change="setArt_Dimensions()"></b-form-input>
</b-input-group> </b-input-group>
<b-form-group id="b-form-group"> <b-form-group id="b-form-group">
<b-form-checkbox-group <b-form-checkbox-group
stacked stacked
:options="cbOptions" :options="cbOptions"
v-model="cbSelected" v-model="cbSelected"
@change.native="filterTable"> @change.native="filterTable">
</b-form-checkbox-group> </b-form-checkbox-group>
</b-form-group> </b-form-group>
<b-form-group id="etSugMovieID" v-bind:label="$t('Modules.ET.Settings.MoviesUseId')" label-size="lg" label-class="font-weight-bold pt-0" v-b-tooltip.hover="$t('Modules.ET.Settings.ttMoviesUseId')"> <b-form-group id="etSugMovieID" v-bind:label="$t('Modules.ET.Settings.MoviesUseId')" label-size="lg" label-class="font-weight-bold pt-0" v-b-tooltip.hover="$t('Modules.ET.Settings.ttMoviesUseId')">
<b-form-select <b-form-select
class="form-control" class="form-control"
v-model="SelectedMoviesID" v-model="SelectedMoviesID"
id="SelectedMoviesID" id="SelectedMoviesID"
:options="SelectedMoviesIDOptions" :options="SelectedMoviesIDOptions"
@change="SelectedMoviesIDChanged" @change="SelectedMoviesIDChanged"
style="width: 50%" style="width: 50%"
name="SugMovieID"> name="SugMovieID">
</b-form-select> </b-form-select>
</b-form-group> </b-form-group>
<!-- Buttons -->
<div class="buttons">
<!-- Buttons --> <!-- Buttons -->
<div class="buttons"> <div id="buttons" class="text-center">
<!-- Buttons --> <b-button-group >
<div id="buttons" class="text-center"> <b-button variant="success" class="mr-1" @click="jumpToET"> {{ $t('Modules.ET.Settings.Return') }} </b-button>
<b-button-group > </b-button-group>
<b-button variant="success" class="mr-1" @click="jumpToET"> {{ $t('Modules.ET.Settings.Return') }} </b-button>
</b-button-group>
</div>
</div> </div>
</div>
</b-container> </b-container>
</template> </template>

View file

@ -1,33 +1,35 @@
<template> <template>
<b-container fluid> <b-container class="m-2 mt-2">
<div class="col-lg-10 col-md-12 col-xs-12"> <div> <!-- Title and desc -->
<h1>{{ $t("Modules.PMS.Butler.Name") }}</h1> <h2>
<p>{{ $t("Modules.PMS.Butler.Description") }}</p> {{ $t(`Modules.PMS.Butler.Name`) }}
</div> </h2>
<h5>{{ $t(`Modules.PMS.Butler.Description`) }}</h5>
<div class="d-flex align-items-center"> </div>
<b-form-group id="ButlerGroup" v-bind:label="$t('Modules.PMS.Butler.SelectTask')" label-size="lg" label-class="font-weight-bold pt-0"> <br>
<b-tooltip target="ButlerGroup" triggers="hover"> <div class="d-flex align-items-center">
{{ $t('Modules.PMS.Butler.TTSelectTask') }} <b-form-group id="ButlerGroup" v-bind:label="$t('Modules.PMS.Butler.SelectTask')" label-size="lg" label-class="font-weight-bold pt-0">
</b-tooltip> <b-tooltip target="ButlerGroup" triggers="hover">
<b-form-select {{ $t('Modules.PMS.Butler.TTSelectTask') }}
v-model="selTask" </b-tooltip>
id="selTask" <b-form-select
:options="selTaskOptions" v-model="selTask"
name="selTask"> id="selTask"
</b-form-select> :options="selTaskOptions"
</b-form-group> name="selTask">
</div> </b-form-select>
<br> </b-form-group>
<br> </div>
<div class="buttons"> <br>
<!-- Buttons --> <br>
<div id="buttons" class="text-center"> <div class="buttons">
<b-button-group > <!-- Buttons -->
<b-button variant="success" class="mr-1" :disabled="this.selTask == ''" @click="executeButlerTask"> {{ $t('Modules.PMS.Butler.RunTask') }} </b-button> <div id="buttons" class="text-center">
</b-button-group> <b-button-group >
<b-button variant="success" class="mr-1" :disabled="this.selTask == ''" @click="executeButlerTask"> {{ $t('Modules.PMS.Butler.RunTask') }} </b-button>
</b-button-group>
</div>
</div> </div>
</div>
</b-container> </b-container>
</template> </template>