-
Notifications
You must be signed in to change notification settings - Fork 9
/
drawterm.html
84 lines (84 loc) · 1.89 KB
/
drawterm.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>drawterm</title>
<script src="config.js" type="text/javascript"></script>
<script src="blob.js" type="text/javascript"></script>
<script src="aux.js" type="text/javascript"></script>
<script src="rcpu.js" type="text/javascript"></script>
<script src="tls.js" type="text/javascript"></script>
<script src="9p.js" type="text/javascript"></script>
<script src="devdraw.js" type="text/javascript"></script>
<script src="devcons.js" type="text/javascript"></script>
<script src="devaudio.js" type="text/javascript"></script>
<style type="text/css">
html, body {
margin: 0;
width: 100%;
height: 100%;
}
canvas {
margin: 0;
display: none;
}
#thegrey {
display: flex;
justify-content: center;
align-items: center;
flex-direction: row;
margin: 0;
width: 100%;
height: 100%;
background: #777777;
}
* {
font-size: 20pt;
font-family: sans-serif;
}
#loading {
border: 4px solid #55aaaa;
background: white;
padding: 1cm;
display: flex;
flex-direction: column;
}
#loading > div {
margin-top: 1em;
display: flex;
flex-direction: row;
justify-content: space-between;
}
#loading span { font-size: 24pt; }
#login {
border: 4px solid #55aaaa;
background: white;
padding: 1cm;
display: none;
}
#login input {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
#error {
display: none;
}
</style>
</head>
<body>
<div id="thegrey">
<div id="loading">
<img src="loading.jpg" alt="ROB">
<div><span>L</span><span>O</span><span>A</span><span>D</span><span>I</span><span>N</span><span>G</span></div>
</div>
<form id="login" onsubmit="go(); return false">
<span id="error"></span>
<input type="text" id="user" placeholder="User name">
<input type="password" id="password" placeholder="Password">
<input type="submit" value="Connect">
</form>
</div>
<canvas id='canvas' width="1024" height="768">
</canvas>
</body>
</html>