<html>
	<head>
		<title>3DPrinterOS Client</title>
		<link rel="stylesheet" type="text/css" href="/static/styles/style.css">
	</head>
	<body bgcolor=#003333>
		<div id='host_version' align='right' style='align: right; color: #006666'>!!!URL!!! !!!VERSION!!!</div>
		<div class="block1">
			<div class="block2">
				3DPrinterOS Client
			</div>
			<center>
				<div class="block3">
                    <p><h3>Control printer</h3></p>
					<form action="/joystick/start?printer_id=!!!PRINTER_ID!!!" method="post">
                        <input style="display:none" name="printer_id" value="!!!PRINTER_ID!!!">
						<input type="submit" value="Joystick and console" class="middle_button">
					</form>
					<form action="/local_file_print_or_delete?printer_id=!!!PRINTER_ID!!!" method="post">
                        <input type="hidden" name="printer_id" value="!!!PRINTER_ID!!!">
						<input type="submit" value="Print from local storage" class="middle_button">
					</form>
                    <form action="/show_logs?printer_id=!!!PRINTER_ID!!!" method="get">
                        <input type="hidden" name="printer_id" value="!!!PRINTER_ID!!!">
						<input type="submit" value="View logs" class="middle_button">
					</form>
					<form action="/select_printer_groups?printer_id=!!!PRINTER_ID!!!" method="post">
                        <input type="hidden" name="printer_id" value="!!!PRINTER_ID!!!">
						<input type="submit" value="Manage workgroups" class="middle_button">
					</form>
					<form action="/printer_conn_type_page?printer_id=!!!PRINTER_ID!!!" method="post">
                        <input type="hidden" name="printer_id" value="!!!PRINTER_ID!!!">
						<input type="submit" value="Connection type" class="middle_button">
					</form>
					<!--<form action="/pages/edit_printer?printer_id=!!!PRINTER_ID!!!" method="get">-->
                    <!--    <input type="hidden" name="printer_id" value="!!!PRINTER_ID!!!">-->
					<!--    <input type="submit" value="Edit printer" class="middle_button">-->
					<!--</form>-->
					<form action="/!!!PATH!!!" method="post" style='display: inline'>
						<input type="button" onClick="location.href='/'" value="Back" class="middle_button" style="background:#ff9900">
					</form>
				</div>
			</center>
		</div>
	</body>
</html>
