newconfig_item.html 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217
  1. <!DOCTYPE html>
  2. <html class="en">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Disconf - 分布式配置管理平台</title>
  6. <link rel="stylesheet" href="dep/bootstrap/css/bootstrap.css" />
  7. <!--[if lte IE 6]>
  8. <link rel="stylesheet" href="dep/bootstrap/css/bootstrap-ie6.css" />
  9. <![endif]-->
  10. <!--[if lte IE 7]>
  11. <link rel="stylesheet" href="dep/bootstrap/css/ie.css" />
  12. <![endif]-->
  13. <![if !IE]>
  14. <link rel="stylesheet" href="dep/bootstrap/css/noie.css" />
  15. <![endif]>
  16. <link rel="stylesheet" href="dep/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.css" />
  17. <link rel="stylesheet" type="text/css" href="assets/css/project.css" />
  18. </head>
  19. <body>
  20. <div class="navbar navbar-fixed-top clearfix">
  21. <div class="navbar-inner zu-top">
  22. <div class="container">
  23. <button type="button" class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
  24. <span class="icon-bar"></span>
  25. <span class="icon-bar"></span>
  26. <span class="icon-bar"></span>
  27. </button>
  28. <div class="nav-collapse collapse">
  29. <a id="brand_url" href="/main.html" class="brand" style="margin-left:0px;padding:8px;"> <span class="zu-top-nav-link">Disconf</span> </a>
  30. <span class="span2"> </span>
  31. <form class="navbar-form pull-left">
  32. <button class="btn btn-warning" title="GitHub" type="button" style="" onclick="window.open('https://github.com/knightliao/disconf', '_blank');">
  33. <i class="icon-circle-arrow-up icon-white"></i> <b>GitHub</b>
  34. </button>
  35. </form>
  36. <ul class="nav pull-right" >
  37. <div class="login-yes" style="display:none;padding:10px;">
  38. <li style="display:inline;">
  39. <a href="#">
  40. <span class="zu-top-nav-link loginName" id="username"></span>
  41. </a>
  42. </li>
  43. &nbsp;&nbsp;&nbsp;&nbsp;
  44. <li style="display:inline;" class="dropdown">
  45. <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
  46. <span class="zu-top-nav-link">新建<b class="caret"></b></span>
  47. </a>
  48. <ul class="dropdown-menu">
  49. <li><a href="/newapp.html">新建APP</a></li>
  50. <li><a href="/newconfig_item.html">新建配置项</a></li>
  51. <li><a href="/newconfig_file.html">新建配置文件</a></li>
  52. </ul>
  53. </li>
  54. &nbsp;&nbsp;&nbsp;&nbsp;
  55. <li style="display:inline;">
  56. <a href="/modifypassword.html">
  57. <span class="zu-top-nav-link" >修改密码</span>
  58. </a>
  59. </li>
  60. &nbsp;&nbsp;&nbsp;&nbsp;
  61. <li style="display:inline;">
  62. <a href="#" id="signout">
  63. <span class="zu-top-nav-link" >退出</span>
  64. </a>
  65. </li>
  66. </div>
  67. <div class="login-no" style="padding:10px;">
  68. <li style="display:inline;">
  69. <a href="/login.html"><span class="zu-top-nav-link">登录</span></a>
  70. </li>
  71. </div>
  72. </ul>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <div id="Wrapper" class="clearfix">
  78. <div id="Main" style="margin-top:50px;">
  79. <div class="container-fluid">
  80. <div class="row-fluid">
  81. <ul class="breadcrumb" style="background-color:#fff;">
  82. <li>
  83. <a href="/main.html">配置</a>
  84. </li>
  85. <li class="active">
  86. / 新建配置项
  87. </li>
  88. </ul>
  89. </div>
  90. <div class="row-fluid">
  91. <div class="span12">
  92. <div class="content">
  93. <form id="form" action="/config/" method="post" enctype="multipart/form-data"
  94. class="private-form clearfix">
  95. <h2 class="autoPush-detail-title"> 新建配置项</h2>
  96. <div class="private-item">
  97. <span class="private-item-key">APP选择:</span>
  98. <div class="btn-group">
  99. <a id="appChoiceA" class="btn dropdown-toggle" data-toggle="dropdown" href="#">
  100. <span style="margin-right:2px;">选择APP</span> </span></span><span
  101. class="caret"></span> </a>
  102. <ul class="dropdown-menu" id="appChoice"></ul>
  103. </div>
  104. </div>
  105. <div class="private-item">
  106. <span class="private-item-key">版本:</span>
  107. <div class="btn-group">
  108. <a id="versionChoiceA" class="btn dropdown-toggle" data-toggle="dropdown" href="#">
  109. <span style="margin-right:2px;">选择版本 </span><span class="caret"></span> </a>
  110. <ul class="dropdown-menu" id="versionChoice"></ul>
  111. </div>
  112. </div>
  113. <div class="private-item" id="selfversion" style="display:none">
  114. <span class="private-item-key">自定义版本:</span>
  115. <input id="selfversion_value" type="text" class="private-item-value"/>
  116. </div>
  117. <div class="private-item">
  118. <span class="private-item-key">环境:</span>
  119. <div class="btn-group">
  120. <a id="envChoiceA" class="btn dropdown-toggle" data-toggle="dropdown" href="#">
  121. <span style="margin-right:2px;">选择环境 </span><span class="caret"></span> </a>
  122. <ul class="dropdown-menu" id="envChoice"></ul>
  123. </div>
  124. </div>
  125. <div class="private-item">
  126. <span class="private-item-key">配置项名:</span>
  127. <input id="key" type="text" class="private-item-value"/>
  128. </div>
  129. <div class="private-item">
  130. <span class="private-item-key">配置值:</span>
  131. <input id="value" type="text" class="private-item-value"/>
  132. </div>
  133. <div id="error" class="alert alert-warning hide" role="alert">
  134. 表单选项不能为空或填写格式错误!
  135. </div>
  136. <div class="private-item" style="text-align:center">
  137. <a id="item_submit" class="btn btn-primary"> 新建 </a>
  138. </div>
  139. </form>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. </div>
  146. <div id="footer">
  147. <div id="BottomMain">
  148. <div class="inner">
  149. <strong>
  150. <a href="#" class="dark">关于</a> &nbsp;
  151. </strong>
  152. <strong>
  153. <a href="#" class="dark">升级</a> &nbsp;
  154. </strong>
  155. <div class="sep10"></div>
  156. <span>分布式配置管理平台</span>
  157. <div class="sep10"></div>
  158. <span class="myfade">Theme by <a href="http://sov5.com/" target="_blank">Sov5搜索</a>,
  159. Power by 百度程序化广告交易工程平台技术部,
  160. Copyright &copy; 2014~2016 </span>
  161. </div>
  162. </div>
  163. </div>
  164. <script src="assets/js/jquery-1.11.0.js"></script>
  165. <script src="dep/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js"></script>
  166. <script src="dep/bootstrap/js/bootstrap.js"></script>
  167. <script src="assets/js/util.js"></script>
  168. <script src="assets/js/common.js"></script>
  169. <script>
  170. var _hmt = _hmt || [];
  171. (function() {
  172. var hm = document.createElement("script");
  173. hm.src = "//hm.baidu.com/hm.js?c4578bda90040ec19ded56112b82246f";
  174. var s = document.getElementsByTagName("script")[0];
  175. s.parentNode.insertBefore(hm, s);
  176. })();
  177. </script>
  178. <script src="assets/js/config_common.js"></script>
  179. <script src="assets/js/newconfigitem.js"></script>
  180. <script src="assets/js/footer.js"></script>
  181. </body>
  182. </html>