home.php 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Bootstrap 3, from LayoutIt!</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="">
  8. <meta name="author" content="">
  9. <!--link rel="stylesheet/less" href="less/bootstrap.less" type="text/css" /-->
  10. <!--link rel="stylesheet/less" href="less/responsive.less" type="text/css" /-->
  11. <!--script src="js/less-1.3.3.min.js"></script-->
  12. <!--append ‘#!watch’ to the browser URL, then refresh the page. -->
  13. <link href="/css/bootstrap.min.css" rel="stylesheet">
  14. <link href="/css/style.css" rel="stylesheet">
  15. <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
  16. <!--[if lt IE 9]>
  17. <script src="js/html5shiv.js"></script>
  18. <![endif]-->
  19. <!-- Fav and touch icons -->
  20. <link rel="apple-touch-icon-precomposed" sizes="144x144" href="img/apple-touch-icon-144-precomposed.png">
  21. <link rel="apple-touch-icon-precomposed" sizes="114x114" href="img/apple-touch-icon-114-precomposed.png">
  22. <link rel="apple-touch-icon-precomposed" sizes="72x72" href="img/apple-touch-icon-72-precomposed.png">
  23. <link rel="apple-touch-icon-precomposed" href="img/apple-touch-icon-57-precomposed.png">
  24. <link rel="shortcut icon" href="img/favicon.png">
  25. <script type="text/javascript" src="/js/jquery.min.js"></script>
  26. <script type="text/javascript" src="/js/bootstrap.min.js"></script>
  27. <script type="text/javascript" src="/js/scripts.js"></script>
  28. <script type="text/javascript" src="/js/jquery.min.js"></script>
  29. <script type="text/javascript" src="/js/highcharts.js"></script>
  30. <script type="text/javascript">
  31. $(function () {
  32. $('#container').highcharts({
  33. chart: {
  34. type: 'area'
  35. },
  36. title: {
  37. text: 'US and USSR nuclear stockpiles'
  38. },
  39. subtitle: {
  40. text: 'Source: <a href="http://thebulletin.metapress.com/content/c4120650912x74k7/fulltext.pdf">'+
  41. 'thebulletin.metapress.com</a>'
  42. },
  43. xAxis: {
  44. labels: {
  45. formatter: function() {
  46. return this.value; // clean, unformatted number for year
  47. }
  48. }
  49. },
  50. yAxis: {
  51. title: {
  52. text: 'Nuclear weapon states'
  53. },
  54. labels: {
  55. formatter: function() {
  56. return this.value / 1000 +'k';
  57. }
  58. }
  59. },
  60. tooltip: {
  61. pointFormat: '{series.name} produced <b>{point.y:,.0f}</b><br/>warheads in {point.x}'
  62. },
  63. plotOptions: {
  64. area: {
  65. pointStart: 1940,
  66. marker: {
  67. enabled: false,
  68. symbol: 'circle',
  69. radius: 2,
  70. states: {
  71. hover: {
  72. enabled: true
  73. }
  74. }
  75. }
  76. }
  77. },
  78. series: [{
  79. name: 'USA',
  80. data: [null, null, null, null, null, 6 , 11, 32, 110, 235, 369, 640,
  81. 1005, 1436, 2063, 3057, 4618, 6444, 9822, 15468, 20434, 24126,
  82. 27387, 29459, 31056, 31982, 32040, 31233, 29224, 27342, 26662,
  83. 26956, 27912, 28999, 28965, 27826, 25579, 25722, 24826, 24605,
  84. 24304, 23464, 23708, 24099, 24357, 24237, 24401, 24344, 23586,
  85. 22380, 21004, 17287, 14747, 13076, 12555, 12144, 11009, 10950,
  86. 10871, 10824, 10577, 10527, 10475, 10421, 10358, 10295, 10104 ]
  87. }, {
  88. name: 'USSR/Russia',
  89. data: [null, null, null, null, null, null, null , null , null ,null,
  90. 5, 25, 50, 120, 150, 200, 426, 660, 869, 1060, 1605, 2471, 3322,
  91. 4238, 5221, 6129, 7089, 8339, 9399, 10538, 11643, 13092, 14478,
  92. 15915, 17385, 19055, 21205, 23044, 25393, 27935, 30062, 32049,
  93. 33952, 35804, 37431, 39197, 45000, 43000, 41000, 39000, 37000,
  94. 35000, 33000, 31000, 29000, 27000, 25000, 24000, 23000, 22000,
  95. 21000, 20000, 19000, 18000, 18000, 17000, 16000]
  96. }]
  97. });
  98. });
  99. </script>
  100. </head>
  101. <body>
  102. <div class="container">
  103. <div class="row clearfix">
  104. <div class="col-md-12 column">
  105. <ul class="nav nav-tabs">
  106. <li class="active">
  107. <a href="#">概述</a>
  108. </li>
  109. <li>
  110. <a href="#">监控</a>
  111. </li>
  112. <li class="disabled">
  113. <a href="#">告警</a>
  114. </li>
  115. <li class="dropdown pull-right">
  116. <a href="#" data-toggle="dropdown" class="dropdown-toggle">其它<strong class="caret"></strong></a>
  117. <ul class="dropdown-menu">
  118. <li>
  119. <a href="#">探测节点</a>
  120. </li>
  121. <li>
  122. <a href="#">节点管理</a>
  123. </li>
  124. </ul>
  125. </li>
  126. </ul>
  127. </div>
  128. </div>
  129. <div class="row clearfix">
  130. <div class="col-md-3 column">
  131. <div class="list-group">
  132. <a href="#" class="list-group-item active">HelloWorld</a>
  133. <a href="#" class="list-group-item">sayHello</a>
  134. <a href="#" class="list-group-item">sayHi</a>
  135. <a href="#" class="list-group-item active">User</a>
  136. <a href="#" class="list-group-item active">Blog</a>
  137. </div>
  138. </div>
  139. <div class="col-md-9 column">
  140. <div class="alert alert-dismissable alert-success">
  141. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  142. <h4>
  143. Alert!
  144. </h4> <strong>Warning!</strong> Best check yo self, you're not looking too good. <a href="#" class="alert-link">alert link</a>
  145. </div>
  146. <div class="alert alert-dismissable alert-danger">
  147. <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
  148. <h4>
  149. Alert!
  150. </h4> <strong>Warning!</strong> Best check yo self, you're not looking too good. <a href="#" class="alert-link">alert link</a>
  151. </div>
  152. <h3 class="text-primary text-center">
  153. {$module}::{$interface}请求量曲线
  154. </h3>
  155. <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
  156. <h3 class="text-danger text-center">
  157. {$module}::{$interface}耗时曲线
  158. </h3>
  159. <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
  160. <h3 class="text-primary text-center">
  161. {$module}::{$interface}请求量曲线
  162. </h3>
  163. <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
  164. <h3 class="text-danger text-center">
  165. {$module}::{$interface}耗时曲线
  166. </h3>
  167. <div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>
  168. <div class="text-center">
  169. <button class="btn btn-primary" type="button">分别统计</button>
  170. <button class="btn btn-primary" type="button">汇总统计</button>
  171. </div>
  172. <table class="table table-hover table-condensed table-bordered">
  173. <thead>
  174. <tr>
  175. <th>时间</th><th>调用总数</th><th>平均耗时</th><th>成功调用总数</th><th>成功平均耗时</th><th>失败调用总数</th><th>失败平均耗时</th><th>成功率</th>
  176. </tr>
  177. </thead>
  178. <tbody>
  179. <tr>
  180. <td>
  181. 2014-02-09 00:05:00
  182. </td>
  183. <td>
  184. 13500
  185. </td>
  186. <td>
  187. 0.0268
  188. </td>
  189. <td>
  190. 13500
  191. </td>
  192. <td>
  193. 0.0268
  194. </td>
  195. <td>
  196. 0
  197. </td>
  198. <td>
  199. 0
  200. </td>
  201. <td>
  202. 100%
  203. </td>
  204. </tr>
  205. <tr class="danger">
  206. <td>
  207. 2014-02-09 00:10:00
  208. </td>
  209. <td>
  210. 13500
  211. </td>
  212. <td>
  213. 0.0268
  214. </td>
  215. <td>
  216. 13400
  217. </td>
  218. <td>
  219. 0.0268
  220. </td>
  221. <td>
  222. 100
  223. </td>
  224. <td>
  225. 0.0263
  226. </td>
  227. <td>
  228. 98.1%
  229. </td>
  230. </tr>
  231. <tr>
  232. <td>
  233. 2014-02-09 00:15:00
  234. </td>
  235. <td>
  236. 13500
  237. </td>
  238. <td>
  239. 0.0268
  240. </td>
  241. <td>
  242. 13500
  243. </td>
  244. <td>
  245. 0.0268
  246. </td>
  247. <td>
  248. 0
  249. </td>
  250. <td>
  251. 0
  252. </td>
  253. <td>
  254. 100%
  255. </td>
  256. </tr>
  257. <tr>
  258. <td>
  259. 2014-02-09 00:20:00
  260. </td>
  261. <td>
  262. 13500
  263. </td>
  264. <td>
  265. 0.0268
  266. </td>
  267. <td>
  268. 13500
  269. </td>
  270. <td>
  271. 0.0268
  272. </td>
  273. <td>
  274. 0
  275. </td>
  276. <td>
  277. 0
  278. </td>
  279. <td>
  280. 100%
  281. </td>
  282. </tr>
  283. </tbody>
  284. </table>
  285. </div>
  286. </div>
  287. </div>
  288. </body>
  289. </html>