-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex-src.html
168 lines (156 loc) · 8.98 KB
/
index-src.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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
<!DOCTYPE html>
<!--
Pesterchum.online / PesterchumOnlineButSilly, a static pure-JavaScript Pesterchum client.
Copyright (C) 2023 Shou/Dpeta
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="Alternative web version of Pesterchum">
<meta name="keywords" content="Pesterchum, Pesterchum Online, Homestuck">
<meta name="viewport" content="width=device-width, height=device-height, initial-scale=0.75">
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width, height=device-height, target-densitydpi=device-dpi">
<meta http-equiv="Content-Security-Policy"
content="default-src 'none';font-src 'self';style-src 'unsafe-inline' 'self'; style-src-attr 'unsafe-inline'; style-src-elem 'self'; img-src 'self'; object-src 'none'; media-src 'self'; script-src 'self'; connect-src *; frame-src 'none'; form-action 'none'; base-uri 'none'">
<!-- When hosting on an actual web server the CSP should be more restrictive. (hash for script-src) -->
<link rel="preload" href="style.css" as="style">
<link rel="preload" href="src/pesterchum.js" as="script">
<link rel="icon" href="favicon.ico">
<link rel="canonical" href="https://pesterchum.online">
<link rel="stylesheet" href="style.css">
<script src="src/pesterchum.js" defer></script>
<title>Pesterchum Online</title>
</head>
<body>
<div id="background-image-wrapper">
<img src="#" class="background-image"/>
<img src="#" class="background-image"/>
<img src="#" class="background-image"/>
</div>
<main>
<div class="centered border-radius-effect">
<h1 class='no-centertxt no-pixelated'>
<div class="title">
<img src="smilies/perky_big.gif"/>
<p>PESTERCHUM</p>
<p>ONLINE</p>
<img src="smilies/perky_big.gif"/>
</div>
</h1>
<p>An online Pesterchum client! Not to be confused with the previous pco(s) which shut down. This isn't a fully-fledged replacement for <a href="https://github.com/Dpeta/pesterchum-alt-servers/releases">the desktop client</a>, mostly just to be an alternate way to still chat with people on it :3</p>
<p>Now up on <a href="https://github.com/Dpeta/PesterchumOnlineButSilly">GitHub</a> and under the <a href="agpl-3.0-standalone.html">AGPL</a>,</p>
<p class="pixelated"> woo yeah woo yeah <img src="smilies/3_big.gif"> </p>
<footer class='centertxt'>Last update: 2024-05-29</footer>
<div id="notice"><!--<a href="javascript.html" rel="jslicense">JavaScript license information</a> --><img src="img/agplv3-155x51.png"></div>
</div>
<div class='centered border-radius-effect'>
<div id='entry' class="entry">
<form id='connectForm'>
<label class="pixelated" for="handle">MYCHUMHANDLE:</label>
<input class="pixelated dark-input" type="text" id="handle" name="handle" requiredminlength="2" maxlength="32" size="10"><br>
<label class="pixelated" for="bloodcaste">PICK A SCRUNKLY COLOR!! </label>
<input type="color" name="bloodcaste" id="bloodcaste" class="dark-input" value="#416600"> (<a href="https://balentay.tumblr.com/homestuckcolors">Reference</a>)<br>
<!--<label for="allowUnsafeTags">Allow unsafe tags </label><input type="checkbox" name="allowUnsafeTags" id="allowUnsafeTags">-->
<div id='connectButtonDiv'><button id="connectButton" class=" border-radius-effect">CONNECT!</button></div>
</form>
</div>
<br>
<form id="advancedForm">
<div class='centeredGoAdvanced'>
<div id="advancedText">
<label class="pixelated" for="advancedCheck">Advanced mode</label>
<input type="checkbox" id="advancedCheck" name="advancedCheck">
</div>
<div id="userInputArea" class="entry">
<label class="pixelated" for="username">USERNAME (SASL)</label>
<input class="dark-input" name="username" id="username">
<label class="pixelated" for="password">PASSWORD (SASL)</label>
<input class="dark-input" name="password" id="password">
</div>
</div>
</form>
</div>
<div class="centered border-radius-effect">
<h3 class="pixelated">TH3M3S!
<button id="theme-custom-button" class="menu-button">+</button>
<button id="theme-reset-button" class="menu-button">Reset</button>
</h3>
<div class="theme-wrapper">
</div>
</div>
</main>
<dialog id="color-dialog" class=" border-radius-effect">
<div class="dialog-element-wrapper">
<form>
<label for="name" class="modal-full-width">Theme Name</label>
<input type="text" class="modal-full-width pixelated dark-input" name="name" id="name" value="custom Theme" />
<label for="outsideColor">outside color</label>
<input type="color" name="outsideColor" id="outsideColor" value="#d59700"/>
<input type="range" name="outsideColorOpacity" id="outsideColorOpacity" value=1 min=0 max=1 step=0.1 />
<label for="outsideColorOpacity">opacity</label>
<label for="insideColor">inside color</label>
<input type="color" name="insideColor" id="insideColor" value="#ffb500"/>
<input type="range" name="insideColorOpacity" id="insideColorOpacity" value=1 min=0 max=1 step=0.1 />
<label for="insideColorOpacity">opacity</label>
<label for="buttonAndBorderAscent">button and border ascent</label>
<input type="color" name="buttonAndBorderAscent" id="buttonAndBorderAscent" value="#fff700"/>
<input type="range" name="buttonAndBorderAscentOpacity" id="buttonAndBorderAscentOpacity" value=1 min=0 max=1 step=0.1 />
<label for="buttonAndBorderAscentOpacity">opacity</label>
<label for="unselectedColor">unselected/shadowed color</label>
<input type="color" name="unselectedColor" id="unselectedColor" value="#5f5f5f"/>
<input type="range" name="unselectedColorOpacity" id="unselectedColorOpacity" value=1 min=0 max=1 step=0.1 />
<label for="unselectedColorOpacity">opacity</label>
<label for="black">black</label>
<input type="color" name="black" id="black" value="#000001"/>
<input type="range" name="blackOpacity" id="blackOpacity" value=1 min=0 max=1 step=0.1 />
<label for="blackOpacity">opacity</label>
<label for="white">white</label>
<input type="color" name="white" id="white" value="#ffffff"/>
<input type="range" name="whiteOpacity" id="whiteOpacity" value=1 min=0 max=1 step=0.1 />
<label for="whiteOpacity">opacity</label>
<label for="buttonBorderColor">buttons border's color</label>
<input type="color" name="buttonBorderColor" id="buttonBorderColor" value="#c59400"/>
<input type="range" name="buttonBorderColorOpacity" id="buttonBorderColorOpacity" value=1 min=0 max=1 step=0.1 />
<label for="buttonBorderColorOpacity">opacity</label>
<label for="borderRadius" class="modal-full-width">buttons radius</label>
<input type="range" class="modal-full-width" name="borderRadius" id="borderRadius" value=1 min=0 max=1 step=0.1 />
<button type="submit" class="modal-full-width border-radius-effect" >SAVE</button>
<button class="modal-full-width border-radius-effect" type="button">CLOSE</button>
<h3 class="pixelated">Background!
<button id="reset-background" type="button" class="menu-button modal-full-width">reset</button>
</h3>
<div class="background-wrapper modal-full-width">
</div>
</form>
</div>
</dialog>
<dialog class="audio-dialog">
<div class="dialog-element-wrapper">
<form>
<label for="audioMute">Mute all sound</label>
<button id="muteAllButton" type="button">Mute all sound</button>
<label for="audioMuteMemo" >Mute memos</label>
<button id="muteMemoButton" type="button">Mute</button>
<label for="audioMuteMention">Mute mentions</label>
<button id="muteMentionButton" type="button">Mute</button>
<label for="audioMuteDM">Mute DMs</label>
<button id="muteDMButton" type="button">Mute</button>
<label for="audioMuteHoNk">MoThErFuCkInG mUtE hOnKs!</label>
<button id="muteHonkButton" type="button">Mute</button>
<button type="button" class="modal-full-width">CLOSE</button>
</form>
</div>
</dialog>
</body>
</html>
<!-- You are reading our html! have a wonderful day! by: laaledesiempre--->