aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views
diff options
context:
space:
mode:
authorpacien2020-02-10 20:13:50 +0100
committerpacien2020-02-10 20:13:50 +0100
commit95f75d95c12e95fd5c54c2203e031b0a593c7550 (patch)
treeea34ee78fdb7312efc35c3566f64b6e91380f8ea /viewer/src/views
parentd6c9903ded5705481840bdb023ed330d0c2bb51e (diff)
downloadldgallery-95f75d95c12e95fd5c54c2203e031b0a593c7550.tar.gz
viewer: move temporary mode selector
Out of the sidebar so we can continue polishing the interface without interference.
Diffstat (limited to 'viewer/src/views')
-rw-r--r--viewer/src/views/MainLayout.vue17
-rw-r--r--viewer/src/views/PanelLeft.vue3
2 files changed, 16 insertions, 4 deletions
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue
index 78d8a8a..31b0440 100644
--- a/viewer/src/views/MainLayout.vue
+++ b/viewer/src/views/MainLayout.vue
@@ -24,6 +24,10 @@
24 <router-view v-if="!isLoading" class="layout layout-content scrollbar" /> 24 <router-view v-if="!isLoading" class="layout layout-content scrollbar" />
25 <b-loading :active="isLoading" is-full-page /> 25 <b-loading :active="isLoading" is-full-page />
26 <ld-key-press :keycode="27" @action="$uiStore.fullscreen=false" /> 26 <ld-key-press :keycode="27" @action="$uiStore.fullscreen=false" />
27
28 <!-- TODO: Remove when #21 (remove explicit navigation/search modes) is resolved -->
29 <ld-mode-radio v-if="!isLoading" class="tmp-mode-selector" />
30 <!-- ===== -->
27 </div> 31 </div>
28</template> 32</template>
29 33
@@ -123,4 +127,15 @@ html {
123 background-color: $content-bgcolor; 127 background-color: $content-bgcolor;
124 } 128 }
125} 129}
126</style> \ No newline at end of file 130
131// TODO: Remove when #21 (remove explicit navigation/search modes) is resolved
132// Forced at the bottom right corner so we can continue working on the sidebar without interference
133.tmp-mode-selector {
134 position: absolute;
135 bottom: 0;
136 right: 0;
137 z-index: 100;
138 opacity: 0.75;
139}
140// =====
141</style>
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue
index 2c00bbf..91d193c 100644
--- a/viewer/src/views/PanelLeft.vue
+++ b/viewer/src/views/PanelLeft.vue
@@ -20,9 +20,6 @@
20<template> 20<template>
21 <div class="flex-column"> 21 <div class="flex-column">
22 <ld-tag-input /> 22 <ld-tag-input />
23 <!-- TODO: Remove when #21 is resolved -->
24 <ld-mode-radio />
25 <!-- === -->
26 <h1 class="title">{{$t('panelLeft.propositions')}}</h1> 23 <h1 class="title">{{$t('panelLeft.propositions')}}</h1>
27 <ld-proposition class="scrollbar no-scroll-x" /> 24 <ld-proposition class="scrollbar no-scroll-x" />
28 </div> 25 </div>