aboutsummaryrefslogtreecommitdiff
path: root/web/static/app/templates/device-edit-attribute.modal.html
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2015-11-01 01:06:40 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2015-11-01 01:06:40 +0100
commitf7ff8a837bed336a14aa0442ed8286f3ef78f577 (patch)
treeb6fc65c5fed93383ef5c942a8f5855050fc062b5 /web/static/app/templates/device-edit-attribute.modal.html
parent2173df227821aefe1cf9aee5d8165fa0a24961e9 (diff)
downloaddiller-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/device-edit-attribute.modal.html')
-rw-r--r--web/static/app/templates/device-edit-attribute.modal.html32
1 files changed, 0 insertions, 32 deletions
diff --git a/web/static/app/templates/device-edit-attribute.modal.html b/web/static/app/templates/device-edit-attribute.modal.html
deleted file mode 100644
index 2e57f2d..0000000
--- a/web/static/app/templates/device-edit-attribute.modal.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<form name="form" ng-submit="ctrl.update()">
- <div class="modal-header">
- <button type="button" class="close" ng-click="$dismiss()">
- <span>&times;</span>
- </button>
- <h4 class="modal-title">Edit device {{ctrl.attributeName}}</h4>
- </div>
- <div class="modal-body">
- <fieldset class="form-group">
- <label for="attribute" class="text-capitalize">{{ctrl.label}}</label>
- <input type="text" class="form-control" id="attribute" autofocus
- ng-model="ctrl.value"/>
- </fieldset>
- </div>
- <div class="modal-footer">
-
- <div class="row">
- <div class="col-sm-7 text-left">
- <p class="form-control-static">
- {{ctrl.error}}
- </p>
- </div>
- <div class="col-sm-5">
- <button type="button" class="btn btn-secondary" ng-click="$dismiss()">Cancel</button>
- <button type="submit" class="btn btn-primary"
- ng-disabled="form.$invalid">
- Update
- </button>
- </div>
- </div>
- </div>
-</form>