123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- <!DOCTYPE html>
- <html class="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- <title>Disconf - 分布式配置管理平台</title>
- <link rel="stylesheet" href="dep/bootstrap/css/bootstrap.css" />
- <!--[if lte IE 6]>
- <link rel="stylesheet" href="dep/bootstrap/css/bootstrap-ie6.css" />
- <![endif]-->
- <!--[if lte IE 7]>
- <link rel="stylesheet" href="dep/bootstrap/css/ie.css" />
- <![endif]-->
- <![if !IE]>
- <link rel="stylesheet" href="dep/bootstrap/css/noie.css" />
- <![endif]>
- <link rel="stylesheet" href="dep/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.css" />
- <link rel="stylesheet" type="text/css" href="assets/css/project.css" />
- </head>
- <body>
-
- <div class="navbar navbar-fixed-top clearfix">
- <div class="navbar-inner zu-top">
- <div class="container">
- <button type="button" class="btn btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <div class="nav-collapse collapse">
- <a id="brand_url" href="/main.html" class="brand" style="margin-left:0px;padding:8px;"> <span class="zu-top-nav-link">Disconf</span> </a>
- <span class="span2"> </span>
- <form class="navbar-form pull-left">
- <button class="btn btn-warning" title="GitHub" type="button" style="" onclick="window.open('https://github.com/knightliao/disconf', '_blank');">
- <i class="icon-circle-arrow-up icon-white"></i> <b>GitHub</b>
- </button>
- </form>
-
- <ul class="nav pull-right" >
-
- <div class="login-yes" style="display:none;padding:10px;">
- <li style="display:inline;">
- <a href="#">
- <span class="zu-top-nav-link loginName" id="username"></span>
- </a>
- </li>
-
- <li style="display:inline;" class="dropdown">
- <a href="javascript:void(0)" class="dropdown-toggle" data-toggle="dropdown">
- <span class="zu-top-nav-link">新建<b class="caret"></b></span>
- </a>
- <ul class="dropdown-menu">
- <li><a href="/newapp.html">新建APP</a></li>
- <li><a href="/newconfig_item.html">新建配置项</a></li>
- <li><a href="/newconfig_file.html">新建配置文件</a></li>
- </ul>
- </li>
-
- <li style="display:inline;">
- <a href="/modifypassword.html">
- <span class="zu-top-nav-link" >修改密码</span>
- </a>
- </li>
-
- <li style="display:inline;">
- <a href="#" id="signout">
- <span class="zu-top-nav-link" >退出</span>
- </a>
- </li>
- </div>
-
- <div class="login-no" style="padding:10px;">
- <li style="display:inline;">
- <a href="/login.html"><span class="zu-top-nav-link">登录</span></a>
- </li>
- </div>
-
- </ul>
- </div>
- </div>
-
- </div>
- </div>
-
- <div id="Wrapper" class="clearfix">
- <div id="Main" style="margin-top:50px;">
- <div class="container-fluid">
- <div class="row-fluid">
- <ul class="breadcrumb" style="background-color:#fff;">
- <li>
- <a href="/main.html">配置</a>
- </li>
- <li class="active">
- / 新建配置项
- </li>
- </ul>
- </div>
- <div class="row-fluid">
- <div class="span12">
- <div class="content">
- <form id="form" action="/config/" method="post" enctype="multipart/form-data"
- class="private-form clearfix">
- <h2 class="autoPush-detail-title"> 新建配置项</h2>
- <div class="private-item">
- <span class="private-item-key">APP选择:</span>
- <div class="btn-group">
- <a id="appChoiceA" class="btn dropdown-toggle" data-toggle="dropdown" href="#">
- <span style="margin-right:2px;">选择APP</span> </span></span><span
- class="caret"></span> </a>
- <ul class="dropdown-menu" id="appChoice"></ul>
- </div>
- </div>
- <div class="private-item">
- <span class="private-item-key">版本:</span>
- <div class="btn-group">
- <a id="versionChoiceA" class="btn dropdown-toggle" data-toggle="dropdown" href="#">
- <span style="margin-right:2px;">选择版本 </span><span class="caret"></span> </a>
- <ul class="dropdown-menu" id="versionChoice"></ul>
- </div>
- </div>
- <div class="private-item" id="selfversion" style="display:none">
- <span class="private-item-key">自定义版本:</span>
- <input id="selfversion_value" type="text" class="private-item-value"/>
- </div>
- <div class="private-item">
- <span class="private-item-key">环境:</span>
- <div class="btn-group">
- <a id="envChoiceA" class="btn dropdown-toggle" data-toggle="dropdown" href="#">
- <span style="margin-right:2px;">选择环境 </span><span class="caret"></span> </a>
- <ul class="dropdown-menu" id="envChoice"></ul>
- </div>
- </div>
- <div class="private-item">
- <span class="private-item-key">配置项名:</span>
- <input id="key" type="text" class="private-item-value"/>
- </div>
- <div class="private-item">
- <span class="private-item-key">配置值:</span>
- <input id="value" type="text" class="private-item-value"/>
- </div>
- <div id="error" class="alert alert-warning hide" role="alert">
- 表单选项不能为空或填写格式错误!
- </div>
- <div class="private-item" style="text-align:center">
- <a id="item_submit" class="btn btn-primary"> 新建 </a>
- </div>
- </form>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
-
- <div id="footer">
- <div id="BottomMain">
- <div class="inner">
- <strong>
- <a href="#" class="dark">关于</a>
- </strong>
- <strong>
- <a href="#" class="dark">升级</a>
- </strong>
- <div class="sep10"></div>
- <span>分布式配置管理平台</span>
- <div class="sep10"></div>
- <span class="myfade">Theme by <a href="http://sov5.com/" target="_blank">Sov5搜索</a>,
- Power by 百度程序化广告交易工程平台技术部,
- Copyright © 2014~2016 </span>
- </div>
- </div>
- </div>
-
- <script src="assets/js/jquery-1.11.0.js"></script>
- <script src="dep/jquery-ui-1.10.4.custom/js/jquery-ui-1.10.4.custom.js"></script>
- <script src="dep/bootstrap/js/bootstrap.js"></script>
- <script src="assets/js/util.js"></script>
- <script src="assets/js/common.js"></script>
- <script>
- var _hmt = _hmt || [];
- (function() {
- var hm = document.createElement("script");
- hm.src = "//hm.baidu.com/hm.js?c4578bda90040ec19ded56112b82246f";
- var s = document.getElementsByTagName("script")[0];
- s.parentNode.insertBefore(hm, s);
- })();
- </script>
- <script src="assets/js/config_common.js"></script>
- <script src="assets/js/newconfigitem.js"></script>
- <script src="assets/js/footer.js"></script>
-
- </body>
- </html>
|