| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165 |
- {% load staticfiles %}
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8" />
- <link href="{% static '/lib/bootstrap-3.3.7/css/bootstrap.css' %}" rel="stylesheet">
- <link rel="stylesheet" href="{% static '/lib/font-awesome/4.5.0/css/font-awesome.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/ace.min.css' %}" />
- <link rel="stylesheet" href="{% static '/lib/css/ace-skins.min.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/ace-rtl.min.css' %}">
- <link rel="stylesheet" href="{% static '/lib/layui/css/layui.css' %}">
- <link rel="stylesheet" href="{% static '/lib/css/jquery-ui.css' %}" />
- <link rel="stylesheet" href="{% static '/css/loading.css' %}?versions=0.5.0" />
- <link rel="stylesheet" href="{% static '/css/equipmanage_cbd.css' %}" />
- <style>
- .content {
- overflow-x: scroll;
- }
- .searchCover {
- margin: 20px 0;
- }
- .innerTable {
- padding: 0 1px 0 0;
- min-width: 750px;
- }
- /* .table,
- .table.table-striped>thead>tr>th {
- text-align: center;
- }
- table td {
- vertical-align: middle !important;
- }
- .nullData {
- width: 100%;
- height: 500px;
- background: #ddd;
- text-align: center;
- line-height: 500px;
- font-size: 20px;
- border: 1px solid #ddd;
- }*/
- .inlineBlock {
- display: inline-block;
- }
- .layui-input {
- height: 30px;
- }
- table {
- /* width: 100% !important; */
- }
- .blue {
- color: blue;
- }
- </style>
- <body>
- <div class="content">
- <div id=""></div>
- <div id="" style="height: 740px;">
- <div class="searchCover">
- 设备版本:
- <select name="" onchange="dverSelect(this,'edver')" id="edver" style="width:120px">
- <option value="">所有版本</option>
- <option value="1">版本1</option>
- <option value="2">版本2</option>
- <option value="3">版本3</option>
- <option value="4">版本4</option>
- <option value="5">版本5</option>
- </select>
- 在线状态:
- <select name="" onchange="dverSelect(this,'is_online')" id="onoffSelect" style="width:120px">
- <option value="">全部</option>
- <option value="1">在线</option>
- <option value="0">离线</option>
- </select>
- 用户:
- <div class="layui-form inlineBlock">
- <div class="layui-input-inline">
- <select name="interest" id="userSelect" lay-filter="userSelect" lay-search>
- <option value="">请选择</option>
- {% for user in user_list %}
- <option value="{{user.username}}">{{user.username}}</option>
- {% endfor %}
- </select>
- </div>
- </div>
- <button type="button" onclick="handHandle(1)" class="btn btn-sm btn-primary">升级</button>
- <button type="button" onclick="handHandle(2)" class="btn btn-sm btn-primary">重启</button>
- <button type="button" onclick="handHandle(3)" class="btn btn-sm btn-primary">刷新</button>
- <button type="button" onclick="upgradeRelease()" class="btn btn-sm btn-primary">可升级版本</button>
- </div>
- <div class="innerTable">
- <table class="layui-hide" id="datatable" lay-filter="datatable"></table>
- <div class="fenpei-bottom">
- <input type="hidden" id="totalPage" value={{ nums }}>
- <div id="page" style="text-align: center;"></div>
- </div>
- </div>
- </div>
- </div>
- <!-- loading -->
- <div id="loadingParent">
- <div id="loadCenter">
- <div class="skype-loader">
- <div class="dot">
- <div class="first"></div>
- </div>
- <div class="dot"></div>
- <div class="dot"></div>
- <div class="dot"></div>
- </div>
- Logging in...
- </div>
- </div>
- <!-- 可升级操作 -->
- <div id="handleBtns" style="display:none">
- <div style="padding: 20px; background-color: #F2F2F2;" id="">
- <div class="layui-row layui-col-space15">
- <div class="layui-col-md12">
- <div class="layui-card">
- <div class="layui-card-body">
- <table id="datatableA" class="table table-striped table-hover">
- <thead>
- <tr>
- <th>序列号</th>
- <th>当前版本号</th>
- <th>修改</th>
- <th>操作</th>
- </tr>
- </thead>
- <tbody>
- </tbody>
- </table>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <script src="{% static '/lib/js/jquery-2.1.4.min.js' %}"></script>
- <script src="{% static '/lib/layui/layui.all.js' %}"></script>
- <script src="{% static '/js/common.js' %}?versions=0.5.0"></script>
- <script>
- $.ajaxSetup({
- data: { csrfmiddlewaretoken: '{{ csrf_token }}' },
- });
- scrollBar();
- </script>
- <script src="{% static '/js/equipmanage/cbdBatchOperate.js' %}?versions=0.5.0"></script>
- </body>
- </html>
|