35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>P80 printer webpage configuration</title>
|
|
<script src="static/config.js"></script>
|
|
</head>
|
|
|
|
<body onload="render_config();">
|
|
<div class="navbar">
|
|
<ul>
|
|
<a href="/">Print</a>
|
|
<a href="/config">Configuration</a>
|
|
</ul>
|
|
</div>
|
|
|
|
<div class="container" display="block">
|
|
<form>
|
|
<label for="address">Address:</label><br>
|
|
<input type="text" id="address" name="address" title="Printer network address (ip/hostname)"
|
|
maxlength="30"><br>
|
|
|
|
<label for="port">Port:</label><br>
|
|
<input type="text" id="port" name="port" pattern="\d{1,5}" title="Port number (9100 by default)"><br>
|
|
|
|
<label for="profile">Profile:</label><br>
|
|
<input type="text" id="profile" name="profile" title="Printer profile, fixed value for now" readonly><br>
|
|
</form>
|
|
<button type="submit" onclick="send_config()">Update config</button>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |