summaryrefslogtreecommitdiff
path: root/www/templates/events-graphs.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates/events-graphs.html')
-rw-r--r--www/templates/events-graphs.html53
1 files changed, 20 insertions, 33 deletions
diff --git a/www/templates/events-graphs.html b/www/templates/events-graphs.html
index 91b58001..b3d19832 100644
--- a/www/templates/events-graphs.html
+++ b/www/templates/events-graphs.html
@@ -6,74 +6,61 @@
<!-- I'm calling the same controller function but with different parameters when
you switch between tabs -->
+
+ <!-- All Events view -->
<ion-tabs class="tabs-icon-top tabs-stable">
<ion-tab title="All" icon="ion-stats-bars" on-select="generateTCChart(0,'All Events',0)">
<ion-nav-view>
<ion-content class="has-header">
<canvas tc-chartjs-bar chart-data="data" chart-options="options" ng-click="handleChartClick($event)" chart="chart1">
</canvas>
-
-
</ion-content>
</ion-nav-view>
</ion-tab>
-
-
-
- <ion-tab title="Last Hour" icon="ion-stats-bars" on-select="generateTCChart(1,'Events in the last hour',1)">
+ <!-- All Events in the last hour -->
+ <ion-tab title="Last Hour" icon="ion-stats-bars"
+ on-select="generateTCChart(1,'Events in the last hour',1)">
<ion-nav-view>
-
<ion-content>
- <span></span>
-
-
-
-
<div style="overflow:scroll;">
- <canvas tc-chartjs-bar chart-data="data" chart-options="options" ng-click="handleChartClick($event)" chart="chart2">
+ <canvas tc-chartjs-bar chart-data="data" chart-options="options"
+ ng-click="handleChartClick($event)" chart="chart2">
</canvas>
</div>
- </canvas>
-
- <!-- <div google-chart chart="chartObject[1]"></div>-->
- </div>
-
</ion-content>
</ion-nav-view>
</ion-tab>
- <ion-tab title="Day" icon="ion-stats-bars" on-select="generateTCChart(2,'Events in the last day',24)">
+ <!-- All Events in last 24 hrs -->
+ <ion-tab title="Day" icon="ion-stats-bars"
+ on-select="generateTCChart(2,'Events in the last day',24)">
<ion-nav-view>
-
<ion-content>
- <span></span>
<div style="overflow:scroll;">
- <canvas tc-chartjs-bar chart-data="data" chart-options="options" chart="chart3" ng-click="handleChartClick($event)">
+ <canvas tc-chartjs-bar chart-data="data"
+ chart-options="options" chart="chart3"
+ ng-click="handleChartClick($event)">
</canvas>
</div>
-
</ion-content>
</ion-nav-view>
</ion-tab>
- <ion-tab title="Week" icon="ion-stats-bars" on-select="generateTCChart(3,'Events in the last week',168)">
- <ion-nav-view>
+ <!-- All Events in last week -->
+ <ion-tab title="Week" icon="ion-stats-bars"
+ on-select="generateTCChart(3,'Events in the last week',168)">
+ <ion-nav-view>
<ion-content>
- <span></span>
- <!--
- <div google-chart chart="chartObject[3]"></div>-->
<div style="overflow:scroll;">
- <canvas tc-chartjs-bar chart-data="data" chart-options="options" chart="chart4" ng-click="handleChartClick($event)">
+ <canvas tc-chartjs-bar chart-data="data"
+ chart-options="options" chart="chart4"
+ ng-click="handleChartClick($event)">
</canvas>
</div>
</ion-content>
</ion-nav-view>
</ion-tab>
-
</ion-tabs>
-
-
-
</ion-view>