diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2015-11-01 01:06:40 +0100 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2015-11-01 01:06:40 +0100 |
commit | f7ff8a837bed336a14aa0442ed8286f3ef78f577 (patch) | |
tree | b6fc65c5fed93383ef5c942a8f5855050fc062b5 /web/static/app/templates/front-page.html | |
parent | 2173df227821aefe1cf9aee5d8165fa0a24961e9 (diff) | |
download | diller-server-f7ff8a837bed336a14aa0442ed8286f3ef78f577.tar.gz diller-server-f7ff8a837bed336a14aa0442ed8286f3ef78f577.tar.bz2 diller-server-f7ff8a837bed336a14aa0442ed8286f3ef78f577.tar.xz diller-server-f7ff8a837bed336a14aa0442ed8286f3ef78f577.zip |
core:
o Adding updates of device property's name and description.
web:
o Ading editing of property name and description.
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> |