aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/templates/device.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-10-31 14:09:39 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-10-31 14:09:39 +0100
commit803148d5a23afe207fb5de9ac73c986a324feb9c (patch)
treeb887cede3f56e4e24c05dd9640dbd01afc2b9367 /web/static/app/templates/device.html
parent02d6e77bd180cbbf6f7f6e1a69c670e922d8204d (diff)
downloaddiller-server-803148d5a23afe207fb5de9ac73c986a324feb9c.tar.gz
diller-server-803148d5a23afe207fb5de9ac73c986a324feb9c.tar.bz2
diller-server-803148d5a23afe207fb5de9ac73c986a324feb9c.tar.xz
diller-server-803148d5a23afe207fb5de9ac73c986a324feb9c.zip
core:
o Improved transaction handling. web: o Supporting changing a device's name and description.
Diffstat (limited to 'web/static/app/templates/device.html')
-rw-r--r--web/static/app/templates/device.html14
1 files changed, 10 insertions, 4 deletions
diff --git a/web/static/app/templates/device.html b/web/static/app/templates/device.html
index d126f1d..270c461 100644
--- a/web/static/app/templates/device.html
+++ b/web/static/app/templates/device.html
@@ -56,19 +56,25 @@
<dl class="dl-horizontalX">
<dt class="col-sm-3">Created</dt>
- <dd class="col-sm-9">{{ctrl.device.created_timestamp | date}}</dd>
+ <dd class="col-sm-9">&nbsp;
+ {{ctrl.device.created_timestamp | date}}</dd>
<dt class="col-sm-3">Name</dt>
<dd class="col-sm-9">
- &nbsp;{{ctrl.device.name}}
-
+ {{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>
+ <dd class="col-sm-9">
+ {{ctrl.device.description}}
+
+ <a ng-click="ctrl.editDeviceAttribute('description')" class="pull-right">
+ <i class="fa fa-edit"/>
+ </a>
+ </dd>
</dl>
<h3>Properties</h3>