summaryrefslogtreecommitdiff
path: root/www/templates/events.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates/events.html')
-rw-r--r--www/templates/events.html60
1 files changed, 19 insertions, 41 deletions
diff --git a/www/templates/events.html b/www/templates/events.html
index 7c3b2bf3..0f9a5570 100644
--- a/www/templates/events.html
+++ b/www/templates/events.html
@@ -1,5 +1,5 @@
<ion-view view-title="" cache-view="false">
-<!-- <ion-nav-title>{{viewTitle.title}} Events</ion-nav-title>-->
+ <!-- <ion-nav-title>{{viewTitle.title}} Events</ion-nav-title>-->
<ion-nav-buttons side="left">
<button class="button button-icon button-clear ion-navicon" ng-click="openMenu()"></button>
@@ -7,48 +7,26 @@
<ion-nav-buttons side="right">
<a style="" class="button button-icon icon ion-stats-bars" ng-href="#events-graphs"> </a>
- <a style="" class="button button-icon icon ion-refresh" ng-href="" ng-click="doRefresh();"> </a>
-
- <a style="" class="button button-icon icon ion-search" ng-href="" ng-click="searchClicked();"> </a>
-
-
-
- <!--<a ui-sref="app.events-graphs" class="item" ng-click="toggleMenu()">Tabs</a>-->
-
+ <a style="" class="button button-icon icon ion-refresh" ng-href="" ng-click="doRefresh();"> </a>
+ <a style="" class="button button-icon icon ion-search" ng-href="" ng-click="searchClicked();"> </a>
</ion-nav-buttons>
- <div ng-if="showSearch">
- <ion-header-bar class="bar bar-subheader item-input-inset" >
- <label class="item-input-wrapper" >
- <i class="icon ion-ios7-search placeholder-icon" ></i>
- <input type="search" placeholder="Search" ng-model="search.text" autocorrect="off" autocomplete="off" >
-
- </label>
+ <div ng-if="showSearch">
+ <ion-header-bar class="bar bar-subheader item-input-inset">
+ <label class="item-input-wrapper">
+ <i class="icon ion-ios7-search placeholder-icon"></i>
+ <input type="search" placeholder="Search" ng-model="search.text" autocorrect="off" autocomplete="off">
-</ion-header-bar>
+ </label>
+ </ion-header-bar>
</div>
- <!--
- <ion-header-bar class="bar-dark bar-subheader" >
-
- <div class="bar bar-header item-input-inset" >
- <label class="item-input-wrapper" >
- <i class="icon ion-ios-search placeholder-icon" ></i>
- <input type="search" placeholder="Search" ng-model="myfilter" >
- </label>
-</div>
- </ion-header-bar>
- -->
-
<ion-content on-tap="tapped();">
- <ion-refresher pulling-text="Tap the <i class='ion-refresh'></i> icon above to reload ..." spinner="bubbles" on-refresh="dummyDoRefresh();" ></ion-refresher>
- <!--<ion-list>-->
- <!-- <div ng-repeat="event in events">-->
-
+ <ion-refresher pulling-text="Tap the <i class='ion-refresh'></i> icon above to reload ..." spinner="bubbles" on-refresh="dummyDoRefresh();"></ion-refresher>
- <ion-item collection-repeat="event in events| filter:search.text" >
+ <ion-item collection-repeat="event in events| filter:search.text">
<div class="row">
<div class="col col-left">
@@ -77,22 +55,22 @@
<!-- col col left-->
<div class="col col-80">
- <div class="item-text-wrap"><i class="ion-monitor"></i> <b>{{event.Event.MonitorName}}</b> ({{event.Event.Name}})</div>
+ <div class="item-text-wrap">
+ <i class="ion-monitor"></i> <b>{{event.Event.MonitorName}}</b> ({{event.Event.Name}})
+ </div>
<i class="ion-images"></i> {{event.Event.Frames}} &nbsp;
<i class="ion-ios-bell-outline"></i> {{event.Event.AlarmFrames}} &nbsp;
<i class="ion-arrow-graph-up-right"></i> {{event.Event.TotScore}}
<span style="float:right">
- <button class="button button-small icon icon-left ion-ios-eye" ng-click="openModal(event.Event.Id, event.Event.Name, event.Event.Length)" >View Footage</button></span>
-
+ <button class="button button-small icon icon-left ion-ios-eye"
+ ng-click="openModal(event.Event.Id, event.Event.Name, event.Event.Length)" >View Footage</button>
+ </span>
</div>
- <!--<div class="col">
- <img ng-src="{{event.image}}" style="float:right; height:40px;" />
- </div> -->
-
</div>
+ <!--row-->
<div class="row" style="font-size:80%; color:rgb(110,110,110)">
<div class="item-text-wrap"><i class="ion-calendar"></i>&nbsp;{{event.Event.StartTime}}