summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/timeline-modal.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/templates/timeline-modal.html b/www/templates/timeline-modal.html
new file mode 100644
index 00000000..0a0d9a42
--- /dev/null
+++ b/www/templates/timeline-modal.html
@@ -0,0 +1,18 @@
+<div ng-controller="TimelineModalCtrl">
+ <!-- style="width: 90%; height: 90%; top: 5%; left: 5%; right: 5%; bottom: 5%;"-->
+ <ion-modal-view cache-view="false">
+ <ion-content ng-cloak on-double-tap="closeModal()">
+ <div ng-if="dataReady">
+ <canvas tc-chartjs-line chart-options="options" chart-data="data" auto-legend></canvas>
+ {{json_data}}
+ </div>
+ <div ng-if = "!dataReady">
+ Waiting for data...
+ </div>
+ </ion-content>
+
+ </ion-modal-view>
+
+
+
+</div> \ No newline at end of file