1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <!DOCTYPE html>
- <html>
- <head>
- {%include '../inc/header.html'%}
- </head>
- <body>
- {%set data['topName'] = data['info']['name'] %}
- {%set data['topUrl'] = '/device' %}
- {%include '../inc/top.html'%}
- <form action="/device/stat" method="get">
- <input type="hidden" name="type" id="type" value="{{data['input']['type']}}" />
- <input type="hidden" name="id" id="id" value="{{data['input']['id']}}" />
- <input type="hidden" name="method" id="method" value="maxmin" />
- <section class="has-bbar">
- <div class="form-group-head">设备选择</div>
- <ul>
- <li class="form-input">
- <label>
- <select name="device" id="device">
- {% for v in data['device'] %}
- <option value="{{v['id']}}" {% if 'device' in data['search'] and data['search']['device'] == v['id'] %}selected{% end %}>{{v['name']}}</option>
- {% end %}
- </select>
- </label>
- </li>
- <li class="form-input">
- <label>
- <select name="group" id="group" {% if 'start' in data['search'] or 'end' in data['search'] %}style="display:none;"{% end %}>
- {% for v in data['group'] %}
- <option value="{{v['id']}}" {% if 'group' in data['search'] and data['search']['group'] == v['id'] %}selected{% end %}>{{v['name']}}</option>
- {% end %}
- </select>
- </label>
- </li>
- </ul>
- <input type="submit" name="" class="button primary btn-mt btn-mb" value="查看曲线">
- <div class="form-group-head">周期曲线</div>
- <section id="main" style="width: 100%;height:400px;">
-
- </section>
- </section>
- </form>
- {%include 'inc/menu.html'%}
- {%include '../inc/script.html'%}
- {%include 'chart/page.html'%}
- </body>
- </html>
|