Skip to content

Commit

Permalink
Update mqtt_edit.html
Browse files Browse the repository at this point in the history
  • Loading branch information
directman66 committed Jan 14, 2019
1 parent 8f33219 commit c00da4a
Showing 1 changed file with 26 additions and 1 deletion.
27 changes: 26 additions & 1 deletion templates/zigbee2mqtt/mqtt_edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@
[#endif ID#]
<!-- TITLE (varchar) -->

<div class="form-group">
<label class="control-label"[#if ERR_METRIKA#] style="color:red;font-weight:bold"[#endif#]>
ID:
(*)
</label>
<div class="controls"><input type="text" name="id" value="[#ID#]" class="input form-control" disabled></div>
</div>

<div class="form-group">
<label class="control-label"[#if ERR_METRIKA#] style="color:red;font-weight:bold"[#endif#]>
DEV_ID:
(*)
</label>
<div class="controls"><input type="text" name="dev_id" value="[#DEV_ID#]" class="input form-control" disabled></div>
</div>

<div class="form-group">
<label class="control-label"[#if ERR_METRIKA#] style="color:red;font-weight:bold"[#endif#]>
Metrika:
Expand All @@ -24,6 +40,15 @@
<div class="controls"><input type="text" name="metrika" value="[#METRIKA#]" class="input form-control" disabled></div>
</div>

<div class="form-group">
<label class="control-label"[#if ERR_METRIKA#] style="color:red;font-weight:bold"[#endif#]>
PATH_WRITE:
(*)
</label>
<div class="controls"><input type="text" name="path_write" value="[#PATH_WRITE#]" class="input form-control" disabled></div>
</div>




<div class="form-group">
Expand Down Expand Up @@ -126,7 +151,7 @@
[#else ID#]
<button type="submit" name="subm" value="<#LANG_ADD#>" class="btn btn-defaul btn-primary"><#LANG_ADD#></button>
[#endif ID#]
<a href="?" class="btn btn-default"><#LANG_CANCEL#></a>
<a href="?view_mode=view_mqtt&id=[#DEV_ID#]&tab=edit_data" class="btn btn-default"><#LANG_CANCEL#></a>

[#if ID!=""#]
&nbsp;&nbsp;&nbsp;
Expand Down

0 comments on commit c00da4a

Please sign in to comment.