html5 jquery bootstrap table form input 导航 表格 响应式 表单 直接使用
<!DOCTYPE HTML> <html lang="zh-CN"> <head> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1, user-scalable=no"/> <meta http-equiv="Cache-Control" content="no-siteapp"> <meta name="renderer" content="webkit"> <meta name="description" content=""> <meta name="keywords" content=""> <link href="http://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"> <script src="http://cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script> <script src="http://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <script type="text/javascript" > </script> <style type="text/css"> </style> <title>管理系统</title> </head> <body> <nav class="navbar navbar-default" role="navigation"> <div class="container-fluid"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#example-navbar-collapse"> <span class="sr-only">切换导航</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">广告管理系统</a> </div> <div class="collapse navbar-collapse" id="example-navbar-collapse"> <ul class="nav navbar-nav"> <li class="active"><a href="#">新建广告</a></li> <li><a href="#">微信文件</a></li> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> test <b class="caret"></b> </a> <ul class="dropdown-menu"> <li><a href="#">jmeter</a></li> <li><a href="#">EJB</a></li> <li><a href="#">Jasper Report</a></li> <li class="divider"></li> <li><a href="#">分离的链接</a></li> <li class="divider"></li> <li><a href="#">另一个分离的链接</a></li> </ul> </li> </ul> </div> </div> </nav> <div class="panel panel-default"> <div class="panel-heading"> <h2 class="panel-title" style='text-align:center;font-weight:600;'>新建广告</h2> </div> <div class="panel-body"> <div class="table-responsive"> <form action='/borrow/tender_insert' method='post'> <table class="table table-striped">
<caption>This is a table caption</caption>
<thead>
<tr> <th>属性</th> <th>内容</th> </tr> </thead> <tbody> <tr> <td>广告期号sn</td> <td><input class="form-control" type="text" name='sn' placeholder="正整数"></td> </tr> <tr> <td>用户手机号</td> <td><input class="form-control" type="text" name='username' placeholder=""></td> </tr> <tr> <td>操作</td> <td><input class="form-control" type="submit" name='' onclick="return confirm('确定无误?')"></td> </tr> </tbody> </table> </form> </div> </div> </div> </body> </html>