diff options
author | Zero~Informatique | 2020-06-20 16:50:49 +0200 |
---|---|---|
committer | OzoneGrif | 2020-06-28 14:11:13 +0200 |
commit | 170d7a61f720ece9dc4b347b19f5a8213f1d8984 (patch) | |
tree | 3a7af0595faea4a98437f8f73b3172529bda3a1d /viewer/src/views | |
parent | 06355c9cebce469d3d827d48043387144c2458a5 (diff) | |
download | ldgallery-170d7a61f720ece9dc4b347b19f5a8213f1d8984.tar.gz |
viewer: prettier formatting based on eslint-prettier plugin
Diffstat (limited to 'viewer/src/views')
-rw-r--r-- | viewer/src/views/GalleryNavigation.vue | 3 | ||||
-rw-r--r-- | viewer/src/views/GallerySearch.vue | 3 | ||||
-rw-r--r-- | viewer/src/views/MainLayout.vue | 7 | ||||
-rw-r--r-- | viewer/src/views/PanelLeft.vue | 4 | ||||
-rw-r--r-- | viewer/src/views/PanelTop.vue | 8 |
5 files changed, 8 insertions, 17 deletions
diff --git a/viewer/src/views/GalleryNavigation.vue b/viewer/src/views/GalleryNavigation.vue index 843550f..fd1f19a 100644 --- a/viewer/src/views/GalleryNavigation.vue +++ b/viewer/src/views/GalleryNavigation.vue | |||
@@ -77,5 +77,4 @@ export default class GalleryNavigation extends Vue { | |||
77 | } | 77 | } |
78 | </script> | 78 | </script> |
79 | 79 | ||
80 | <style lang="scss"> | 80 | <style lang="scss"></style> |
81 | </style> | ||
diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue index 4b98cea..fec7216 100644 --- a/viewer/src/views/GallerySearch.vue +++ b/viewer/src/views/GallerySearch.vue | |||
@@ -54,5 +54,4 @@ export default class GalleryPicture extends Vue { | |||
54 | } | 54 | } |
55 | </script> | 55 | </script> |
56 | 56 | ||
57 | <style lang="scss"> | 57 | <style lang="scss"></style> |
58 | </style> | ||
diff --git a/viewer/src/views/MainLayout.vue b/viewer/src/views/MainLayout.vue index a7af48c..2dd7a57 100644 --- a/viewer/src/views/MainLayout.vue +++ b/viewer/src/views/MainLayout.vue | |||
@@ -18,11 +18,8 @@ | |||
18 | --> | 18 | --> |
19 | 19 | ||
20 | <template> | 20 | <template> |
21 | <div :class="{'fullscreen': $uiStore.fullscreen, 'fullwidth': $uiStore.fullWidth}"> | 21 | <div :class="{ fullscreen: $uiStore.fullscreen, fullwidth: $uiStore.fullWidth }"> |
22 | <ld-title | 22 | <ld-title :gallery-title="$galleryStore.galleryTitle" :current-item="$galleryStore.currentItem" /> |
23 | :gallery-title="$galleryStore.galleryTitle" | ||
24 | :current-item="$galleryStore.currentItem" | ||
25 | /> | ||
26 | <panel-top v-if="!isLoading" class="layout layout-top" /> | 23 | <panel-top v-if="!isLoading" class="layout layout-top" /> |
27 | <panel-left v-if="!isLoading" class="layout layout-left" /> | 24 | <panel-left v-if="!isLoading" class="layout layout-left" /> |
28 | <router-view v-if="!isLoading" ref="content" class="layout layout-content scrollbar" /> | 25 | <router-view v-if="!isLoading" ref="content" class="layout layout-content scrollbar" /> |
diff --git a/viewer/src/views/PanelLeft.vue b/viewer/src/views/PanelLeft.vue index 1d49648..9dc76a0 100644 --- a/viewer/src/views/PanelLeft.vue +++ b/viewer/src/views/PanelLeft.vue | |||
@@ -25,10 +25,10 @@ | |||
25 | @onkeyenter-empty="search" | 25 | @onkeyenter-empty="search" |
26 | /> | 26 | /> |
27 | <ld-command-search @clear="clear" @search="search" /> | 27 | <ld-command-search @clear="clear" @search="search" /> |
28 | <h1 class="title">{{$t('panelLeft.propositions')}}</h1> | 28 | <h1 class="title">{{ $t("panelLeft.propositions") }}</h1> |
29 | <div class="scrollbar no-scroll-x"> | 29 | <div class="scrollbar no-scroll-x"> |
30 | <ld-proposition | 30 | <ld-proposition |
31 | v-for="(category) in $galleryStore.tagsCategories" | 31 | v-for="category in $galleryStore.tagsCategories" |
32 | :key="category.tag" | 32 | :key="category.tag" |
33 | :category="$galleryStore.tagsIndex[category.tag]" | 33 | :category="$galleryStore.tagsIndex[category.tag]" |
34 | :show-category="$galleryStore.tagsCategories.length > 1" | 34 | :show-category="$galleryStore.tagsCategories.length > 1" |
diff --git a/viewer/src/views/PanelTop.vue b/viewer/src/views/PanelTop.vue index 0591f37..f10a722 100644 --- a/viewer/src/views/PanelTop.vue +++ b/viewer/src/views/PanelTop.vue | |||
@@ -20,10 +20,7 @@ | |||
20 | <template> | 20 | <template> |
21 | <div class="flex"> | 21 | <div class="flex"> |
22 | <ld-command :current-item-path="$galleryStore.currentItemPath" /> | 22 | <ld-command :current-item-path="$galleryStore.currentItemPath" /> |
23 | <ld-breadcrumb | 23 | <ld-breadcrumb :current-item-path="$galleryStore.currentItemPath" :search-mode="$uiStore.searchMode" /> |
24 | :current-item-path="$galleryStore.currentItemPath" | ||
25 | :search-mode="$uiStore.searchMode" | ||
26 | /> | ||
27 | </div> | 24 | </div> |
28 | </template> | 25 | </template> |
29 | 26 | ||
@@ -34,5 +31,4 @@ import { Component, Vue } from "vue-property-decorator"; | |||
34 | export default class PanelTop extends Vue {} | 31 | export default class PanelTop extends Vue {} |
35 | </script> | 32 | </script> |
36 | 33 | ||
37 | <style lang="scss"> | 34 | <style lang="scss"></style> |
38 | </style> | ||