mul.html 1002 B

123456789101112131415161718192021222324252627282930
  1. {%set loadUrl = '/device/mul?ajax=1' %}
  2. {% if data['ajax'] == False %}
  3. <!DOCTYPE html>
  4. <html>
  5. <head>
  6. {%include '../inc/header.html'%}
  7. <link href="{{static_url('mobile/css/station.css')}}" rel="stylesheet">
  8. </head>
  9. <body>
  10. {%set data['topName'] = '批量控制' %}
  11. {%set data['topUrl'] = '/device' %}
  12. {%include '../inc/top.html'%}
  13. <section class="has-bbar">
  14. <div id="loadMain">
  15. {% end %}
  16. {% for value in data['list'] %}
  17. <li class="form-input">
  18. <label><span>{{value['name']}}</span><p><a href="javascript:;" data-status="{% if value['value'] == '1' %}0{% else %}1{% end %}" onclick="Farm.Switch(this, '/device/mul', '{{value['id']}}')" class="btn btn-switch {% if value['value'] == '1' %}open{% end %}"><i></i></a></p></label>
  19. </li>
  20. {% end %}
  21. {% if data['ajax'] == False %}
  22. </div>
  23. </section>
  24. {%include '../inc/script.html'%}
  25. {%include 'inc/load.html'%}
  26. </body>
  27. </html>
  28. {% end %}