diff options
Diffstat (limited to 'web/static/app/templates/front-page.html')
-rw-r--r-- | web/static/app/templates/front-page.html | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/web/static/app/templates/front-page.html b/web/static/app/templates/front-page.html index 68026c3..e2ee38b 100644 --- a/web/static/app/templates/front-page.html +++ b/web/static/app/templates/front-page.html @@ -5,17 +5,19 @@ <table class="table"> <thead> <tr> + <th>Name</th> <th>Registered</th> - <th>Key</th> </tr> </thead> <tbody> - <tr ng-repeat="d in ctrl.devices | orderBy:'key'"> + <tr ng-repeat="d in ctrl.devices | orderBy:['name', 'key']"> <td> - {{d.created_timestamp | date:'medium'}} + <a href="#/device/{{d.id}}"> + {{(d.name || d.key)}} + </a> </td> <td> - <a href="#/device/{{d.id}}">{{d.key}}</a> + {{d.created_timestamp | date:'medium'}} </td> </tr> </tbody> |