summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpliablepixels <pliablepixels@gmail.com>2016-03-10 20:46:25 -0500
committerpliablepixels <pliablepixels@gmail.com>2016-03-10 20:46:25 -0500
commit4f8911e27cefd9984dd092812d86c9f48f994c30 (patch)
tree9a07eab787b320aa1716492daaa434a89d298120
parenta5ccca3c026ff5a3256768239c57dc587775064d (diff)
fixed case when frames are less than 360px
Former-commit-id: 42c6bd6fba09a0c752f32d86022b81fd2a86e5e9
-rw-r--r--www/templates/events.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index 41e29ee4..ba39e652 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -135,7 +135,7 @@
<div ng-if="groupType=='alarms'">
<br/><br/>
- <div style="height:190px">
+ <div style="height:190px;">
<p>scroll <i class="icon ion-arrow-left-c"></i>
<i class="icon ion-arrow-right-c"></i></p>
<ion-scroll direction="x" >
@@ -144,7 +144,7 @@
<figure style="display:inline-block">
<figcaption><p>frame:{{alarm.id}} score:{{alarm.score}}</p></figcaption>
- <img image-spinner-src="{{playbackURL}}/index.php?view=image&path={{event.Event.relativePath}}{{alarm.fname}}&height=380" height="170px" />
+ <img image-spinner-src="{{playbackURL}}/index.php?view=image&path={{event.Event.relativePath}}{{alarm.fname}}&height=380" style="width: auto; height: auto;max-width: 100%;max-height: 170px" />
</figure>