summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/moment.html40
1 files changed, 22 insertions, 18 deletions
diff --git a/www/templates/moment.html b/www/templates/moment.html
index 47892264..9852b925 100644
--- a/www/templates/moment.html
+++ b/www/templates/moment.html
@@ -96,25 +96,29 @@
<div class="grid" id="mygrid">
+
+ <span ng-if="uiReady" class="grid-item grid-item-{{gridSize}}" ng-repeat="moment in moments">
+ <figure ng-show="!moment.Event.hide">
+ <figcaption ng-show="showIcons" class="normal-figheader">&nbsp;{{::moment.Event.monitorName}}({{::moment.Event.Id}})
+ <span style="float:right">
+ <button class="button button-small button-icon icon {{moment.Event.icon}}" ng-click="toggleCollapse(moment.Event.MonitorId, moment.Event.Id)"></button>{{moment.Event.collapseCount}}&nbsp;</span>
+ </figcaption>
+ <img image-spinner-src="{{::constructFrame(moment)}}" img-spinner-w="{{::moment.Event.width}}" img-spinner-h="{{::moment.Event.height}}"
+ image-spinner-loader="lines" on-tap="playEvent(moment)" />
+
+ <div ng-show="showIcons" class="normal-subfigcaption">
+ <button ng-class="moment.Event.pinned? 'button button-small button-icon icon ion-ios-flag assertive': 'button button-small button-icon icon ion-pin'"
+ ng-click="togglePin(moment.Event.Id)"></button>
+
+ </div>
+
+ <figcaption ng-show="showIcons" class="normal-figcaption">&nbsp;{{::moment.Event.humanizeTime}}
+ <span style="float:right">{{::hourmin(moment.Event.StartTime)}}&nbsp;</span>
+ </figcaption>
+ </figure>
+
+ </span>
- <figure class="grid-item grid-item-{{gridSize}}" ng-repeat="moment in moments | onlyEnabledMoments">
- <figcaption ng-if="showIcons" 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)"></button>{{moment.Event.collapseCount}}&nbsp;</span>
- </figcaption>
- <img image-spinner-src="{{constructFrame(moment)}}" img-spinner-w="{{moment.Event.width}}" img-spinner-h="{{moment.Event.height}}"
- image-spinner-loader="lines" on-tap="playEvent(moment)" />
-
- <div ng-if="showIcons" class="normal-subfigcaption">
- <button ng-class="moment.Event.pinned? 'button button-small button-icon icon ion-ios-flag assertive': 'button button-small button-icon icon ion-pin'"
- ng-click="togglePin(moment.Event.Id)"></button>
-
- </div>
-
- <figcaption ng-if="showIcons" class="normal-figcaption">&nbsp;{{::moment.Event.humanizeTime}}
- <span style="float:right">{{hourmin(moment.Event.StartTime)}}&nbsp;</span>
- </figcaption>
- </figure>
</div>