env.html 896 B

1234567891011121314151617181920212223242526
  1. {% extends "../theme.html" %}
  2. {% block content %}
  3. {%include 'inc/menu.html'%}
  4. <div class="pannel">
  5. <div class="ul6 mt10">
  6. {% for v in data['list'] %}
  7. <dl>
  8. <dd class="tit" style="margin-left:0px;">
  9. <b>{{v['name']}}</b>:{{v['device']['value']}}{{v['type']['unit']}}
  10. <p>
  11. <a href="javascript:;" onclick="Farm.Page('修改环境', '/main/env_update?id={{v['id']}}')">修改</a>
  12. <a href="javascript:;" onclick="Farm.Delete(this, '{{v['id']}}', '/main/env_update?id={{v['id']}}')">删除</a>
  13. </p>
  14. </dd>
  15. </dl>
  16. {% end %}
  17. </div>
  18. </div>
  19. {%set url = data['url']['product'] %}
  20. {%include '../inc/page.html'%}
  21. {% end %}
  22. {% block script %}
  23. <script type="text/javascript" src="{{static_url('pc/lib/layui/layui.js')}}"></script>
  24. {% end %}