Skip to content

Commit

Permalink
v.0.3-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
skysilver-lab authored Dec 1, 2017
1 parent 748121f commit 6af5bc1
Showing 1 changed file with 27 additions and 22 deletions.
49 changes: 27 additions & 22 deletions templates/xiaomimiio/miio_devices_search_admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,51 +29,56 @@
<tbody>
[#begin RESULT#]
<tr style="height:52px" class="hover_btn2">
<td style="vertical-align:middle"
>
<td style="vertical-align:middle">
<b>
[#TITLE#]
</a></b>
</td>
<td style="vertical-align:middle"
>
<td style="vertical-align:middle">
[#if DEVICE_TYPE!=""#]
<img src="../templates/xiaomimiio/img/small/[#DEVICE_TYPE#].png" height="40px">
[#else#]
<img src="../templates/xiaomimiio/img/small/unknown.png" height="36px">
[#endif#]
</td>
<td style="vertical-align:middle">
[#if IP!=""#]
[#IP#]
[#else#]
&nbsp;
[#endif#]
</td>
<td style="vertical-align:middle"
>
<td style="vertical-align:middle">
[#if TOKEN!=""#]
[#TOKEN#]
[#else#]
&nbsp;
[#endif#]
</td>
<td style="vertical-align:middle"
>
<td style="vertical-align:middle">
[#if MAC!=""#]
[#MAC#]
[#else#]
&nbsp;
[#endif#]
</td>
<td style="vertical-align:middle"
>
[#if DEVICE_TYPE!=""#]
[#DEVICE_TYPE#]
[#else#]
&nbsp;
[#endif#]
<td style="vertical-align:middle">
[#if DEVICE_TYPE!=""#]
[#DEVICE_TYPE#]
[#else#]
&nbsp;
[#endif#]
</td>
<td style="vertical-align:middle"
>
[#if MODEL!=""#]
[#MODEL#]
[#else#]
&nbsp;
[#endif#]
<td style="vertical-align:middle">
[#if ONLINE!=""#]
[#if ONLINE==1#]
<span class="label label-success" title="Устройство в сети">Online</span>
[#else#]
<span class="label label-warning" title="Устройство не доступно">Offline</span>
[#endif#]
[#else#]
&nbsp;
[#endif#]
</td>
<td style="vertical-align:middle"
>
Expand Down

0 comments on commit 6af5bc1

Please sign in to comment.