aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/templates/device.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-10-31 12:04:28 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-10-31 12:04:28 +0100
commit02d6e77bd180cbbf6f7f6e1a69c670e922d8204d (patch)
treec55847b71e589f79ce6537f2b61f3691fe8bf220 /web/static/app/templates/device.html
parentdd72e7992f126c4a42a0791228400738072f297d (diff)
downloaddiller-server-02d6e77bd180cbbf6f7f6e1a69c670e922d8204d.tar.gz
diller-server-02d6e77bd180cbbf6f7f6e1a69c670e922d8204d.tar.bz2
diller-server-02d6e77bd180cbbf6f7f6e1a69c670e922d8204d.tar.xz
diller-server-02d6e77bd180cbbf6f7f6e1a69c670e922d8204d.zip
web:
o Starting on edit button for device name.
Diffstat (limited to 'web/static/app/templates/device.html')
-rw-r--r--web/static/app/templates/device.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/web/static/app/templates/device.html b/web/static/app/templates/device.html
index b8936f3..d126f1d 100644
--- a/web/static/app/templates/device.html
+++ b/web/static/app/templates/device.html
@@ -59,7 +59,13 @@
<dd class="col-sm-9">{{ctrl.device.created_timestamp | date}}</dd>
<dt class="col-sm-3">Name</dt>
- <dd class="col-sm-9">&nbsp;{{ctrl.device.name}}</dd>
+ <dd class="col-sm-9">
+ &nbsp;{{ctrl.device.name}}
+
+ <a ng-click="ctrl.editDeviceAttribute('name')" class="pull-right">
+ <i class="fa fa-edit"/>
+ </a>
+ </dd>
<dt class="col-sm-3">Description</dt>
<dd class="col-sm-9">&nbsp;{{ctrl.device.description}}</dd>