-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathindex.html
124 lines (94 loc) · 4.24 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
<head>
<title> Welcome to SeaFour.club </title>
<!-- Meta tags are so fucking obfuscating, but muh SEO. -->
<meta charset="UTF-8"> <!-- Just like every other webpage ever. -->
<meta name="viewport"
content="width=device-width, initial-scale=1.0, maximum-scale=1.0, target-densitydpi=medium-dpi, user-scalable=0"/>
<meta name="keywords"
content="chat,webchat,irc,technology,programming,social,cute,kawaii,desu,senpai">
<meta name="description"
content="Get ready for the future of social metacommunication.
Social metacommunication?
What's that even mean?">
<meta name="author"
content="Landon Powell">
<link href="/css/lightChat.css" rel="stylesheet" name="theme">
<link href="/css/darkChat.css" rel="alternate stylesheet" name="theme">
<link href="/css/stealthChat.css" rel="alternate stylesheet" name="theme">
<link href="/css/tallChat.css" rel="alternate stylesheet" name="tallTheme">
<link href="/css/fonts.css" rel="stylesheet">
<link rel="shortcut icon" type="image/x-icon" href="/css/images/iconPurple.png">
</head>
<body>
<div id="messages">
<div id="handle" class="draggable">
<div id="handlebar">
<span id="title"></span>
</div>
<textarea id="inputbox" onKeydown="keyPressed(event);" placeholder="Type your message here."></textarea>
</div>
<div id="embed" style="display:none;">
<div id="urlHandlebar"> Embeded URL </div>
<span id="urlClose" onclick="embedURL('kill')"> ' </span>
<iframe src=""></iframe>
</div>
</div>
<div id="menuButtons">
<button class="menuButton">
Settings
</button>
<button onclick="$('#loginMenu').slideToggle();" class="menuButton" id="accountButton">
Account
</button>
<div id="loginMenu">
<h4> Log In </h4>
<input type="text" id="userName" placeholder="Handle"/>
<input type="password" id="passWord" placeholder="Passphrase"/>
<button id="loginButton"> Log into SeaFour </button>
<hr/>
<h4> Sign Up </h4>
<input type="text" id="newUserName" placeholder="Handle"/>
<span id="newUserNameSanitized"> - </span> <br />
<input type="password" id="newPassphrase" placeholder="Passphrase"/>
<input type="password" id="confirmPhrase" placeholder="Confirm it"/>
<button id="registerButton"> Sign Up for SeaFour </button>
<hr/>
<button id="guestButton" onclick="$('#loginMenu').slideToggle();">
Continue as a Guest
</button>
</div>
<button onclick="$('#userMenu').slideToggle();" class="menuButton" id="usersButton">
Users - 0
</button>
<div id="userMenu">
<div id="userList">
<!-- Users display here. -->
</div>
</div>
</div>
<div id="notifications">
<!-- System messages display here -->
</div>
<div id="popupNotification" style="display:none;"> <!-- To-do -->
<span> Please Wait <br> Magic is Happening </span>
</div>
<audio id="notificationClick">
<source src="/js/alertNoise.ogg" type="audio/ogg">
</audio>
<!--
The following assets were moved below the
fold to increase page speed. I don't generally
like the below-the-fold scripts thing in HTML,
but browsers are all made poorly and you have
to make accommodations for them. #Stop_W3C_2016
-->
<!-- Outside scripts and libraries. -->
<script src="/js/jquery.js"></script> <!-- getElementByID, getElementsByClassName, and getElementBySelector suck ass. So does jQuery though. -->
<!-- Cryptography Related Scripts (VERY IMPORTANT) -->
<script src="/js/crypto/sjcl/sjcl.js"></script> <!-- Stanford JS Crypto lib, used for pbkdf2 symmetric encryption. -->
<script src="/js/crypto/ellipticBrowserify.js"></script>
<!-- SeaFour made assets. -->
<script src="/js/parser.js"></script>
<script src="/js/client.js"></script>
<link href="/css/specialMessages.css" rel="stylesheet" >
</body>