-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
105 lines (101 loc) · 4.89 KB
/
index.html
File metadata and controls
105 lines (101 loc) · 4.89 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B60468HTBC"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'G-B60468HTBC');
</script>
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/0a19f88285.js" crossorigin="anonymous"></script>
<!-- Meta Tags -->
<meta http-equiv="Content-Type" content="text/html" ; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Indie Loot - 5e D&D Treasure Generator</title>
<meta name="description" content="A full-on treasure generator for D&D 5e supporting PC and Mobile.">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<div class="app">
<div class="container">
<div id="options">
<div class="radioContainer">
<label class="radioCheckbox">Individual Treasure
<input id="radioType" type="radio" checked="checked" name="radio">
<span class="checkmark"></span>
</label>
<label class="radioCheckbox">Treasure Hoard
<input type="radio" name="radio">
<span class="checkmark"></span>
</label>
</div>
<div class="slidercontainer">
<div class="levelslider">
<div class="sliderrange">
<div id="crText">Challenge Rating 0 - 4</div>
</div>
<input type="range" min="0" max="3" value="0" step="1" class="slider" id="crRange">
</div>
</div>
<div class="optionContainer">
<div class="optionBox">
<i class="fas fa-minus-circle"></i>
<span id="trinketnumber">0</span>
<i class="fas fa-plus-circle"></i>
<p>Interesting Trinkets</p>
</div>
<div class="optionBox">
<i class="fas fa-minus-circle"></i>
<span id="gearnumber">0</span>
<i class="fas fa-plus-circle"></i>
<p>Adventuring Gear</p>
</div>
<div class="optionBox">
<i class="fas fa-minus-circle"></i>
<span id="weaponnumber">0</span>
<i class="fas fa-plus-circle"></i>
<p>Weapons & Armor</p>
</div>
<div class="optionBox">
<i class="fas fa-minus-circle"></i>
<span id="goodnumber">0</span>
<i class="fas fa-plus-circle"></i>
<p>Trade Goods</p>
</div>
<div class="optionBox">
<i class="fas fa-minus-circle"></i>
<span id="componentnumber">0</span>
<i class="fas fa-plus-circle"></i>
<p>Spell Components</p>
</div>
<div class="optionBox">
<i class="fas fa-minus-circle"></i>
<span id="booknumber">0</span>
<i class="fas fa-plus-circle"></i>
<p>Books & Tomes</p>
</div>
<div class="btn-group" role="group" aria-label="add/substract">
<button type="button" class="btn btn-secondary" id="minusBtn">-</button>
<button type="button" class="btn btn-secondary" id="resetBtn">Reset</button>
<button type="button" class="btn btn-secondary" id="plusBtn">+</button>
</div>
<button type="button" class="btn btn-secondary" id="goldBtn">Convert to Gold</button>
</div>
</div>
<button type="button" class="btn btn-secondary" id="optionsBtn">Hide options</button>
<button type="button" class="btn btn-danger" id="generateBtn">Generate loot</button>
<div id="snackbar"></div>
<div class="textfield">
<p id="treasureText"></p>
</div>
</div>
</div>
<script src="assets/javascript/script.js"></script>
</body>
</html>