Explorar o código

还原了设备列表页面

liuzhiwei %!s(int64=7) %!d(string=hai) anos
pai
achega
ae764622ba

+ 3 - 5
watero-rst-web/src/main/webapp/WEB-INF/views/pts/device/device_list.ftl

@@ -21,6 +21,7 @@
 <div class="page-container">
 <div class="text-c">
     <form name="form1" action="${path}/admin/equipment/select_device_list" method="post">
+        <button type="button" style="cursor:pointer;" class="my-btn-search" onclick="add_device();">添加设备</button>
         <input class="my-input" type="text" name="deviceNumber" value="${deviceNumber!}" placeholder="请输入设备编号"/>
         <select class="select" name="deviceStatus" style="height: 30px;width: 150px">
             <option value ="">全部</option>
@@ -32,11 +33,7 @@
         <button style="cursor:pointer;" type="submit" class="my-btn-search">搜索</button>
     </form>
 </div>
-<div class="cl pd-5 bk-gray mt-20">
-        <span class="l">
-            <button onClick="add_device();" class="btn radius" style="background: #58d2ea;color: #fff;" type="button"><i class="Hui-iconfont">&#xe604;</i>添加设备</button>
-        </span>
-</div>
+<div class="mt-20">
     <table class="table table-border table-bordered table-bg table-hover table-sort">
         <thead>
         <tr class="text-c">
@@ -94,6 +91,7 @@
         </#list>
         </tbody>
     </table>
+    </div>
 </div>
 <div style="padding-top: 10px;"></div>
 <#include "/base/page_util.ftl">