-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
executable file
·67 lines (66 loc) · 1.61 KB
/
Copy pathindex.html
File metadata and controls
executable file
·67 lines (66 loc) · 1.61 KB
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
<html>
<script src='./js'></script>
<h1>
Sign in to OokTech.xyz
</h1>
<table style='border:solid 1px;'>
<tr>
<td style='border:solid 1px;padding: 5px;'>
Authentication state: <span id='authstate'>Unauthenticated</span>
<br>
<input type='button' onclick='loginAsGuest()' value='Login as Guest' id='loginasguest'></input>
<br>
or enter credentials
<br>
Name: <input type="text" value="" id="user"></input>
Password: <input type="password" value="" id="pwd"></input>
<br>
<input type='button' onclick='login()' value='Login' id='login'></input>
<input type='button' onclick='logout()' value='Logout' id='logout' disabled></input>
</td>
<!--
<td style='border:solid 1px;padding: 5px;'>
Websocket state: <span id='wsstate'>Disconnected</span>
<br>
<input type='button' onclick='connect()' id='connect' value='Connect'></input>
<input type='button' onclick='disconnect()' id='disconnect' value='Disconnect' disabled></input>
</td>
-->
</tr>
</table>
<br>
Once you are authenticated you can go to the <span id='wikilink'>wiki</span>
<br>
Or you can use the simple chat here. When you are authenticated you can type in your message here and click Send.
<h2>
Send Message
</h2>
<input
type='text'
value=''
id='message'
style='width:100%'
onkeypress="isEnter (event)"
></input>
<input
type='button'
onclick='sendAnnouncement()'
value='Send'
id='announce'
disabled
></input>
<br>
<h2>
Messages
</h2>
<div
id='content'
style='height:40vh;overflow:auto;'
>
<p
id='display'
>
Nothing yet...
</p>
</div>
</html>