-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
450 lines (384 loc) · 17.1 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
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
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>5E Random Character</title>
</head>
<body onload="populatePage()">
<div class="topRow">
<div class="characterNameWrapper">
<div class="characterName">
<button type="button" onclick="populatePage()">Refresh</button>
<!-- Allows Selection of class, for testing -->
<select id="races" name="races">
<option value="chooseAClass">Choose A Class</option>
<option value="bard">bard</option>
<option value="barbarian">barbarian</option>
<option value="monk">monk</option>
<option value="cleric">cleric</option>
<option value="druid">druid</option>
<option value="fighter">fighter</option>
<option value="paladin">paladin</option>
<option value="ranger">ranger</option>
<option value="rogue">rogue</option>
<option value="sorcerer">sorcerer</option>
<option value="warlock">warlock</option>
<option value="wizard">wizard</option>
</select>
<div class="name" id = "charName"></div>
</div>
</div>
<div class="basicInfoWrapper">
<div class="basicInfo">
<div class="basicInfoTop">
<div id="class&level" class="infoBox">Bard 7</div>
<div id="background" class="infoBox">Hermit</div>
<div id="playerName" class="infoBox"></div>
</div>
<hr></hr>
<div class="basicInfoTopSubTitles">
<div class="infoSubTitle">CLASS & LEVEL</div>
<div class="infoSubTitle">BACKGROUND</div>
<div class="infoSubTitle">PLAYERNAME</div>
</div>
<div class="basicInfoBottom">
<div id="race" class="infoBox">Human</div>
<div id="alignment" class="infoBox">Lawful Good</div>
<div id="xp" class="infoBox">0</div>
</div>
<hr></hr>
<div class="basicInfoBottomSubTitles">
<div class="infoSubTitle">RACE</div>
<div class="infoSubTitle">ALIGNMENT</div>
<div class="infoSubTitle">EXPERIENCE POINTS</div>
</div>
</div>
</div>
</div>
<div class="spacer15"></div>
<div class="pageMain">
<div class="leftWrapper">
<div class="leftside">
<div class="leftsideTop">
<div class="abilityScores">
<div class="row">
<div class="spacer15"></div>
<div class="spacer15"></div>
<div id="Strength" class="abilityScore">
<div><b>STRENGTH</b></div>
<div class="abilityScoreBig" id="strMod">+2</div>
<div class="abilityScoreMod" id="str">14</div>
</div>
<div class="spacer15"></div>
<div id="Dexterity" class="abilityScore">
<div><b>DEXTERITY</b></div>
<div class="abilityScoreBig" id="dexMod">+3</div>
<div class="abilityScoreMod" id="dex">16</div>
</div>
<div class="spacer15"></div>
<div id="Constitution" class="abilityScore">
<div><b>CONSTITUTION</b></div>
<div class="abilityScoreBig" id="conMod">+2</div>
<div class="abilityScoreMod" id="con">15</div>
</div>
<div class="spacer15"></div>
<div id="Intelligence" class="abilityScore">
<div><b>INTELLIGENCE</b></div>
<div class="abilityScoreBig" id="intMod">+0</div>
<div class="abilityScoreMod" id="int">11</div>
</div>
<div class="spacer15"></div>
<div id="Wisdom" class="abilityScore">
<div><b>WISDOM</b></div>
<div class="abilityScoreBig" id="wisMod">+1</div>
<div class="abilityScoreMod" id="wis">13</div>
</div>
<div class="spacer15"></div>
<div id="Charisma" class="abilityScore">
<div><b>CHARISMA</b></div>
<div class="abilityScoreBig" id="chaMod">-1</div>
<div class="abilityScoreMod" id="cha">9</div>
</div>
<div class="spacer15"></div>
<div class="spacer15"></div>
</div>
</div>
<div class="skillsColumn">
<div class="wrapper">
<div class="inspirationBox"></div>
<div class="inspiration">INSPIRATION</div>
<div class="spacer15"></div>
<div class="proficiencyBonusScore" id="proficiencyBonusScore">3</div>
<div class="proficiencyBonus">PROFICIENCY BONUS</div>
</div>
<div class="skills">
<div class="skillList">
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="strSavingThrow"> 5 </div>
<div class="savingThrowTitle"> Strength</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="dexSavingThrow"> 5 </div>
<div class="savingThrowTitle">Dexterity</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="conSavingThrow"> 5 </div>
<div class="savingThrowTitle">Constitution</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="intSavingThrow"> 5 </div>
<div class="savingThrowTitle">Intelligence</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="wisSavingThrow"> 5 </div>
<div class="savingThrowTitle">Wisdom</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="chaSavingThrow"> 5 </div>
<div class="savingThrowTitle">Charisma</div>
</div>
</div>
<div class="boxTitle">SAVING THROWS</div>
</div>
<div class="spacer15"></div>
<div class="skills">
<div class="skillList">
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="acrobatics"> 5 </div>
<div class="savingThrowTitle">Acrobatics (Dex)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="animalHandling"> 5 </div>
<div class="savingThrowTitle">Animal Handling (Wis)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="arcana"> 5 </div>
<div class="savingThrowTitle">Arcana (Int)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="athletics"> 5 </div>
<div class="savingThrowTitle">Athletics (Str)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="deception"> 5 </div>
<div class="savingThrowTitle">Deception (Cha)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="history"> 5 </div>
<div class="savingThrowTitle">History (Int)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="insight"> 5 </div>
<div class="savingThrowTitle">Insight (Wis)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="intimidation"> 5 </div>
<div class="savingThrowTitle">Intimidation (Cha)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="investigation"> 5 </div>
<div class="savingThrowTitle">Investigation (Int)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="medicine"> 5 </div>
<div class="savingThrowTitle">Medicine (Wis)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="nature"> 5 </div>
<div class="savingThrowTitle">Nature (Int)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="perception"> 5 </div>
<div class="savingThrowTitle">Perception (Wis)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="performance"> 5 </div>
<div class="savingThrowTitle">Performance (Cha)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="persuasion"> 5 </div>
<div class="savingThrowTitle">Persuasion (Cha)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="religion"> 5 </div>
<div class="savingThrowTitle">Religion (Int)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="sleightOfHand"> 5 </div>
<div class="savingThrowTitle">Sleight of Hand (Dex)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="stealth"> 5 </div>
<div class="savingThrowTitle">Stealth (Dex)</div>
</div>
<div class="savingThrowLine">
<div class="savingThrowProf">○</div>
<div class="savingThrowScore" id="survival"> 5 </div>
<div class="savingThrowTitle">Survival (Wis)</div>
</div>
</div>
<div class="boxTitle">SKILLS</div>
</div>
</div>
</div>
</div>
<div class="leftsideBottom">
<div class="passivePerceptionContainer">
<div class="passivePerceptionScore" id="passivePerception">3</div>
<div class="passivePerception">
PASSIVE WISDOM (PERCEPTION)
</div>
</div>
<div class="spacer15"></div>
<div class="PTIBFsquareEdge">
<div id="ProficienciesAndLanguages" class="profAndLang"></div>
<b>OTHER PROFICIENCIES & LANGUAGES</b>
</div>
</div>
</div>
<div class="middle">
<div class="middleTop">
<div class="ACIS">
<div class="ACBox">
<div class="acText" id="armorClass">10</div>
<svg height="120" width="100">
<polygon points="50,5 85,15 95,30 95,50 80,75 70,85 60,95 50,100
40,95 30,85 20,75 5,50 5,30 15,15"
style="fill:whitesmoke;stroke:black;stroke-width:2.5" />
</svg>
<div class="acTitle">AC</div>
</div>
<div class="acisBox">
<div class="acisTitle" id="initiative" >10</div>
INITIATIVE
</div>
<div class="acisBox">
<div class="acisTitle" id="speed">10</div>
SPEED
</div>
</div>
<div class="currentHitPoints">
<div class="hitPointWrapper">
<div class = "hitPointMax">Hit Point Maximum </div>
<div class="hitPointMaxValue" id="hitPointMaxValue">50</div>
</div>
<div class="currentHitPoint" id="currentHitPoints">50</div>
<div class="boxTitle">CURRENT HIT POINTS</div>
</div>
<div class="spacer15"></div>
<div class="tempHitPoints">
<div class="boxValue">0</div>
<div class="boxTitle">TEMPORARY HIT POINTS</div>
</div>
<div class="spacer15"></div>
<div class="hitDiceAndDeathSaves">
<div class="hitDice">
<div class="hitDieWrapper">
<div class="hitDie">Total</div>
<div class="hitDiceValue" id="hitDiceValue">1d10</div>
</div>
<div class="boxValue2">1</div>
<div class="boxTitle2"><b>HIT DICE</b></div>
</div>
<div class="deathSaves">
<div class="SUCCESSES">
SUCCESSES
<input type="radio" />
<input type="radio" />
<input type="radio" />
</div>
<div class="FAILURES">
FAILURES
<input type="radio" />
<input type="radio" />
<input type="radio" />
</div>
<div class="boxTitle"><b>DEATH SAVES</b></div>
</div>
</div>
<div class="spacer15"></div>
</div>
<div class="AAS">
<div class="AASDetails">
<table class="attacksAndSpellCasting" id="attacksAndSpellCasting">
</table>
<div class="spellDetails" id ="spellDetails"></div>
</div>
<b>ATTACKS & SPELLCASTING</b>
</div>
<div class="spacer15"></div>
<div class="PTIBF">
<div id="equipment" class="PTIBFDetails"></div>
<b>Equipment</b>
</div>
</div>
<div class="rightSide">
<div class="rightSideTop">
<div class="PTIBF">
<div class="PTIBFDetails" id="personalityTraits">
I once ran twenty-five miles without stopping to warn my clan of
an approaching orc horde. I'd do it again if I had to.
</div>
PERSONALITY TRAITS
</div>
<div class="spacer15"></div>
<div class="PTIBF">
<div class="PTIBFDetails" id="ideals">
Greater Good. It is each person's responsibility to make the most
happiness for the whole tribe. (Good)
</div>
IDEALS
</div>
<div class="spacer15"></div>
<div class="PTIBF">
<div class="PTIBFDetails" id="bonds">
I will bring terrible wrath down on the evildoers who destroyed my
homeland.
</div>
BONDS
</div>
<div class="spacer15"></div>
<div class="PTIBF">
<div class="PTIBFDetails" id="flaws">
Violence is my answer to almost any challenge.
</div>
FLAWS
</div>
</div>
<div class="spacer15"></div>
<div class="rightSideBottom">
<div class="spacer15"></div>
<div class="PTIBF">
<div class="PTIBFDetails">
</div>
FEATURES & TRAITS
</div>
</div>
</div>
</div>
<script src="core.js"></script>
</body>
</html>