rtu_status.html 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {% load staticfiles %}
  2. <!DOCTYPE html>
  3. <html lang="en">
  4. <head>
  5. <meta charset="UTF-8" />
  6. <link href="{% static '/lib/bootstrap-3.3.7/css/bootstrap.css' %}" rel="stylesheet">
  7. <link rel="stylesheet" href="{% static '/lib/font-awesome/4.5.0/css/font-awesome.css' %}">
  8. <link rel="stylesheet" href="{% static '/lib/css/ace.min.css' %}" />
  9. <link rel="stylesheet" href="{% static '/lib/css/ace-skins.min.css' %}">
  10. <link rel="stylesheet" href="{% static '/lib/css/ace-rtl.min.css' %}">
  11. <link rel="stylesheet" href="{% static '/lib/layui/css/layui.css' %}">
  12. <link rel="stylesheet" href="{% static '/css/loading.css' %}?versions=0.5.0" />
  13. <style type="text/css">
  14. /* 返回 */
  15. .headerPlace {
  16. font-size: 22px;
  17. color: #418fbb;
  18. cursor: pointer;
  19. }
  20. .headerPlace img {
  21. vertical-align: middle;
  22. margin-right: 10px;
  23. margin-top: -4px;
  24. }
  25. body {
  26. overflow: hidden;
  27. background: #fff;
  28. }
  29. .searchCover {
  30. margin: 20px 0;
  31. }
  32. .innerTable {
  33. padding: 0 1px 0 0;
  34. min-width: 750px;
  35. }
  36. .table,
  37. .table.table-striped>thead>tr>th {
  38. text-align: center;
  39. }
  40. table td {
  41. vertical-align: middle !important;
  42. }
  43. .nullData {
  44. width: 100%;
  45. height: 500px;
  46. background: #ddd;
  47. text-align: center;
  48. line-height: 500px;
  49. font-size: 20px;
  50. border: 1px solid #ddd;
  51. }
  52. #listPage {
  53. overflow-x: scroll;
  54. }
  55. .green {
  56. background: greenyellow;
  57. }
  58. .red {
  59. background-color: rgb(248, 69, 69) !important;
  60. border-color: rgb(248, 69, 69);
  61. }
  62. </style>
  63. <body>
  64. <div class="content">
  65. <div id="detialPage"></div>
  66. <div id="listPage">
  67. <div class="searchCover">
  68. 设备名称:
  69. <input type="text" value="" placeholder="请输入设备名称" id="ename"
  70. onkeypress="if (event.keyCode == 13) sub_filter();" /> 设备ID:
  71. <input type="text" value="" class="fp-user" id="eId" placeholder="请输入设备ID"
  72. onkeypress="if (event.keyCode == 13) sub_filter();" />
  73. <button type="button" onclick="sub_filter()" class="btn btn-sm btn-primary">筛选</button>
  74. </div>
  75. <div class="innerTable">
  76. <table id="datatable" class="table table-striped table-hover">
  77. <thead>
  78. <tr>
  79. <th>设备ID</th>
  80. <th>设备名称</th>
  81. <th>在线状态</th>
  82. <th>测报灯ID</th>
  83. <th>信号强度</th>
  84. <!-- <th>内部版本</th> -->
  85. <th>设备版本</th>
  86. <!-- <th>CPU温度(°C)</th> -->
  87. <th>相机状态</th>
  88. <th>数据频率(分钟)</th>
  89. <th>上报时间</th>
  90. <th>操作</th>
  91. <th>详情</th>
  92. </tr>
  93. </thead>
  94. <tbody>
  95. </tbody>
  96. </table>
  97. <div class="fenpei-bottom">
  98. <input type="hidden" id="totalPage" value={{ nums }}>
  99. <div id="page" style="text-align: center;"></div>
  100. </div>
  101. </div>
  102. </div>
  103. </div>
  104. <!-- loading -->
  105. <div id="loadingParent">
  106. <div id="loadCenter">
  107. <div class="skype-loader">
  108. <div class="dot">
  109. <div class="first"></div>
  110. </div>
  111. <div class="dot"></div>
  112. <div class="dot"></div>
  113. <div class="dot"></div>
  114. </div>
  115. Logging in...
  116. </div>
  117. </div>
  118. <script src="{% static '/lib/js/jquery-2.1.4.min.js' %}"></script>
  119. <script src="{% static '/lib/layui/layui.all.js' %}"></script>
  120. <script src="{% static '/js/common.js' %}?versions=0.5.0"></script>
  121. <script type="text/javascript"
  122. src="http://api.map.baidu.com/api?v=2.0&ak=TcRPmrsiZUqdUBWoELrUArRkCRC36KMx"></script>
  123. <script type="text/javascript">
  124. $.ajaxSetup({
  125. data: { csrfmiddlewaretoken: '{{ csrf_token }}' },
  126. });
  127. </script>
  128. <script src="{% static '/js/equipmanage/rtu_status.js' %}?versions=0.5.0"></script>
  129. </body>
  130. </html>