From 79d2427d6d44df8cf20907420eccf87c06b821d9 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Tue, 14 Jul 2015 16:02:57 -0400 Subject: Feed screens now have a grey background, also have ability to scale images to crop or fit --- www/templates/events-modal.html | 6 ++++-- www/templates/monitors-modal.html | 15 +++++++++------ www/templates/montage.html | 4 ++-- 3 files changed, 15 insertions(+), 10 deletions(-) (limited to 'www/templates') diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index a37e12d2..9f3f257f 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -1,12 +1,14 @@ - +
+
+ ng-src="{{loginData.streamingurl}}/cgi-bin/zms?source=event&mode=jpeg&event={{eventId}}&frame=1&maxfps={{loginData.maxFPS}}&replay=single&user={{loginData.username}}&pass={{loginData.password}}&connkey={{connKey}}&rand={{rand}}" ng-class="{'zm-image-fit':imageStyle==true, 'zm-image-crop':imageStyle==false}" /> +
diff --git a/www/templates/monitors-modal.html b/www/templates/monitors-modal.html index 0e1401ab..e1d5c98a 100644 --- a/www/templates/monitors-modal.html +++ b/www/templates/monitors-modal.html @@ -1,18 +1,20 @@ - +
+ +
- - + +
-
@@ -24,7 +26,8 @@ diff --git a/www/templates/montage.html b/www/templates/montage.html index 00ac7d62..d63a3bcd 100644 --- a/www/templates/montage.html +++ b/www/templates/montage.html @@ -26,9 +26,9 @@ - +
- +
-- cgit v1.2.3