apiserver/Index.html

37 lines
1.5 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">
ul,li {margin: 0px; padding: 0px; list-style-type: none;}
label {font-family: Consolas; font-size: 16px;}
input {width: 250px; height: 20px; font-family: monospace; 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>
<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;" />
</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>