<!doctype html>
<html>
<head>
	<meta charset="utf-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
	<title>Terminal :: ESPTerm</title>
	<link href="/css/app.6241b01.css" rel="stylesheet">
	<script src="/js/app.6241b01.js"></script>
	<script>
		var _root = location.host;
		var _demo = 1;
			</script>
</head>
<body class="term">
<div id="outer">

<div id="content">
<img src="/img/loader.gif" alt="Loading…" id="loader">
<script>
	// Workaround for badly loaded page
	setTimeout(function() {
		if (typeof termInit == 'undefined' || typeof $ == 'undefined') {
			console.error("Page load failed, refreshing…");
			location.reload(true);
		}
	}, 3000);
</script>

<div class="Modal light hidden" id="fu_modal">
	<div id="fu_form" class="Dialog">
		<div class="fu-content">
			<h2>Text Upload</h2>
			<p>
				<label for="fu_file">Load a text file:</label>
				<input type="file" id="fu_file" accept="text/*" /><br>
				<textarea id="fu_text"></textarea>
			</p>
			<p>
				<label for="fu_crlf">Line Endings:</label>
				<select id="fu_crlf">
					<option value="CR">CR (Enter key)</option>
					<option value="CRLF">CR LF (Windows)</option>
					<option value="LF">LF (Linux)</option>
				</select>
			</p>
			<p>
				<label for="fu_delay">Line Delay (ms):</label>
				<input id="fu_delay" type="number" value=1 min=0>
			</p>
		</div>
		<div class="fu-buttons">
			<button id="term-fu-start" class="icn-ok x-fu-go">Start</button>&nbsp;
			<button id="term-fu-close" class="icn-cancel x-fu-cancel">Cancel</button>&nbsp;
			<i class="fu-prog-box">Upload: <span id="fu_prog"></span></i>
		</div>
	</div>
</div>

<h1 id="screen-title"><!-- Screen title is loaded here by JS --></h1>

<div id="term-wrap">
	<div id="screen">
		<input id="softkb-input" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" />
		<div id="touch-select-menu">
			<button id="touch-select-copy-btn">Copy</button>
		</div>
	</div>

	<div id="action-buttons">
		<button data-n="1"></button><!--
		--><button data-n="2"></button><!--
		--><button data-n="3"></button><!--
		--><button data-n="4"></button><!--
		--><button data-n="5"></button>
	</div>
</div>

<nav id="term-nav">
	<a href="#" id="term-fit-screen" class="mq-tablet-max"><i id="resize-button-icon" class="icn-resize-small"></i></a><!--
	--><a href="#" id="term-kb-open" class="mq-tablet-max"><i class="icn-keyboard"></i><span>Keyboard</span></a><!--
	--><a href="#" id="term-fu-open"><i class="icn-download"></i><span>Upload</span></a><!--
	--><a href="cfg_term.html" class="x-term-conf-btn"><i class="icn-configure"></i><span>Config</span></a><!--
	--><a href="cfg_wifi.html" class="x-term-conf-btn"><i class="icn-wifi"></i><span>WiFi</span></a><!--
	--><a href="help.html" class="x-term-conf-btn"><i class="icn-help"></i><span>Help</span></a><!--
	--><a href="about.html" class="x-term-conf-btn"><i class="icn-about"></i><span>About</span></a>
</nav>

<script>
	try {
		window.noAutoShow = true;
		termInit({
		  labels: 'TESPTerm Web UI Demo\u0001OK\u0001Cancel\u0001\u0001\u0001Help',
		  theme: +'0',
		  allFn: !!+'0',
        });
	} catch(e) {
		console.error(e);
				console.error("Fail, reloading in 3s…");
		setTimeout(function() {
			location.reload(true);
		}, 3000);
			}
</script>

<div class="botpad"></div>

<div class="NotifyMsg hidden" id="notif"></div>

</div>

</div>

</body>
</html>