{% extends "../theme.html" %}

{% block content %}
<div class="pannel">
<h2>设备综合管控</h2>
<ul class="ul1">
    {% for value in data['page'] %}
    <li><a href="/device/data?type=page&id={{value['id']}}"><i class="icons ico-{{value['ico']}}"></i>{{value['name']}}</a></li>
    {% end %}
    <li style="display:none;"><a href="/device/control"><i class="icons ico-kz"></i>控制设备</a></li>
    <li style="display:none;"><a href="/device/field"><i class="icons ico-syt"></i>试验田</a></li>
    <li><a href="/device/mul"><i class="icons ico-pl"></i>批量控制</a></li>
    <li><a href="/device/screen" target="_blank"><i class="icons ico-dpm"></i>大屏幕</a></li>
    <li><a href="/device/group"><i class="icons ico-fz"></i>设备分组</a></li>
    <li><a href="/device/set_mul"><i class="icons ico-zn"></i>智能设置</a></li>
</ul>
</div>
<div class="pannel">
<h2>设备管理</h2>
<ul class="ul2">
    {% for value in data['gateway'] %}
    <li><a href="/device/data?type=gateway&id={{value['id']}}"><i class="icons ico-wg"></i>{{value['name']}}</a></li>
    {% end %}
</ul>
</div>
{% end %}

{% block script %}
{% end %}