Skip to content
Permalink
Browse files

Update devices_edit_default.html

  • Loading branch information...
directman66 committed Oct 3, 2018
1 parent 9159d92 commit fa0bd5ad0cb19c512fe293ff6eccaaf0a0febf4b
Showing with 41 additions and 16 deletions.
  1. +41 −16 templates/magichome/devices_edit_default.html
@@ -1,4 +1,3 @@
<link rel="stylesheet" href="../templates/xiaomimiio/css/bootstrap-select.min.css">

<form action="?" method="post" enctype="multipart/form-data" name="frmEdit" class="form-horizontal">
[#if OK#]
@@ -8,18 +7,14 @@
[#if ERR#]
<div class="alert alert-error"><#LANG_FILLOUT_REQURED#></div>
[#endif ERR#]
<table width="100%"><tr><td>


<table width="100%"><tr><td>
<fieldset>
[#if ID=""#]
<legend><#LANG_ADD#> <#LANG_DEVICE#></legend>
[#endif ID#]

<div class="form-group">
<label class="col-lg-3 control-label"[#if ERR_TITLE#] style="color:red;font-weight:bold"[#endif#]>
<#LANG_TITLE#> (*):
</label>
<div class="col-lg-4"><input type="text" class="form-control" name="title" value="[#TITLE#]" id="title"></div>
</div>

<div class="form-group">
<label class="col-lg-3 control-label"[#if ERR_IP#] style="color:red;font-weight:bold"[#endif#]>
@@ -29,12 +24,21 @@
</div>


[#if TITLE!=""#]
<div class="form-group">
<label class="col-lg-3 control-label"[#if ERR_PASSWORD#] style="color:red;font-weight:bold"[#endif#]>
PASSWORD (*):
</label>
<div class="col-lg-4"><input type="text" class="form-control" name="password" value="[#PASSWORD#]" id="ip"></div>
</div>



[#if SERIAL!=""#]
<div class="form-group">
<label class="col-lg-3 control-label">
Модель:
<#LANG_SERIAL#>:
</label>
<div class="col-lg-4">[#TITLE#]</div>
<div class="col-lg-4">[#SERIAL#]</div>
</div>
[#endif#]

@@ -47,6 +51,8 @@
</div>
[#endif#]



[#if MAC!=""#]
<div class="form-group">
<label class="col-lg-3 control-label"[#if ERR_MAC#] style="color:red;font-weight:bold"[#endif#]>
@@ -55,11 +61,32 @@
<div class="col-lg-4">[#MAC#]</div>
</div>
[#endif#]









[#if MODEL!=""#]
<div class="form-group">
<label class="col-lg-3 control-label"[#if ERR_MODEL#] style="color:red;font-weight:bold"[#endif#]>
MODEL:
</label>
<div class="col-lg-4">[#MODEL#]</div>
</div>
[#endif#]

[#if HW_VER!=""#]
<div class="form-group">
<label class="col-lg-3 control-label"[#if ERR_HW_VER#] style="color:red;font-weight:bold"[#endif#]>
HW_VER:
</label>
<div class="col-lg-4">[#HW_VER#]</div>
</div>
[#endif#]



<div class="form-group">
<div class="col-lg-offset-3 col-lg-4">
@@ -79,8 +106,6 @@
</div>
</fieldset>
</form>

</td><td>
<img src="../img/modules/[#TITLE#].png" width="400">
<img src="../img/modules/img_[#MODEL#].png" width="400">
</td></tr></table>

0 comments on commit fa0bd5a

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