1
0

newconfig.html 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  2. "http://www.w3.org/TR/html4/loose.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <title>Disconf - 分布式配置管理平台</title>
  7. <link rel="stylesheet" type="text/css" href="dep/bootstrap/css/bootstrap.css" />
  8. <link rel="stylesheet" href="dep/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.css" />
  9. <link rel="stylesheet" type="text/css" href="assets/css/project.css" />
  10. </head>
  11. <body>
  12. <div class="navbar navbar-fixed-top ">
  13. <div class="navbar-inner zu-top">
  14. <div class="container">
  15. <button type="button" class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
  16. <span class="icon-bar"></span>
  17. <span class="icon-bar"></span>
  18. <span class="icon-bar"></span>
  19. </button>
  20. <div class="nav-collapse collapse">
  21. <a id="indexMain" href="/main.html" class="brand" style="margin-left:0px;"><span class="zu-top-nav-link">Disconf</span></a>
  22. <span class="span7"> </span>
  23. <form class="navbar-form pull-left">
  24. <button class="btn btn-warning" title="GitHub" type="button" style="" onclick="window.open('https://github.com/knightliao/disconf', '_blank');">
  25. <i class="icon-circle-arrow-up icon-white"></i> <b>GitHub</b>
  26. </button>
  27. </form>
  28. <ul class="nav pull-right" >
  29. <div class="login-yes" style="display:none;padding:10px;">
  30. <li style="display:inline;">
  31. <a href="#">
  32. <span class="zu-top-nav-link loginName" id="username"></span>
  33. </a>
  34. </li>
  35. &nbsp;&nbsp;&nbsp;&nbsp;
  36. <li style="display:inline;">
  37. <a href="#" id="signout">
  38. <span class="zu-top-nav-link" >退出</span>
  39. </a>
  40. </li>
  41. </div>
  42. <div class="login-no" style="padding:10px;">
  43. <li style="display:inline;">
  44. <a href="/login.html"><span class="zu-top-nav-link">登录</span></a>
  45. </li>
  46. </div>
  47. </ul>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <div id="headwrap">
  53. <div class="main container">
  54. <div class="row-fluid">
  55. <ul id="myTab" class="nav nav-tabs">
  56. <li>
  57. <a href="/main.html" >配置</a>
  58. </li>
  59. <li class="active">
  60. <a href="/newconfig.html" >新建配置</a>
  61. </li>
  62. <li class="">
  63. <a href="https://github.com/knightliao/disconf" target="_blank">帮助</a>
  64. </li>
  65. </ul>
  66. </div>
  67. </div>
  68. </div>
  69. <div id="mainwrap">
  70. <div class="main container">
  71. <div class="row-fluid">
  72. <ul class="breadcrumb" style="background-color:#fff;">
  73. <li>
  74. <a href="/main.html">配置</a><span class="divider">/</span>
  75. </li>
  76. <li class="active">
  77. 新建配置
  78. </li>
  79. </ul>
  80. </div>
  81. <div class="row-fluid">
  82. <div class="span3">
  83. <div class="well sidebar-nav" style="padding:10px;background-color:#fff">
  84. <ul id="sidebarcur" class="nav nav-list"></ul>
  85. </div><!--/.well -->
  86. </div>
  87. <div class="span9">
  88. <div class="content oz">
  89. <form id="form" action="/config/" method="post" enctype="multipart/form-data" class="private-form clearfix">
  90. <h2 class="autoPush-detail-title">配置文件修改</h2>
  91. <p class="private-item">
  92. <span class="private-item-key">APP id & 名称:</span>
  93. <span id="app" class="private-item-value">FFFF</span>
  94. </p>
  95. <p class="private-item">
  96. <span class="private-item-key">版本:</span>
  97. <span id="version" class="private-item-value">FFFF</span>
  98. </p>
  99. <p class="private-item">
  100. <span class="private-item-key">环境:</span>
  101. <span id="env" class="private-item-value">FFFF</span>
  102. </p>
  103. <p class="private-item">
  104. <span class="private-item-key">配置文件名:</span>
  105. <span id="key" class="private-item-value">FFFF</span>
  106. </p>
  107. <div class="private-item clearfix">
  108. <span style="float:left" class="private-item-key">原配置文件内容:</span>
  109. <pre style="float:left" id="oldvalue" class="private-item-value-pre">FFFF</pre>
  110. </div>
  111. <div class="private-item clearfix">
  112. <span style="float:left" class="private-item-key">上传配置:</span>
  113. <div style="float:left" class="private-item-value-pre">
  114. <span class="sl-custom-file btn btn-success fileinput-button" style="overflow: hidden;cursor: pointer;">
  115. <div id="open_dialog_rar">
  116. 上传配置文件...
  117. </div>
  118. <input class="ui-input-file" type="file" name="myfilerar" id="myfilerar" style="width:120px;height:30px;" >
  119. </span>
  120. <span id="error_rar" class="text-error error_rar"></span>
  121. <div style="color: #999;">
  122. 只允许.properties格式的文件
  123. <span id="status_rar" class="text-success"></span>
  124. </div>
  125. <div class="progress_rar">
  126. <div class="bar_rar"></div >
  127. <div class="percent_rar">
  128. 0%
  129. </div >
  130. </div>
  131. <div class="loading_rar" ></div>
  132. </div>
  133. </div>
  134. <div>
  135. <button id="submit" class="private-submit" >
  136. 上传
  137. </button>
  138. </div>
  139. </form>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. <!-- 详细信息单行模板-->
  146. <div id="tItemTpl" class="hide">
  147. <li style="font-size:13px;" class="{2}">
  148. <a href="{1}">{0}</a>
  149. </li>
  150. </div>
  151. <div id="footer">
  152. <div class="container clearfix">
  153. <div class="muted links pull-left">
  154. <a href="#">关于</a>
  155. <span class="sep">·</span>
  156. <a href="https://github.com/knightliao/disconf" target="_blank">帮助</a>
  157. </div>
  158. <p class="muted credit pull-right">
  159. © All Rights Reserved.
  160. </p>
  161. </div>
  162. </div>
  163. <script src="assets/js/jquery-1.11.0.js"></script>
  164. <script src="dep/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js"></script>
  165. <script src="dep/bootstrap/js/bootstrap.js"></script>
  166. <script src="assets/js/util.js"></script>
  167. <script src="assets/js/common.js"></script>
  168. <script src="assets/js/modifycommon.js"></script>
  169. <script src="assets/js/jquery.form.js"></script>
  170. <script src="assets/js/modifyFile.js"></script>
  171. <script src="assets/js/footer.js"></script>
  172. </body>
  173. </html>