Skip to content
Permalink
Browse files

Update edit_device.html

  • Loading branch information...
directman66 committed Apr 22, 2019
1 parent 9b10f26 commit 5ad68ba31893b7c39f2e834f01518dea23e97333
Showing with 12 additions and 8 deletions.
  1. +12 −8 templates/zigbee2mqtt/edit_device.html
@@ -48,7 +48,11 @@
<div class="form-group">
<label class="control-label">GROUP (NEW):</label>
<div class="col-md-6 input-group">
<!--
<input type="text" class="form-control" value="[#GROUP#]" name="creategroup" >
-->

<input type="text" class="form-control" value="" name="creategroup" >
<div class="input-group-btn">
</div> </div>

@@ -60,23 +64,23 @@

<div class="form-group">
<label class="control-label"[#if ERR_LOCATION_ID#] style="color:red;font-weight:bold"[#endif#]>
GROUP:
GROUP (SELECT):
</label>



<div class="col-md-6 input-group">

<select name="devlocid" class="form-control input">
<select name="selectdevicegroup" class="form-control input">
<option value="">select
[#begin GROUPS#]<option value="[#ID#]"[#if SELECTED#] selected[#endif#]>[#TITLE#]
[#begin GROUPS#]<option value="[#TITLE#]"[#if SELECTED#] selected[#endif#]>[#TITLE#]
[#end GROUPS#]
</select>
</div>
</div>



<!--
<div class="form-group">
@@ -87,7 +91,7 @@
</div> </div> </div>

-->


<!----------------------------------------->
@@ -159,7 +163,7 @@




<!--
<div class="form-group">
@@ -169,7 +173,7 @@
<div class="input-group-btn">
</div> </div> </div>

-->

<div class="form-group">
<label class="control-label">DESCRIPTION</label>
@@ -248,7 +252,7 @@
document.body.appendChild(script);
script.onload = function() {
// после подгрузки js-файла перерисуем элемент select
// после подгрузки js-файла перерисуем элемент select
$('.selectpicker').selectpicker('render');
}

0 comments on commit 5ad68ba

Please sign in to comment.
You can’t perform that action at this time.