Skip to content

Commit 05aa3b6

Browse files
authored
Merge pull request #741 from arabcoders/dev
Render the WebUI settings into a modal
2 parents b77ad3b + f113704 commit 05aa3b6

File tree

2 files changed

+7
-18
lines changed

2 files changed

+7
-18
lines changed

frontend/app/components/Settings.vue

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,6 @@
8888
Dark
8989
</label>
9090
</div>
91-
<p class="help is-unselectable">
92-
<span class="icon"><i class="fa-solid fa-info"/></span>
93-
<span>Select the color scheme for the WebUI.</span>
94-
</p>
9591
</div>
9692

9793
<div class="field">
@@ -104,15 +100,11 @@
104100
{{ poster_enable ? 'Disable' : 'Enable' }}
105101
</label>
106102
</div>
107-
<p class="help is-unselectable">
108-
<span class="icon"><i class="fa-solid fa-info"/></span>
109-
<span>Display posters for episodes and movies in the item history cards.</span>
110-
</p>
111103
</div>
112104

113105
<div class="field">
114106
<label class="is-unselectable label">
115-
Backgrounds
107+
Backgrounds from backends
116108
<span v-if="bg_enable">
117109
-
118110
<NuxtLink @click="emit('force_bg_reload')">
@@ -127,10 +119,6 @@
127119
{{ bg_enable ? 'Disable' : 'Enable' }}
128120
</label>
129121
</div>
130-
<p class="help is-unselectable">
131-
<span class="icon"><i class="fa-solid fa-info"/></span>
132-
<span>Use random background image from your media backends. Images are cached for 1 hour.</span>
133-
</p>
134122
</div>
135123

136124
<div class="field">
@@ -141,10 +129,6 @@
141129
<input id="random_bg_opacity" style="width: 100%" type="range" v-model="bg_opacity" min="0.60" max="1.00"
142130
step="0.05">
143131
</div>
144-
<p class="help is-unselectable">
145-
<span class="icon"><i class="fa-solid fa-info"/></span>
146-
<span>How visible the background image should be.</span>
147-
</p>
148132
</div>
149133
</div>
150134
</div>

frontend/app/layouts/default.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,6 @@
245245
<div>
246246
<div>
247247
<TaskScheduler :forceShow="showScheduler" @update="e => scheduler = e" v-if="in_container"/>
248-
<Settings v-if="showSettings" @force_bg_reload="() => loadImage(true)"/>
249248
<NuxtPage/>
250249
<ClientOnly>
251250
<Dialog/>
@@ -291,6 +290,12 @@
291290
<UserSelection/>
292291
</Overlay>
293292
</template>
293+
<template v-if="showSettings">
294+
<Overlay @closeOverlay="() => showSettings = false" title="WebUI Settings">
295+
<Settings @force_bg_reload="() => loadImage(true)"/>
296+
</Overlay>
297+
</template>
298+
294299
</div>
295300
</div>
296301
</template>

0 commit comments

Comments
 (0)