Skip to content
Permalink
Browse files

Update edit_device.html

  • Loading branch information...
directman66 committed Jun 11, 2019
1 parent be4e4b3 commit 3fc7ee158b894dd77eeed96d7dac48e8eb8c218a
Showing with 7 additions and 1 deletion.
  1. +7 −1 templates/zigbee2mqtt/edit_device.html
@@ -117,8 +117,12 @@
[#begin SELECTVENDORARRAY#]

<!--<option data-content="<img src='../templates/zigbee2mqtt/img/[#model#].jpg' width='40' height='40'> [#vendor#]: [#model#]" value="[#model#]" [#if DEVICE_TYPE="<#SELECTTYPE#>"#] selected[#endif#]></option>-->



<option data-content="<img src='../templates/zigbee2mqtt/img/[#vendor#].jpg' height='40'> [#vendor#] " value="[#vendor#]" ></option>


[#end SELECTVENDORARRAY#]

</select>
@@ -216,7 +220,9 @@


[#if MODELNAME#]
<a href="https://www.zigbee2mqtt.io/devices/[#SELECTTYPE#]">
<img src="../templates/zigbee2mqtt/img/[#SELECTTYPE#].jpg" class="img-rounded" height="300" width="300">
</a>
[#endif#]
<!--
[#if TITLE="bridge"#]
@@ -252,7 +258,7 @@
document.body.appendChild(script);
script.onload = function() {
// после подгрузки js-файла перерисуем элемент select
// ╨а┬а╨бтАФ╨а┬а╨бтАв╨а╨О╨а╤У╨а┬а╨Т┬╗╨а┬а╨Т┬╡ ╨а┬а╨бтАФ╨а┬а╨бтАв╨а┬а╨втАШ╨а┬а╨бтАУ╨а╨О╨атАЪ╨а╨О╨бтАЬ╨а┬а╨Т┬╖╨а┬а╨бтАЭ╨а┬а╨бтАШ js-╨а╨О╨▓╨В╤Ы╨а┬а╨Т┬░╨а┬а╨▓тАЮтАУ╨а┬а╨Т┬╗╨а┬а╨Т┬░ ╨а┬а╨бтАФ╨а┬а╨Т┬╡╨а╨О╨атАЪ╨а┬а╨Т┬╡╨а╨О╨атАЪ╨а┬а╨бтАШ╨а╨О╨а╤У╨а╨О╨бтАЬ╨а┬а╨Т┬╡╨а┬а╨б┬Ш ╨а╨О╨а╨К╨а┬а╨Т┬╗╨а┬а╨Т┬╡╨а┬а╨б┬Ш╨а┬а╨Т┬╡╨а┬а╨атАж╨а╨О╨▓╨В╤Щ select
$('.selectpicker').selectpicker('render');
}

0 comments on commit 3fc7ee1

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