50 lines
2.2 KiB
HTML
50 lines
2.2 KiB
HTML
<!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">
|
|
form {margin: 0px; display: inline;}
|
|
ul,li {margin: 0px; padding: 0px; list-style-type: none;}
|
|
label {font-family: Consolas; font-size: 16px;}
|
|
input {width: 200px; height: 20px; font-family: monospace; font-size: 14px;}
|
|
select {width: 150px; height: 25px; font-size: 14px;}
|
|
iframe {word-wrap: break-word; position: static; border: 0; top: 0px; left: 0px; width: 100%;}
|
|
</style>
|
|
<script>
|
|
function adjustIFrame() {
|
|
var ifm= document.getElementById("result");
|
|
//ifm.contentWindow.document.body.scrollHeight;
|
|
ifm.height = ifm.contentWindow.document.documentElement.scrollHeight;
|
|
}
|
|
</script>
|
|
</head>
|
|
<body leftmargin="10px" >
|
|
<h4>机台测试记录查询</h4>
|
|
|
|
<form name="getdefectinfo" action="/getdefectinfo/" method="POST" target="result">
|
|
<input type="submit" name="Query" value="实时异常报表" style="width:120px; height:25px;">
|
|
</form>
|
|
|
|
<form name="getofflineinfo" action="/getofflineinfo/" method="POST" target="result">
|
|
<input type="submit" name="Query" value="实时离线报表" style="width:120px; height:25px;">
|
|
</form>
|
|
<br/><br/>
|
|
|
|
<form name="getuutinfo" action="/getuutinfo/" method="POST" target="result">
|
|
<ul>
|
|
<li>
|
|
<label>USN: </label>
|
|
<input type="text" name="USN" id="USN" />
|
|
|
|
<input type="submit" name="Query" value="Query" style="width:75px; height:25px;" />
|
|
<!--input type="submit" style="width:75px; height:25px;" /-->
|
|
</li>
|
|
</ul>
|
|
</form>
|
|
<br/>
|
|
<iframe title="result" name="result" id="result" scrolling="no" onload="adjustIFrame();"></iframe>
|
|
</body>
|
|
</html>
|