apiserver/Index.html

56 lines
2.7 KiB
HTML
Raw Permalink Normal View History

2023-11-25 14:02:30 +08:00
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
<title>API Server</title>
<style type="text/css">
2023-12-01 10:09:53 +08:00
form {margin: 10px; display: inline;}
2023-11-30 10:57:20 +08:00
ul,li {margin: 0px; padding: 0px; list-style-type: none;display: inline;}
2023-11-25 14:02:30 +08:00
label {font-family: Consolas; font-size: 16px;}
2023-11-29 18:14:55 +08:00
input {width: 200px; height: 20px; font-family: monospace; font-size: 14px;}
select {width: 150px; height: 25px; font-size: 14px;}
2023-11-26 13:54:14 +08:00
iframe {word-wrap: break-word; position: static; border: 0; top: 0px; left: 0px; width: 100%;}
2023-11-25 14:02:30 +08:00
</style>
2023-11-26 13:54:14 +08:00
<script>
function adjustIFrame() {
var ifm= document.getElementById("result");
//ifm.contentWindow.document.body.scrollHeight;
ifm.height = ifm.contentWindow.document.documentElement.scrollHeight;
}
</script>
2023-11-25 14:02:30 +08:00
</head>
<body leftmargin="10px" >
2023-12-01 10:09:53 +08:00
<h4>测试记录查询</h4>
2023-11-25 14:02:30 +08:00
<form name="getuutinfo" action="/getuutinfo/" method="POST" target="result">
<ul>
<li>
2023-11-30 10:57:20 +08:00
<!--label for="ACTION">查询类型: </label>&nbsp;-->
<select name="ACTION" id="ACTION">
<!--option value="" selected="true">* 选择查询类型 *</option-->
<option value="QueryByFilter" selected="true">条件查询</option>
<option value="GetIssueReport">实时异常报表</option>
2023-11-30 10:57:20 +08:00
<option value="GetOfflineReport">实时离线报表</option>
</select>&nbsp;
</li>
<li>
<!--label for="KEY">查询条件: </label>&nbsp;-->
<select name="KEY" id="KEY">
<!--option value="" selected="true">* 选择查询条件 *</option-->
<option value="USN" selected="true">By USN</option>
<option value="MAC">By MAC</option>
2023-11-30 10:57:20 +08:00
<option value="MO">By MO</option>
</select>&nbsp;
<input type="text" name="VALUE" id="VALUE" />&nbsp;
</li>
<li>
<input type="reset" value="Reset" style="width:100px; height:25px;" />&nbsp;
<input type="submit" value="Query" style="width:100px; height:25px;" />
2023-11-25 14:02:30 +08:00
</li>
</ul>
</form>
<br/>
2023-11-26 13:54:14 +08:00
<iframe title="result" name="result" id="result" scrolling="no" onload="adjustIFrame();"></iframe>
2023-11-25 14:02:30 +08:00
</body>
</html>