|
|
|
@ -1,6 +1,8 @@
|
|
|
|
|
<template>
|
|
|
|
|
<v-container fluid _fill-height>
|
|
|
|
|
<v-card flat class="mx-auto" width="520">
|
|
|
|
|
<v-row no-gutters justify="center">
|
|
|
|
|
<v-col lg="5" md="6" sm="8">
|
|
|
|
|
<v-card flat>
|
|
|
|
|
<v-card-title class="display-2 mb-12 justify-center text-center">Appearance</v-card-title>
|
|
|
|
|
|
|
|
|
|
<v-radio-group v-model="settings.device.theme" row>
|
|
|
|
@ -12,13 +14,14 @@
|
|
|
|
|
<v-btn depressed block color="primary" @click="commitStep()">Continue</v-btn>
|
|
|
|
|
</v-card-actions>
|
|
|
|
|
</v-card>
|
|
|
|
|
</v-col>
|
|
|
|
|
</v-row>
|
|
|
|
|
</v-container>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import apiDevice from "@/api/device";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default {
|
|
|
|
|
data: () => ({
|
|
|
|
|
isLoading: true,
|
|
|
|
@ -36,7 +39,7 @@ export default {
|
|
|
|
|
commitStep() {
|
|
|
|
|
this.isSaving = true;
|
|
|
|
|
|
|
|
|
|
apiDevice.putSettings({device: this.settings.device}, () => {
|
|
|
|
|
apiDevice.putSettings({ device: this.settings.device }, () => {
|
|
|
|
|
this.isSaving = false;
|
|
|
|
|
|
|
|
|
|
this.nextStep();
|
|
|
|
@ -46,5 +49,5 @@ export default {
|
|
|
|
|
this.$router.push("/setup/done");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|