aboutsummaryrefslogtreecommitdiff
path: root/viewer/src/views/GallerySearch.vue
diff options
context:
space:
mode:
authorZero~Informatique2020-01-29 04:53:35 +0100
committerNotkea2020-01-29 21:59:12 +0100
commit8d543ab94d3678728466d3627e0d419ec00f3010 (patch)
tree69cc8bcba4314a30aba2cf7db4312155ef2bf76c /viewer/src/views/GallerySearch.vue
parent084c509fad0fdf2415587e0e3af8e86fd306447a (diff)
downloadldgallery-8d543ab94d3678728466d3627e0d419ec00f3010.tar.gz
viewer: finalized the thumbnails view layouts. implemented thumbnails lazy-loading
Diffstat (limited to 'viewer/src/views/GallerySearch.vue')
-rw-r--r--viewer/src/views/GallerySearch.vue5
1 files changed, 4 insertions, 1 deletions
diff --git a/viewer/src/views/GallerySearch.vue b/viewer/src/views/GallerySearch.vue
index 7e61f89..870d3e2 100644
--- a/viewer/src/views/GallerySearch.vue
+++ b/viewer/src/views/GallerySearch.vue
@@ -18,13 +18,16 @@
18--> 18-->
19 19
20<template> 20<template>
21 <div class="flex"> 21 <div class="thumbnail-tiles">
22 <div v-for="(item) in items" :key="item.path"> 22 <div v-for="(item) in items" :key="item.path">
23 <router-link :to="item.path" @click.native="$uiStore.setModeNavigation()"> 23 <router-link :to="item.path" @click.native="$uiStore.setModeNavigation()">
24 <gallery-thumbnail :item="item" /> 24 <gallery-thumbnail :item="item" />
25 </router-link> 25 </router-link>
26 </div> 26 </div>
27 <div v-if="items.length===0">{{$t('search.no-results')}}</div> 27 <div v-if="items.length===0">{{$t('search.no-results')}}</div>
28 <div>
29 <!-- Empty item for better flex layout -->
30 </div>
28 </div> 31 </div>
29</template> 32</template>
30 33