summaryrefslogtreecommitdiff
path: root/www/templates/moment.html
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2017-12-20 12:20:54 -0500
committerPliable Pixels <pliablepixels@gmail.com>2017-12-20 12:20:54 -0500
commit7482599ccaf95c7a23ca2118052c53775a0514d5 (patch)
treebbc6300a0a892e734e91d97337405aabb6b6aeae /www/templates/moment.html
parentd2eef84479c99e11f01927ffe119a20669f3c450 (diff)
#570 removed paddings, also added pinning capability for collapse
Diffstat (limited to 'www/templates/moment.html')
-rw-r--r--www/templates/moment.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/www/templates/moment.html b/www/templates/moment.html
index bdd64b6a..f90ea0de 100644
--- a/www/templates/moment.html
+++ b/www/templates/moment.html
@@ -22,7 +22,7 @@
</div>
- <ion-content class="padding" delegate-handle="moment-delegate" overflow-scroll="false" mouse-wheel-scroll style="background-color:#444444" >
+ <ion-content delegate-handle="moment-delegate" overflow-scroll="false" mouse-wheel-scroll style="background-color:#444444" >
<div ng-if="isSubMenu">
@@ -66,12 +66,15 @@
<figure class="grid-item grid-item-{{gridSize}}" ng-repeat="moment in moments | onlyEnabledMoments">
- <figcaption class="normal-figheader">{{moment.Event.monitorName}}<span style="float:right"><button class="button button-small button-icon icon {{moment.Event.icon}}" ng-click="toggleCollapse(moment.Event.MonitorId, moment.Event.Id, $index)"></button>{{moment.Event.collapseCount}}&nbsp;</span></figcaption>
+ <figcaption class="normal-figheader">&nbsp;{{moment.Event.monitorName}}<span style="float:right"><button class="button button-small button-icon icon {{moment.Event.icon}}" ng-click="toggleCollapse(moment.Event.MonitorId, moment.Event.Id, $index)"></button>{{moment.Event.collapseCount}}&nbsp;</span></figcaption>
<img image-spinner-src="{{moment.Event.baseURL}}/index.php?view=image&fid={{moment.Event.MaxScoreFrameId}}&width={{moment.Event.thumbWidth*2}}&height={{moment.Event.thumbHeight*2}}" img-spinner-w="{{moment.Event.width}}"
img-spinner-h="{{moment.Event.height}}" image-spinner-loader="lines"
on-tap="playEvent(moment)"/>
+
+ <figcaption class="normal-subfigcaption"><span style="float:right"><button class="button button-small button-icon icon {{moment.Event.pinnedIcon}}" ng-click="togglePin( $index)"></button></span></figcaption>
+
<!--on-tap="showThumbnail(moment.Event.baseURL,moment.Event.MaxScoreFrameId)"-->
- <figcaption class="normal-figcaption">{{moment.Event.humanizeTime}}<span style="float:right">{{hourmin(moment.Event.StartTime)}}</span></figcaption>
+ <figcaption class="normal-figcaption">&nbsp;{{moment.Event.humanizeTime}}<span style="float:right">{{hourmin(moment.Event.StartTime)}}&nbsp;</span></figcaption>
</figure>
</div>