aboutsummaryrefslogtreecommitdiff
path: root/web/app/templates
diff options
context:
space:
mode:
Diffstat (limited to 'web/app/templates')
-rw-r--r--web/app/templates/device.html21
-rw-r--r--web/app/templates/front-page.html24
-rw-r--r--web/app/templates/property.html36
3 files changed, 0 insertions, 81 deletions
diff --git a/web/app/templates/device.html b/web/app/templates/device.html
deleted file mode 100644
index ae028b5..0000000
--- a/web/app/templates/device.html
+++ /dev/null
@@ -1,21 +0,0 @@
-<div class="container">
-
- <h1>
- {{ctrl.device.key}}
- <small class="text-muted">device</small>
- </h1>
-
- <ul>
- <li>Created: {{ctrl.device.created_timestamp | date}}</li>
- <li>Name: {{ctrl.property.name}}</li>
- <li>Description: {{ctrl.property.description}}</li>
- </ul>
-
- <h3>Properties</h3>
-
- <ul>
- <li ng-repeat="p in ctrl.device.properties | orderBy:'key'">
- <a href="#/device/{{ctrl.device.id}}/property/{{p.id}}">{{p.key}}</a>
- </li>
- </ul>
-</div>
diff --git a/web/app/templates/front-page.html b/web/app/templates/front-page.html
deleted file mode 100644
index 1846dea..0000000
--- a/web/app/templates/front-page.html
+++ /dev/null
@@ -1,24 +0,0 @@
-<div class="container">
-
- <h1>
- Diller
- <small class="text-muted">All your sensor data are belong to us</small>
- </h1>
-
- <h2>Devices</h2>
-
- <table>
- <thead>
- <tr>
- <th>Key</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="d in ctrl.devices | orderBy:'key'">
- <td>
- <a href="#/device/{{d.id}}">{{d.key}}</a>
- </td>
- </tr>
- </tbody>
- </table>
-</div>
diff --git a/web/app/templates/property.html b/web/app/templates/property.html
deleted file mode 100644
index 65a66e8..0000000
--- a/web/app/templates/property.html
+++ /dev/null
@@ -1,36 +0,0 @@
-<div class="container">
-
- <h1>
- <a href="#/device/{{ctrl.device.id}}">{{ctrl.device.key}}</a>
- <small class="muted">device</small>
- </h1>
-
- <h2>
- {{ctrl.property.key}}
- <small class="muted">property</small>
- </h2>
-
- <ul>
- <li>Created: {{ctrl.property.created_timestamp | date}}</li>
- <li>Name: {{ctrl.property.name}}</li>
- <li>Description: {{ctrl.property.description}}</li>
- </ul>
-
- <h3>Latest Values</h3>
-
- <table class="table">
- <thead>
- <tr>
- <th>Timestamp</th>
- <th>Value</th>
- </tr>
- </thead>
- <tbody>
- <tr ng-repeat="v in ctrl.values">
- <td>{{v.timestamp | date:'medium'}}</td>
- <td>{{v.value}}</td>
- </tr>
- </tbody>
- </table>
-
-</div>