<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>接口测试平台</title>
    <link rel="stylesheet" href="/static/css/bootstrap.min.css">
    <link rel="stylesheet" href="/static/font-awesome-4.7.0/css/font-awesome.min.css">
    <script type="text/javascript" src="/static/js/jquery-3.3.1.min.js"></script>
    <script type="text/javascript" src="/static/js/bootstrap.min.js"></script>
</head>
<body style="background-image: url(/static/img/background.jpg)">

    <div class="container">
        <div id="main" style="width:1000px" >
            <!--class="col-lg-5" style="font-size: 5px;color:whitesmoke;margin-top: 5px -->
            <div id="left" style="width:400px;float:left;color:whitesmoke;margin-top: 150px">
                <h1 style="margin-left: 10px">特征测试平台</h1>
            </div>
            <div class="row" style="width:600px;float:left;margin-top: 30px" id="right">
           <!-- <div class="col-lg-8" style="margin-left: 30px;margin-top: 25px"> -->
                <form style="font-size: 15px;color:whitesmoke" action="/index" method="post">
                    <h1 style="font-size: 25px">参数设置：</h1>
                    <div class="form-group">
                        <label style="font-size: 15px">请求头</label>
                        <input type="text" id="Hearders" name="hearders" class="form-control" placeholder="'headers': {'rc_auth_key': 'rc_developer',
                           'rc_auth_secret': 'rc_secret'}">
                    </div>
                            <div class="form-group">
                                <label for="exampleInputEmail1">方法类型</label>
                            <select class="form-control" name="method">
                                <option value="POST">POST</option>
                                <option value="GET">GET</option>

                             </select>
                      </div>
                    <div class="form-group">
                        <label style="font-size: 15px">Code</label>
                        <input type="text" id="codes" name="codes" class="form-control">
                    </div>
                               <!--   <div class="form-group" id="headers">
                <label for="exampleInputEmail1">请求地址</label>
                <div class="row" style="font-size: 10px">
                    <div class="col-lg-7 col-md-7 ">
                        <div class="input-group">
                            <label style="float: left"  class="form-group" >测试：</label>
                            <input type="text" name='testurl' class="form-control" id="urltest" placeholder="示例：http://127.0.0.1:8080">
                        </div>
                    </div>
                    <div class="col-lg-5 col-md-5">
                        <label  class="form-group">开发：</label>
                        <input type="text" name='devurl' class="form-control" id="urldev" placeholder="示例：http://127.0.0.1:8080">

                    </div>
                </div>
              </div>-->
                      <div class="form-group">
                        <label >请求地址</label>
                        <div class="form-group" style="font-size: 10px">
                            <div class="input-group" >
                                <span class="input-group-addon" id="basic-addon1">测试</span>
                               <input type="text" name='testurl' class="form-control" id="urltest" aria-describedby="basic-addon1" placeholder="示例：http://127.0.0.1:8080">
                           </div>
                        <div class="input-group" style="font-size: 10px ;margin-top: 10px ">
                           <span class="input-group-addon" id="basic-addon2">开发</span>

                        <input type="text" name='devurl' class="form-control" aria-describedby="basic-addon2" id="urldev" placeholder="示例：http://127.0.0.1:8080">
                        </div>
                    </div>
                        </div>

                <h1 style="color:whitesmoke;font-size: 15px">请求体</h1>

                <ul class="nav nav-pills" style="font-size: 10px">
                    <li role="presentation" class="active"><a href="#">Sql</a></li>
                    <li role="presentation"><a href="#">File</a></li>
                    <li role="presentation"><a href="#">自定义输入</a></li>
                </ul>
                    <div style="font-size: 15px; width: 600px">
                    <label >数据库： xyqb</label>
                 <!--<input style="font-size: 15px" name="database" class="form-control"> -->
                </div>

                <div class="input-group"  style="margin-top: 13px; width: 600px">
                        <textarea  name='parm' id='sql' class="form-control" rows="4"></textarea>
                </div >

                 <div  style="float:right;margin-top: 13px">
                    <button type="submit" id="submit" class="btn btn-primary">提交</button>
                 </div>
        </form>
            </div>
        </div>
    </div>

<!--<script type="text/javascript">-->

    <!--$("#submit").click(function (){-->
            <!--alert('2222');-->
            <!--var testurl = $("#urltest").val();-->

    <!--});-->
           <!--&lt;!&ndash; pd={'testurl':testurl,'devurl':devurl}-->
             <!--$.ajax({-->
            <!--type:"post",-->
            <!--url:"/index",-->
            <!--data:pd,-->
            <!--cache:false,-->
            <!--success:function(data){-->
                <!--alert(1);-->
            <!--}})-->

        <!--}); &ndash;&gt;-->


<!--</script>-->




</body>

</html>