forked from starclaws/5etools
-
Notifications
You must be signed in to change notification settings - Fork 36
/
encountergen.html
133 lines (110 loc) · 2.92 KB
/
encountergen.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
<!DOCTYPE html>
<html lang="en">
<head>
<!--5ETOOLS_VERSION-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Encounters - 5etools</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<link rel="icon" href="favicon.png">
<script type="text/javascript" src="lib/js-cookie.js"></script>
<script type="text/javascript" src="js/styleswitch.js"></script>
<script type="text/javascript" src="js/navigation.js"></script>
<style>
#listcontainer > ul > li {
max-height: initial;
}
ul.list li:hover {
background: inherit;
}
ul.list li:active {
color: inherit;
}
ul.list a:hover {
background: lightgrey;
}
ul {
margin-left: 0;
padding-left: 0;
}
ul.list li {
max-height: none;
}
span.name {
user-select: none;
font-weight: bold;
font-size: 1.2em;
}
ul.encounters > li {
border-bottom: none;
margin-bottom: 5px;
}
ul.encounters > li > ul > li:last-child {
border-bottom: none;
}
#listcontainer {
flex: 3;
}
#tablecontainer {
flex: 7;
display: flex;
flex-direction: column;
}
#contentwrapper {
overflow-y: auto;
}
.search-box {
flex-shrink: 0;
margin-bottom: 5px;
}
.rolltable {
display: flex;
}
</style>
</head>
<body>
<div class="viewport-wrapper">
<header class="hidden-xs hidden-sm">
<div class="container">
<h1>Encounter Gen</h1>
<p>Choose a setting and level range, then roll the d100!</p>
</div>
</header>
<nav class="container" id="navigation">
<ul class="nav nav-pills" id="navbar">
</ul>
</nav>
<div class="container view-col-wrapper">
<div class="view-col" id="listcontainer">
<div class="input-group search-box">
<input type="search" id="search" class="search form-control" placeholder="Find location...">
<span class="input-group-btn">
<button class="btn btn-default reset" id="reset" type="button">Reset</button>
</span>
</div>
<ul class="list encounters">
<!-- populate with JS -->
</ul>
</div>
<div class="view-col" id="tablecontainer">
<div class="rolltable" id="contentwrapper">
<table id="pagecontent" class="stats">
<!-- populate with JS -->
</table>
</div>
</div>
</div>
</div> <!--5ETOOLS_SCRIPT_ANCHOR-->
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/omnisearch.js"></script>
<script type="text/javascript" src="js/entryrender.js"></script>
<script type="text/javascript" src="js/history.js"></script>
<script type="text/javascript" src="js/encountergen.js"></script>
<script type="text/javascript" src="lib/list.js"></script>
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="lib/bootstrap.js"></script>
<script type="text/javascript" src="lib/elasticlunr.js"></script>
</body>
</html>