From 073a2def64c7f45062b30a73c433a29988f0e05e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sun, 4 Mar 2018 14:10:14 +0900 Subject: [PATCH] #1177 --- src/web/app/desktop/ui.styl | 3 +++ .../app/desktop/views/components/settings.vue | 17 +++++++++++++++-- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/src/web/app/desktop/ui.styl b/src/web/app/desktop/ui.styl index 058271876b..5a8d1718e2 100644 --- a/src/web/app/desktop/ui.styl +++ b/src/web/app/desktop/ui.styl @@ -22,6 +22,9 @@ button.ui border-radius 4px outline none + &.block + display block + &:focus &:after content "" diff --git a/src/web/app/desktop/views/components/settings.vue b/src/web/app/desktop/views/components/settings.vue index 20d7a77715..cba14f5f95 100644 --- a/src/web/app/desktop/views/components/settings.vue +++ b/src/web/app/desktop/views/components/settings.vue @@ -28,7 +28,7 @@

モバイル

- +
@@ -109,10 +109,16 @@ 最新のバージョン: {{ latestVersion ? latestVersion : version }}

- +
+ 詳細設定 + + この設定をオンにしてもアップデートが反映される場合があります。この設定はこのデバイスのみ有効です。 + +
@@ -161,6 +167,7 @@ export default Vue.extend({ latestVersion: undefined, checkingForUpdate: false, lang: localStorage.getItem('lang') || '', + preventUpdate: localStorage.getItem('preventUpdate') == 'true', debug: localStorage.getItem('debug') == 'true', enableExperimental: localStorage.getItem('enableExperimental') == 'true' }; @@ -169,6 +176,9 @@ export default Vue.extend({ lang() { localStorage.setItem('lang', this.lang); }, + preventUpdate() { + localStorage.setItem('preventUpdate', this.preventUpdate ? 'true' : 'false'); + }, debug() { localStorage.setItem('debug', this.debug ? 'true' : 'false'); }, @@ -285,6 +295,9 @@ export default Vue.extend({ border-bottom solid 1px #eee &, >>> * + .ui.button.block + margin 16px 0 + > section margin 32px 0