-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcombat-tracker.html
More file actions
104 lines (91 loc) · 3.86 KB
/
combat-tracker.html
File metadata and controls
104 lines (91 loc) · 3.86 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
<!DOCTYPE html>
<html>
<head>
<link href="/dist/output.css" rel="stylesheet" />
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body class="bg-gray-800">
<div>
<nav class="fixed left-0 overflow-y-auto w-64 text-xl bg-gray-900 border-r-2 inset-y-0 z-30 border-indigo-800 text-gray-500">
<a href='/index.html'>
<img
class="flex w-full p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
src="/images/DNDampersand.jpeg"
alt="Logo/Home"
/>
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/categories.html">
Categories
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/new-releases.html">
New Releases
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="#">
Combat tracker
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/statblock-generator.html">
Statblack Generator
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/encounter-generator.html">
Encounter Generator
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/player-resources.html">
Player Resurces
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/dm-resources.html">
Game Master Resoreces
</a>
<a
class="flex p-2 mb-4 hover:bg-indigo-800 items-center justify-center"
href="/pages/books-rules.html">
Books and Rules
</a>
</nav>
</div>
<main class="container mx-auto pl-64">
<h2 class="text-white text-2xl p-4">
Combat Tracker Page
</h2>
<!-- Take input from user: name -->
<!-- after user types in input -> display that input on our page -->
<section>
<div>
<input
class="bg-gray-500 rounded rounded-md p-1 placeholder-indigo-400"
type="text"
id="character-name"
placeholder="Character Name"
>
<input class="bg-gray-500 rounded rounded-md p-1 placeholder-indigo-400"
type="number"
id="character-hp"
placeholder="Hit Points">
</div>
<button
onclick="proccessCharInfo()"
class="bg-gray-600 hover:bg-indigo-800 rounded rounded-md p-1 px-4 text-indigo-400">
Submit
</button>
<div
class="bg-gray-500 text-indigo-500 rounded rounded-md p-4"
id="char-info-output">
</div>
</section>
</main>
<script src="/scripts/combat-tracker.js"></script>
</body>
</html>