-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
90 lines (83 loc) · 3.25 KB
/
index.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
85
86
87
88
89
90
<!DOCTYPE html>
<html>
<head>
<link rel="icon" type="image/x-icon" href="assets/favicon.ico" />
<link rel="stylesheet" href="assets/system.css" />
<link rel="stylesheet" href="assets/layout.css" />
<script type="module" src="js/main.js"></script>
</head>
<body>
<header>
<div class="menu-bar" id="header-content">
<div id="left-header-items">
<ul role="menu-bar">
<li role="menu-item" tabindex="0" aria-haspopup="true" class="padded-menu-item" id="system-menu">
<strong style="font-size:16px;">WSTerm</strong>
<ul role="menu" >
<li role="menu-item" ><a id="connect-last" href="#" onclick="this.blur()">Connect (echo server)</a></li>
<li role="menu-item" class="divider"><a id="connect-to" href="#" onclick="this.blur()">Connect to...</a></li>
<li role="menu-item"><a id="help-link" href="#" onclick="this.blur()">Help</a></li>
</ul>
</li>
</ul>
</div>
<div id="right-header-items">
<ul role="menu-bar">
<ul role="menu-bar">
<li role="menu-item" tabindex="0">
<a href="https://github.com/landretk/websocket-term">
GitLab
</a>
</li>
</ul>
</ul>
</div>
</div>
</header>
<main id="main-container">
<section id="game-container">
<div id="game-view">
</div>
<div id="game-input-container">
<span for="game-input" class="input-prompt">
<input type="text" id="game-input" />
</span>
</div>
</section>
<aside id="game-sidepanel">
<div id="status-pane">
</div>
<div id="map-pane">
</div>
</aside>
<div id="connect-to-dialog" class="window modeless-float-320" onblur="console.log('blur')">
<div class="title-bar">
<button aria-label="Close" disabled class="hidden"></button>
<h1 class="title">Connect To...</h1>
<button aria-label="Resize" disabled class="hidden"></button>
</div>
<div class="separator"></div>
<div class="modeless-dialog">
<section class="field-row" style="justify-content: flex-start">
<label for="connect-to-host" class="modeless-text">Host</label>
<input id="connect-to-host" type="text" placeholder="" style="width:80%;">
</section>
<section class="field-row" style="justify-content: flex-start">
<label for="connect-to-port" class="modeless-text">Port</label>
<input id="connect-to-port" type="text" placeholder="" style="width:90px">
</section>
<section class="field-row" style="justify-content: flex-start">
<label for="connect-to-ssl" class="modeless-text">SSL</label>
<input id="connect-to-ssl" type="checkbox" name="ssl-checkbox" checked="true" />
<label for="connect-to-ssl" class="modeless-text"
style="top:-8px;margin-left:calc(15px + var(--checkbox-total-width));"></label>
</section>
<section class="field-row" style="justify-content: flex-end">
<button class="btn" id="connect-to-cancel">Cancel</button>
<button class="btn" id="connect-to-accept">Connect</button>
</section>
</div>
</div>
</main>
</body>
</html>