Browse Source

Add new field to add/edit device

pull/1802/head
Vladyslav_Prykhodko 7 years ago
parent
commit
8294240a03
  1. 336
      ui/package-lock.json
  2. 4
      ui/src/app/device/device-fieldset.tpl.html

336
ui/package-lock.json

File diff suppressed because it is too large

4
ui/src/app/device/device-fieldset.tpl.html

@ -71,6 +71,10 @@
ng-model="device.type"
entity-type="types.entityType.device">
</tb-entity-subtype-autocomplete>
<md-input-container class="md-block">
<label translate>Label</label>
<input name="label" ng-model="device.label">
</md-input-container>
<md-input-container class="md-block">
<md-checkbox ng-disabled="$root.loading || !isEdit" flex aria-label="{{ 'device.is-gateway' | translate }}"
ng-model="device.additionalInfo.gateway">{{ 'device.is-gateway' | translate }}

Loading…
Cancel
Save