mirror of
https://github.com/VueTorrent/VueTorrent.git
synced 2025-02-18 00:02:02 +03:00
feat: drawer on right side #276
This commit is contained in:
parent
42afd92127
commit
a18bded9cb
3 changed files with 23 additions and 0 deletions
|
@ -82,6 +82,19 @@
|
|||
</v-col>
|
||||
</v-row>
|
||||
</v-list-item>
|
||||
<v-list-item>
|
||||
<v-row dense>
|
||||
<v-col>
|
||||
<v-switch
|
||||
v-model="rightDrawer"
|
||||
class="v-input--reverse pa-0 ma-0"
|
||||
hide-details
|
||||
inset
|
||||
label="Right Drawer"
|
||||
/>
|
||||
</v-col>
|
||||
</v-row>
|
||||
</v-list-item>
|
||||
<v-list-item>
|
||||
<v-row dense>
|
||||
<v-col cols="8" sm="8" md="10">
|
||||
|
@ -220,6 +233,14 @@ export default {
|
|||
this.webuiSettings.useDeviceDarkMode = val
|
||||
}
|
||||
},
|
||||
rightDrawer: {
|
||||
get() {
|
||||
return this.webuiSettings.rightDrawer
|
||||
},
|
||||
set(val) {
|
||||
this.webuiSettings.rightDrawer = val
|
||||
}
|
||||
},
|
||||
paginationSize: {
|
||||
get() {
|
||||
return this.webuiSettings.paginationSize
|
||||
|
|
|
@ -34,6 +34,7 @@
|
|||
width="256"
|
||||
height="100%"
|
||||
disable-resize-watcher
|
||||
:right="webuiSettings.rightDrawer"
|
||||
>
|
||||
<v-card
|
||||
v-if="status"
|
||||
|
|
|
@ -59,6 +59,7 @@ export default new Vuex.Store({
|
|||
showSpeedInTitle: false,
|
||||
title: 'Default',
|
||||
useDeviceDarkMode: true,
|
||||
rightDrawer: false,
|
||||
paginationSize: 15,
|
||||
busyTorrentProperties: [
|
||||
{ name: 'Size', active: true },
|
||||
|
|
Loading…
Add table
Reference in a new issue