login.html 1.4 KB
Newer Older
A
Asher 已提交
1 2 3
<!DOCTYPE html>
<html lang="en">
	<head>
A
Asher 已提交
4 5
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
		<meta http-equiv="Content-Security-Policy" content="default-src 'none'; style-src 'self' 'unsafe-inline'; script-src 'unsafe-inline'; manifest-src 'self'; img-src 'self';">
A
Asher 已提交
6
		<title>Authenticate: code-server</title>
A
Asher 已提交
7
		<link rel="icon" href="./static/out/vs/server/src/media/favicon.ico" type="image/x-icon" />
A
Asher 已提交
8
		<link rel="manifest" href="./manifest.json" crossorigin="use-credentials">
A
Adam Vernon 已提交
9
		<link rel="apple-touch-icon" href="./static/out/vs/server/src/media/code-server.png" />
A
Asher 已提交
10
		<meta name="apple-mobile-web-app-capable" content="yes">
A
Asher 已提交
11
		<link href="./static/out/vs/server/src/media/login.css" rel="stylesheet">
A
Asher 已提交
12 13
	</head>
	<body>
14
		<form class="login-form" method="post">
A
Asher 已提交
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
			<h4 class="title">code-server</h4>
			<h2 class="subtitle">
				Enter server password
			</h2>
			<div class="field">
				<!-- The onfocus code places the cursor at the end of the value. -->
				<input name="password" type="password" class="input" value=""
					required autofocus
					onfocus="const value=this.value;this.value='';this.value=value;">
			</div>
			<button class="button" type="submit">
				<span class="label">Enter IDE</span>
			</button>
			<div class="error-display" style="display:none">{{ERROR}}</div>
		</form>
	</body>
</html>