node.html 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title></title>
  6. <style type="text/css">
  7. <!--
  8. body {
  9. margin-left: 0px;
  10. margin-top: 0px;
  11. margin-right: 0px;
  12. margin-bottom: 0px;
  13. }
  14. .tabfont01 {
  15. font-family: "宋体";
  16. font-size: 9px;
  17. color: #555555;
  18. text-decoration: none;
  19. text-align: center;
  20. }
  21. .font051 {
  22. font-family: "宋体";
  23. font-size: 12px;
  24. color: #333333;
  25. text-decoration: none;
  26. line-height: 20px;
  27. }
  28. .font201 {
  29. font-family: "宋体";
  30. font-size: 12px;
  31. color: #FF0000;
  32. text-decoration: none;
  33. }
  34. .button {
  35. font-family: "宋体";
  36. font-size: 14px;
  37. height: 37px;
  38. }
  39. html {
  40. overflow-x: auto;
  41. overflow-y: auto;
  42. border: 0;
  43. }
  44. -->
  45. </style>
  46. <link href="/static/manage/css/main.css" rel="stylesheet" type="text/css" />
  47. <link href="/static/manage/css/common.css" rel="stylesheet" type="text/css" />
  48. <link media="screen" rel="stylesheet" href="/static/manage/colorbox/colorbox.css" />
  49. <script type="text/javascript" src="/static/manage/js/jquery-1.8.2.min.js"></script>
  50. <script type="text/javascript" src="/static/manage/js/colResizable-1.3.min.js"></script>
  51. <script type="text/javascript" src="/static/manage/js/WdatePicker.js"></script>
  52. <script>
  53. $(document).ready(function() {
  54. $(".setdate").click(function() {
  55. WdatePicker({
  56. dateFmt : 'yyyy-MM-dd'
  57. });
  58. });
  59. });
  60. $(function(){
  61. //表格行,鼠标放上去变色
  62. $(".tr:odd").css("background", "#FFFCEA");
  63. $(".tr:odd").each(function(){
  64. $(this).hover(function(){
  65. $(this).css("background-color", "#FFE1FF");
  66. }, function(){
  67. $(this).css("background-color", "#FFFCEA");
  68. });
  69. });
  70. $(".tr:even").each(function(){
  71. $(this).hover(function(){
  72. $(this).css("background-color", "#FFE1FF");
  73. }, function(){
  74. $(this).css("background-color", "#fff");
  75. });
  76. });
  77. /*ie6,7下拉框美化*/
  78. if ( $.browser.msie ){
  79. if($.browser.version == '7.0' || $.browser.version == '6.0'){
  80. $('.select').each(function(i){
  81. $(this).parents('.select_border,.select_containers').width($(this).width()+5);
  82. });
  83. }
  84. }
  85. $(".list_table").colResizable({
  86. liveDrag:true,
  87. gripInnerHtml:"<div class='grip'></div>",
  88. draggingClass:"dragging",
  89. minWidth:30
  90. });
  91. });
  92. </script>
  93. </head>
  94. <body>
  95. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  96. <tr>
  97. <td height="30">
  98. <table width="100%" border="0" cellspacing="0" cellpadding="0">
  99. <tr>
  100. <td height="62" background="https://shadowsocks5.b0.upaiyun.com/static/manage/images/nav04.gif">
  101. <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  102. <tr>
  103. <td width="21">
  104. <img src="https://shadowsocks5.b0.upaiyun.com/static/manage/images/ico07.gif" width="20" height="18" />
  105. </td>
  106. <td width="538">
  107. </td>
  108. </tr>
  109. </table>
  110. </td>
  111. </tr>
  112. </table>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td>
  117. <div id="chart" style="width: 95%"></div>
  118. </td>
  119. </tr>
  120. <tr>
  121. <td>
  122. <div class="mt10">
  123. <table id="subtree1" style="DISPLAY:" width="100%" border="0" cellspacing="0" cellpadding="0">
  124. <tr>
  125. <td>
  126. <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
  127. <tr>
  128. <td height="40" class="font42">
  129. <table width="100%" border="0" cellpadding="0" cellspacing="0" class="list_table">
  130. <tr>
  131. <th width="10%" style="text-align: center;">编号</th>
  132. <th width="10%" style="text-align: center;">节点名称</th>
  133. <th width="10%" style="text-align: center;">节点类型</th>
  134. <th width="20%" style="text-align: center;">节点地址</th>
  135. <th width="10%" style="text-align: center;">加密方式</th>
  136. <th width="20%" style="text-align: center;">节点描述</th>
  137. <th width="10%" style="text-align: center;">状态</th>
  138. <th width="15%" style="text-align: center;">操作</th>
  139. </tr>
  140. <!--{foreach($node as $index=>$data)}-->
  141. <tr class="tr">
  142. <td height="20" style="text-align: center;">
  143. <!--{$data['id']}-->
  144. </td>
  145. <td height="20" style="text-align: center;">
  146. <!--{$data['node_name']}-->
  147. </td>
  148. <td style="text-align: center;" id="con<!--{$data['id']}-->">
  149. <!--{$data['node_type']}-->
  150. </td>
  151. <td style="text-align: center;">
  152. <!--{$data['node_server']}-->
  153. </td>
  154. <td style="text-align: center;">
  155. <!--{$data['node_method']}-->
  156. </td>
  157. <td style="text-align: center;">
  158. <!--{$data['node_info']}-->
  159. </td>
  160. <td style="text-align: center;">
  161. <!--{$data['node_status']}-->
  162. </td>
  163. <td style="text-align: center;">
  164. <a href="javascript:;" onclick="editNode('<!--{$data['id']}-->')">编辑</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="">删除</a>
  165. </td>
  166. </tr>
  167. <!--{/foreach}-->
  168. </table>
  169. </td>
  170. </tr>
  171. </table>
  172. </td>
  173. </tr>
  174. <tr>
  175. <td height="20"></td>
  176. </tr>
  177. </table>
  178. </div>
  179. </td>
  180. </tr>
  181. </table>
  182. <!--{$pager}-->
  183. </body>
  184. <script src="https://shadowsocks5.b0.upaiyun.com/js/jquery.colorbox-min.js"></script>
  185. <script>
  186. function editNode($id){
  187. $.colorbox({
  188. href:"/manage/node_edit?id="+$id,
  189. close :"关闭" ,
  190. width:"600px",
  191. });
  192. }
  193. </script>
  194. </html>