1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="UTF-8">
- <title>Insert title here</title>
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui/css/H-ui.min.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/H-ui.admin.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/Hui-iconfont/1.0.7/iconfont.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/lib/icheck/icheck.css" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/skin/default/skin.css" id="skin" />
- <link rel="stylesheet" type="text/css" href="${ctx}/assets/static/h-ui.admin/css/style.css" />
- <script type="text/ecmascript" src="${ctx}/assets/lib/jquery/1.9.1/jquery.js"></script>
- <script type="text/javascript" src="${ctx}/assets/static/h-ui/js/H-ui.js"></script>
- <script type="text/javascript" src="${ctx}/assets/lib/layer/3.0.3/layer.js"></script>
- <script type="text/javascript">
- $(function() {
- $("#runsql").click(function() {
- var sqls = encodeURIComponent($("#sqls").val());
- $.post("${ctx}/myconsole/executeSql/run", {
- "sqls" : sqls
- }, function(data) {
- $("#result").html(data);
- })
- })
- })
- </script>
- </head>
- <body>
- <form action="" id="form1" name="form1" method="post">
- <div style="padding:10px;text-align: center">
- <div>
- <textarea id="sqls" name="sqls" rows="10" cols="250"></textarea>
- </div>
- <button id="runsql" type="button">执行</button>
- </form>
- <div id="result"></div>
- </div>
- </body>
- </html>
|