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

{% block content %}
{%include 'inc/menu.html'%}
<div class="pannel">
    <div class="ul6 mt10">
    	{% for v in data['list'] %}
		<dl>
            <dd class="tit" style="margin-left:0px;">
                <b>{{v['name']}}</b>：{{v['device']['value']}}{{v['type']['unit']}}
                <p>
                    <a href="javascript:;" onclick="Farm.Page('修改环境', '/main/env_update?id={{v['id']}}')">修改</a>
                    <a href="javascript:;" onclick="Farm.Delete(this, '{{v['id']}}', '/main/env_update?id={{v['id']}}')">删除</a>
                </p>
            </dd>    
        </dl>
        {% end %}
    </div>
</div>
{%set url = data['url']['product'] %}
{%include '../inc/page.html'%}
{% end %}

{% block script %}
<script type="text/javascript" src="{{static_url('pc/lib/layui/layui.js')}}"></script>
{% end %}