From e02255edfba2f055d7a35dea5f6442eeb149632e Mon Sep 17 00:00:00 2001 From: lucas_nz Date: Mon, 31 Aug 2020 22:16:48 +1200 Subject: increase image size in event list, improve layout and loading code. # Conflicts: # www/js/EventCtrl.js --- www/templates/events.html | 113 ++++++++++++++++++++-------------------------- 1 file changed, 50 insertions(+), 63 deletions(-) (limited to 'www/templates') diff --git a/www/templates/events.html b/www/templates/events.html index 3878921a..83ee4f00 100644 --- a/www/templates/events.html +++ b/www/templates/events.html @@ -1,5 +1,5 @@ - {{scrollPosition();}} + {{navTitle;}}   @@ -21,14 +21,19 @@ - + + +
- +
+       {{prettifyTime(event.Event.StartTime)}} {{tzAbbr}}       @@ -40,7 +45,19 @@   {{prettifyDate(event.Event.StartTime)}}  {{tzAbbr}} 
-
+
+ + + + + +
+
+ +
+
+
@@ -70,45 +87,21 @@  {{event.Event.MonitorName}} ({{event.Event.Id}})   -
- {{event.Event.Frames}}   {{event.Event.AlarmFrames}}   - {{event.Event.MonitorId}}   -
- {{humanize(event.Event.Length)}} + {{humanize(event.Event.Length)}}   -
- -
- - -
- - - - - -
- -
- -
-
-
  {{event.Event.Name}}
-   {{prettify(event.Event.StartTime)}} {{tzAbbr}}  -
  {{event.Event.Notes}}
+
+
+ + + + + + {{'kUnflag' + | translate}} + + {{'kFlag' + | translate}} + -
+


-
+

@@ -220,45 +225,27 @@

-
- - - - - {{'kUnflag' - | translate}} - - {{'kFlag' - | translate}} - - - - -
-
-
-
-
-
-
-
-
-
- - +
+ +
-
+
+ +
+ +
+
- +
-- cgit v1.2.3 From 0e5779874010cd8730ee4f788ff4420f70dd2ad2 Mon Sep 17 00:00:00 2001 From: lucas_nz Date: Sat, 29 Aug 2020 21:29:07 +1200 Subject: when click notification in montage, filter event view to only display events since last notification click --- www/templates/menu.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www/templates') diff --git a/www/templates/menu.html b/www/templates/menu.html index f00578b3..2a78bb6e 100644 --- a/www/templates/menu.html +++ b/www/templates/menu.html @@ -42,8 +42,8 @@ {{'kMenuTimeline'|translate}} - - + + {{'kMenuEvents'|translate}} -- cgit v1.2.3 From 1139b026aedbc609189a5b3cb7ef446e1ceec09d Mon Sep 17 00:00:00 2001 From: lucas_nz Date: Sat, 5 Sep 2020 11:41:25 +1200 Subject: select event view thumbnails type, replaces enableThumbs in dev options. Enables selection of different thumbnail types. If gif is selected limit the number of events returned to 5 to improve load time. --- www/templates/devoptions.html | 11 ++++++----- www/templates/events.html | 3 +-- 2 files changed, 7 insertions(+), 7 deletions(-) (limited to 'www/templates') diff --git a/www/templates/devoptions.html b/www/templates/devoptions.html index 435c4c40..00361460 100644 --- a/www/templates/devoptions.html +++ b/www/templates/devoptions.html @@ -189,12 +189,13 @@ -