apiserver/Index.html

50 lines
2.2 KiB
HTML
Raw 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-11-29 18:14:55 +08:00
form {margin: 0px; display: inline;}
2023-11-25 14:02:30 +08:00
ul,li {margin: 0px; padding: 0px; list-style-type: none;}
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" >
<h4>机台测试记录查询</h4>
2023-11-29 18:14:55 +08:00
<form name="getdefectinfo" action="/getdefectinfo/" method="POST" target="result">
<input type="submit" name="Query" value="实时异常报表" style="width:120px; height:25px;">
</form>
&nbsp;
<form name="getofflineinfo" action="/getofflineinfo/" method="POST" target="result">
<input type="submit" name="Query" value="实时离线报表" style="width:120px; height:25px;">
</form>
<br/><br/>
2023-11-25 14:02:30 +08:00
<form name="getuutinfo" action="/getuutinfo/" method="POST" target="result">
<ul>
<li>
<label>USN: </label>
<input type="text" name="USN" id="USN" />
&nbsp;
<input type="submit" name="Query" value="Query" style="width:75px; height:25px;" />
2023-11-29 18:14:55 +08:00
<!--input type="submit" style="width:75px; 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>