From 5ca33411a4f58e66101e1a16ec2a16ff8a8a41eb Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Wed, 26 Sep 2018 13:14:28 +0200 Subject: [PATCH] Photo search form uses less space and different backgrounds --- frontend/src/app/pages/photos.vue | 110 +++++++++++++++--------------- 1 file changed, 55 insertions(+), 55 deletions(-) diff --git a/frontend/src/app/pages/photos.vue b/frontend/src/app/pages/photos.vue index db220ffe2..3601e4973 100644 --- a/frontend/src/app/pages/photos.vue +++ b/frontend/src/app/pages/photos.vue @@ -19,57 +19,56 @@ {{ advandedSearch ? 'keyboard_arrow_up' : 'keyboard_arrow_down' }} - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + +
-

{{ photo.PhotoTitle | truncate(80) }}

+

{{ photo.PhotoTitle | + truncate(80) }}

date_range {{ photo.TakenAt | moment('DD/MM/YYYY hh:mm:ss') }} @@ -435,7 +435,7 @@ this.window.height = window.innerHeight; }, prevPhoto() { - if(this.viewDialogPhotoIndex < 1 || !this.results[this.viewDialogPhotoIndex - 1]) return false; + if (this.viewDialogPhotoIndex < 1 || !this.results[this.viewDialogPhotoIndex - 1]) return false; this.viewDialogPhotoIndex--; this.viewDialogPhoto = null; @@ -444,7 +444,7 @@ }) }, nextPhoto() { - if(this.viewDialogPhotoIndex >= this.results.length || !this.results[this.viewDialogPhotoIndex + 1]) return false; + if (this.viewDialogPhotoIndex >= this.results.length || !this.results[this.viewDialogPhotoIndex + 1]) return false; this.viewDialogPhotoIndex++; this.viewDialogPhoto = null; @@ -460,7 +460,7 @@ this.updateSnackbar(); }, updateSnackbar(text) { - if(!text) text = ""; + if (!text) text = ""; this.snackbarText = text;