-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·36 lines (36 loc) · 1.31 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<html>
<body>
<div ng-app="DeviceDataEntries">
<h1>Smart Meter Data Entries</h1>
<h2><a target="_self" href="https://device-wrapper-santos.energolabs.com/api/v1/devices/data?token=6926a45f-7993-4aca-b116-ece074240ba1&limit=10000000" download="data.json">Download Data Export</a></h2>
<div ng-controller="MainCtrl">
<table style="border: 1px solid black; width: 100%; border-bottom: 1px solid #ddd;">
<tr>
<th>DB Input Time</th>
<th>IMEI</th>
<th>A</th>
<th>P</th>
<th>ST</th>
<th>TS</th>
<th>V1</th>
<th>V2</th>
</tr>
<tr ng-repeat="char in characters">
<th>{{char.created_at}}</th>
<th><a target="_self" href="?imei={{char.IMEI}}">{{char.IMEI}}</a></th>
<th>{{char.A}}</th>
<th>{{char.P}}</th>
<th><a target="_self" href="?st={{char.ST}}">{{char.ST}}</a></th>
<th>{{char.TS}}</th>
<th>{{char.V1}}</th>
<th>{{char.V2}}</th>
</tr>
<table>
</div>
</div>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.5.0-beta.1/angular.js"></script>
<script type="text/javascript" src="js/app.js"></script>
<script type="text/javascript" src="js/main-ctrl.js"></script>
<script type="text/javascript" src="js/device-data-entries-service.js"></script>
</body>
</html>