watch.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <style type="text/css">
  2. /*#tu_1{
  3. width: 60%;
  4. height: 350px;
  5. background: url('assets/images/tu-9.png') no-repeat center center;
  6. background-size: 100% 100%;
  7. }*/
  8. #tu_2 {
  9. width: 39%;
  10. height: 320px;
  11. background: url('assets/images/tu-5.png') no-repeat center center;
  12. background-size: 100% 100%;
  13. float: right;
  14. font-size: 5px;
  15. /*margin-top: -350px;*/
  16. }
  17. #tu_4 {
  18. width: 39%;
  19. height: 320px;
  20. background: url('assets/images/tu-6.png') no-repeat center center;
  21. background-size: 100% 100%;
  22. float: right;
  23. margin-top: -270px;
  24. }
  25. #tu_3 {
  26. width: 60%;
  27. height: 80px;
  28. background: url('assets/images/tu-12.png') no-repeat center center;
  29. background-size: 100% 100%;
  30. margin-right: -40%;
  31. }
  32. #tu_5 {
  33. width: 60%;
  34. height: 180px;
  35. }
  36. #tu_1 li,
  37. #tu_2 li {
  38. font-size: 10px;
  39. -webkit-transform: scale(0.8);
  40. }
  41. #tu_3 li {
  42. text-align: center;
  43. float: left;
  44. }
  45. #tu_5 li {
  46. font-size: 10px;
  47. -webkit-transform: scale(1);
  48. float: left;
  49. }
  50. h2 {
  51. font-size: 25px;
  52. -webkit-transform: scale(1.4);
  53. }
  54. </style>
  55. <section id="page-title">
  56. <div class="row">
  57. <div class="col-sm-8">
  58. <h1 class="mainTitle">监控列表</h1><span class="mainDescription">监控列表,点击操作处理任务</span></div>
  59. </div>
  60. </section>
  61. <div ng-controller="watchCtrl">
  62. <!-- <div id="tu_1">
  63. <ul class="menu" ng-repeat="item in aptu" >
  64. <li style="position: absolute;top:{{item.y}}px;left:{{ item.x}}px; float:left; list-style:none;">
  65. <img src="assets/images/red.png" style="width:8px;background-color: {{item.color}};" ng-mouseover="loadhover(item.id,item.shortname,item.x,item.y)" ng-mouseout="loadout()" ng-click="loadClient(item.id,item.shortname,item.x,item.y)" > {{item.shortname}}
  66. </li >
  67. </ul>
  68. </div> -->
  69. <div id="tu_2" class="com">
  70. <li style="float:left;margin-top:44px;overflow:hidden; list-style:none;width:33%;white-space: nowrap;text-overflow: ellipsis; ">
  71. <div ng-repeat="item in apcpu"> {{item.id}}
  72. <div style=" width:{{item.per}}px;height: 10px;background-color: {{ item.color}};">
  73. <div style="margin-left:105px;"> {{item.per}}% </div>
  74. </div>
  75. </div>
  76. </li>
  77. <li style="float:left;overflow:hidden;margin-top:46px;list-style:none;list-style:none;width:33%;white-space: nowrap;text-overflow: ellipsis; ">
  78. <div ng-repeat="item in apnei">{{item.id}}
  79. <div style=" width:{{ item.per}}px;height: 10px;background-color: {{ item.color}};;">
  80. <div style="margin-left:105px">{{item.per}}%</div>
  81. </div>
  82. </div>
  83. </li>
  84. <li style="float:left;overflow:hidden; margin-top:46px;list-style:none; list-style:none;width:33%;white-space: nowrap;text-overflow: ellipsis; ">
  85. <div ng-repeat="item in apchu">{{item.id}}
  86. <div style=" width:{{ item.per}}px;height: 10px;background-color: {{ item.color}};;">
  87. <div style="margin-left:105px">{{item.per}}%</div>
  88. </div>
  89. </div>
  90. </li>
  91. </div>
  92. <!-- 故障列表 start-->
  93. <div id="tu_3">
  94. <ul style="width:100%; list-style:none;">
  95. <li style=" margin-top:9%; width:5% ;margin-left:-35px ">ID </li>
  96. <li style="width:20%;margin-top:9%;"> 发生时间 </li>
  97. <li style="width:25%;margin-top:9%;">告警源</li>
  98. <li style=" width:5%;margin-top:9%;margin-left:5px ">状态 </li>
  99. <li style=" width:15%;margin-top:9%;"> 描叙 </li>
  100. <li style=" width:10%;margin-top:9%;">类型 </li>
  101. <li style=" width:10%;margin-top:9%;"> 等级 </li>
  102. <li style="width:10%;margin-top:9%;margin-left:10px ">数据来源 </li>
  103. </ul>
  104. </div>
  105. <div id="tu_5" style="overflow:auto; height:530px;">
  106. <ul ng-repeat="item in apList" style="width:100%; float:left;list-style:none; ">
  107. <button ng-click="details(item.id,item.from); " style="width:110%;height:30px;margin-left:-45px;">
  108. <li style=" width:5%;margin-left:0px; ">{{item.id}}</li>
  109. <li style=" width:20%;">{{item.time}}</li>
  110. <li style=" width:25%;overflow:hidden; white-space: nowrap;text-overflow: ellipsis;">{{item.jing}} </li>
  111. <li style=" width:5%;font-color:{{color}} ">{{item.statu}}</li>
  112. <!-- <li style="width:15%;overflow:hidden; white-space: nowrap;text-overflow: ellipsis;"> {{item.text}} </li> -->
  113. <li style=" margin-left:1px; width:10% ;overflow:hidden; white-space: nowrap;text-overflow: ellipsis; ">{{item.lei}}</li>
  114. <li style=" width:9% ">{{item.ji}}</li>
  115. <li style=" width:10% ;float:right; ">{{item.from}}</li>
  116. </button>
  117. </ul>
  118. </div>
  119. <!-- 故障列表 end -->
  120. <div id="tu_4">
  121. <li style="float:left;list-style:none;width:33%">
  122. <div id="tradeNum" style="margin-top:60%; margin-left:5%;"></div>
  123. <div ng-repeat="item in apjiao" style="margin-top:10px;margin-left:5%;">
  124. <div>总交易量:{{item.all}} </div>
  125. <div>交易成功量:{{item.success}}</div>
  126. <div>交易失败量:{{item.fail}}</div>
  127. </li>
  128. <li style="float:left;list-style:none;width:33%">
  129. <div ng-repeat="item in apjiao" style="margin-top:100%; margin-left:35%;">
  130. <h2>{{item.time}}ms</h2>
  131. </div>
  132. </li>
  133. <li style="float:left;list-style:none;width:33%">
  134. <div ng-repeat="item in apjiao" style="margin-top:100%; margin-left:25%;">
  135. <h2> {{item .lv}}%</h2>
  136. </div>
  137. </li>
  138. </div>
  139. </div>