Frontend: Fix account dialog in mobile browsers #225
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
parent
7257aad6c9
commit
586d9baed1
1 changed files with 23 additions and 3 deletions
|
@ -14,7 +14,16 @@
|
||||||
:false-value="false"
|
:false-value="false"
|
||||||
:label="model.AccShare ? 'enabled' : 'disabled'"
|
:label="model.AccShare ? 'enabled' : 'disabled'"
|
||||||
:disabled="model.AccType !== 'webdav'"
|
:disabled="model.AccType !== 'webdav'"
|
||||||
class="mt-0"
|
class="mt-0 hidden-xs-only"
|
||||||
|
hide-details
|
||||||
|
></v-switch>
|
||||||
|
<v-switch
|
||||||
|
v-model="model.AccShare"
|
||||||
|
color="success"
|
||||||
|
:true-value="true"
|
||||||
|
:false-value="false"
|
||||||
|
:disabled="model.AccType !== 'webdav'"
|
||||||
|
class="mt-0 hidden-sm-and-up"
|
||||||
hide-details
|
hide-details
|
||||||
></v-switch>
|
></v-switch>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
|
@ -31,7 +40,16 @@
|
||||||
:false-value="false"
|
:false-value="false"
|
||||||
:label="model.AccSync ? 'enabled' : 'disabled'"
|
:label="model.AccSync ? 'enabled' : 'disabled'"
|
||||||
:disabled="model.AccType !== 'webdav'"
|
:disabled="model.AccType !== 'webdav'"
|
||||||
class="mt-0"
|
class="mt-0 hidden-xs-only"
|
||||||
|
hide-details
|
||||||
|
></v-switch>
|
||||||
|
<v-switch
|
||||||
|
v-model="model.AccSync"
|
||||||
|
color="success"
|
||||||
|
:true-value="true"
|
||||||
|
:false-value="false"
|
||||||
|
:disabled="model.AccType !== 'webdav'"
|
||||||
|
class="mt-0 hidden-sm-and-up"
|
||||||
hide-details
|
hide-details
|
||||||
></v-switch>
|
></v-switch>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
|
@ -260,7 +278,7 @@
|
||||||
<v-layout row wrap>
|
<v-layout row wrap>
|
||||||
<v-flex xs12 text-xs-right class="pt-3">
|
<v-flex xs12 text-xs-right class="pt-3">
|
||||||
<v-btn @click.stop="cancel" depressed color="grey lighten-3"
|
<v-btn @click.stop="cancel" depressed color="grey lighten-3"
|
||||||
class="action-cancel hidden-xs-only">
|
class="action-cancel">
|
||||||
<span>{{ label.cancel }}</span>
|
<span>{{ label.cancel }}</span>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-btn color="blue-grey lighten-2" depressed dark @click.stop="save"
|
<v-btn color="blue-grey lighten-2" depressed dark @click.stop="save"
|
||||||
|
@ -361,6 +379,8 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
computed: {
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
cancel() {
|
cancel() {
|
||||||
this.$emit('cancel');
|
this.$emit('cancel');
|
||||||
|
|
Loading…
Reference in a new issue