-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
243 lines (212 loc) · 9.07 KB
/
index.html
File metadata and controls
243 lines (212 loc) · 9.07 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
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
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="" content="width=device-width">
<title>Memory System</title>
<link rel="stylesheet" href="style.css">
<script src="debug.js"></script>
<!-- Gonna split the file -->
<script type="module" src="Scripts/init.js"></script>
<meta name="referrer" content="no-referrer"> <!-- This is for the imgur hehe -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/markdown-it/12.0.5/markdown-it.min.js"></script> <!-- markdown functionality -->
</head>
<body>
<h3 id="alert">This is an alert!</h3>
<svg id="hamburger" viewBox="0 0 50 50" width="45px" height="45px">
<path fill="white"
d="M 3 9 A 1.0001 1.0001 0 1 0 3 11 L 47 11 A 1.0001 1.0001 0 1 0 47 9 L 3 9 z M 3 24 A 1.0001 1.0001 0 1 0 3 26 L 47 26 A 1.0001 1.0001 0 1 0 47 24 L 3 24 z M 3 39 A 1.0001 1.0001 0 1 0 3 41 L 47 41 A 1.0001 1.0001 0 1 0 47 39 L 3 39 z" />
</svg>
<div id="settingsContainer">
<h1 id="settingsTitle">Settings</h1>
<hr>
<br>
<h2>How to handle No Pronouns</h2>
<p>
By default, the members who do not have pronouns set up for them will
display "No Pronouns" in that field, but if the "Do not show" option
is selected, there will be a black space instead. <br>
It will still take up space (and be rendered as a space) for future
editing.
</p>
<select id="pronounsSelection">
<option value="show">Show "No Pronouns"</option>
<option value="space">Do not show</option>
</select>
<hr>
<br>
<h2>Background Image</h2>
<select id="backgroundSelection">
<option value="default">Use default image</option>
<option value="custom">Use custom image</option>
</select>
<input id="bgImgSubmission" type="file" accept="image/*">
<hr>
<br>
<h2>Divider Handling</h2>
<p>
A divider is a PluralKit member created to be a divider when switching,
and they usually indicate who is co-conscious. With this option, they
won't appear in the member list, but will appear in the fronters list
and the add to front list. <br>
A divider member has their name start and end with 3 backticks (```),
so that when the user looks at the front history with PluralKit, the
divider member is clearly visible as a divider.
</p>
<input id="doDividerHandling" type="checkbox">
<br>
<h2>Prefer Display Names</h2>
<p>
If this option is enabled, the members will still be in alphabetical
order of their member name!
</p>
<input id="preferDisplayNames" type="checkbox">
</div>
<div id="addToFrontContainer">
<div class="sameLine">
<svg id="cancelAddToFront" style="width: 2em; height: 2em" class="btn" clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z" fill-rule="nonzero"/>
</svg>
<h1>Add to Front</h1>
</div>
<div id="frontMemberSearch">
<input type="text" id="searchFrontInput" autocomplete="none" placeholder="Search front members...">
</div>
<div id="frontMemberList">
</div>
<button id="switch">Record Switch</button>
</div>
<div id="frontersContainer">
<div class="sameLine">
<svg id="returnFronters" style="width: 2em; height: 2em" class="btn" clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z" fill-rule="nonzero"/>
</svg>
<h1>Fronters</h1>
</div>
<div id="frontersList">
</div>
</div>
<div id="createMemberContainer">
<div class="sameLine">
<svg id="cancelCreateMember" style="width: 2em; height: 2em" class="btn" clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z" fill-rule="nonzero"/>
</svg>
<h1>Create Member</h1>
</div>
<div id="creationScreen">
<form id="memberForm">
<label for="memberName">Member Name:</label>
<input type="text" id="memberName" name="name" autocomplete="off" required>
<hr>
<label for="memberColor">Member Color (HEX format):</label>
<input type="text" id="memberColor" name="color" autocomplete="off" pattern="^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$">
<hr>
<label for="memberPronouns">Member Pronouns:</label>
<input type="text" id="memberPronouns" name="pronouns" autocomplete="off">
<hr>
<label for="memberAvatar">Member Avatar (URL):</label>
<input type="url" id="memberAvatar" name="avatar" autocomplete="off">
<hr>
<button type="button" id="createMemberForm">Create Member</button>
</form>
</div>
</div>
<div id="memberInfo">
<div id="memberInfoTitle" class="sameLine">
<svg id="returnMember" style="width: 2em; height: 2em" class="btn" clip-rule="evenodd" fill-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<path d="m21 11.75c0-.414-.336-.75-.75-.75h-16.5c-.414 0-.75.336-.75.75s.336.75.75.75h16.5c.414 0 .75-.336.75-.75z" fill-rule="nonzero"/>
</svg>
<span>
<h1 class="noMrgn" id="memberInfoName">Name</h1>
<h1 class="noMrgn" id="memberInfoTag">Tag</h1>
</span>
<div id="memberInfoColor"></div>
</div>
<h4 class="noMrgn">Also Known As :: <span id="memberInfoDN">Display Name</span></h4>
<div id="memberInfoContent">
<img id="memberInfoImg" src="https://upload.wikimedia.org/wikipedia/commons/a/ac/Default_pfp.jpg">
<div id="memberInfoDesc" contenteditable="true">
<p>This is the member's description.</p>
</div>
</div>
<div id="memberInfoAttributes">
<!-- Pronouns, Bday, || Groups -->
<div id="memberInfoLeft">
<h4 class="noMrgn">Pronouns :: <span id="memberInfoPronouns"></span></h4>
<h4 class="noMrgn">Birthday :: <span id="memberInfoBday">0004-01-01</span></h4>
</div>
<div id="memberInfoRight">
<h3 class="noMrgn">Groups</h3>
<p id="memberInfoGroups"></p>
</div>
</div>
<div id="memberInfoBanner">
</div>
</div>
<div id="container">
<div id="content">
<div id="left">
<div id="members">
<div id="memberTitle">
<h1>Members</h1>
<svg class="btn" id="createMember" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path fill="white" d="M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z"/>
</svg>
</div>
<div id="memberSearch">
<input type="text" id="searchInput" autocomplete="none" placeholder="Search members...">
</div>
<div id="memberContainer">
</div>
</div>
</div>
<div id="rightPart">
<div id="mid">
<div id="fronters">
<div>
<h3>Switch :: </h3>
<svg class="btn" id="addToFront" xmlns="http://www.w3.org/2000/svg" width="2em" height="2em" viewBox="0 0 24 24">
<path fill="white" d="M24 10h-10v-10h-4v10h-10v4h10v10h4v-10h10z"/>
</svg>
</div>
<button class="btn" id="checkFronters">Member(s) in front</button>
</div>
<div id="important">
<div id="scrollingText">
<p>
<span class="importantText"></span> -
<span class="importantText"></span> -
<span class="importantText"></span> -
<span class="importantText"></span> -
<span class="importantText"></span> -
<span class="importantText"></span> -
<span class="importantText"></span> -
</p>
</div>
</div>
</div>
<div id="right">
<div id="rightContainer">
<div id="persistent" class="txtbox">
<h3>Persistent Journal Entry</h3>
<div id="persistentTxt" class="txtboxType" contenteditable="true">
</div>
</div>
<div id="" class="txtbox">
<h3>Daily Journal Entry</h3>
<div id="dailyTxt" class="txtboxType" contenteditable="true">
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="module" src="Scripts/members.js"></script>
<script type="module" src="Scripts/system.js"></script>
<script type="module" src="Scripts/utils.js"></script>
<script type="module" src="Scripts/journal.js"></script>
<script type="module" src="Scripts/settings.js"></script>
<script type="module" src="Scripts/main.js"></script>
</body>
</html>