diff options
Diffstat (limited to 'web/static/app/templates/front-page.html')
-rw-r--r-- | web/static/app/templates/front-page.html | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/web/static/app/templates/front-page.html b/web/static/app/templates/front-page.html new file mode 100644 index 0000000..68026c3 --- /dev/null +++ b/web/static/app/templates/front-page.html @@ -0,0 +1,23 @@ +<div class="container"> + + <h2>Devices</h2> + + <table class="table"> + <thead> + <tr> + <th>Registered</th> + <th>Key</th> + </tr> + </thead> + <tbody> + <tr ng-repeat="d in ctrl.devices | orderBy:'key'"> + <td> + {{d.created_timestamp | date:'medium'}} + </td> + <td> + <a href="#/device/{{d.id}}">{{d.key}}</a> + </td> + </tr> + </tbody> + </table> +</div> |