forked from starclaws/5etools
-
Notifications
You must be signed in to change notification settings - Fork 36
/
items.html
164 lines (142 loc) · 5.68 KB
/
items.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
<!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>Items.html 5e</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>
ul.list {
height: initial;
max-height: 100%;
}
span.side-label {
position: absolute;
transform: rotate(-90deg);
transform-origin: 0 0;
font-size: 18px;
left: -22px;
bottom: 0;
}
h3.ele-mundane,
h3.ele-magic {
margin: 0;
position: relative;
}
h3.ele-mundane span.side-label {
}
h3.ele-magic span.side-label {
}
@media (max-width: 991px) {
ul.list {
max-height: 20em;
}
}
@media (max-device-height: 700px) {
ul.list {
max-height: 20em;
}
.viewport-wrapper {
bottom: auto;
}
.view-col-wrapper {
flex-direction: column;
max-height: none;
height: auto;
}
ul.list {
max-height: 20em;
}
}
</style>
</head>
<body>
<div class="viewport-wrapper">
<header class="hidden-xs hidden-sm">
<div class="container">
<h1>Item List</h1>
<p>Search by name on the left, click item name to display on the right.</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" id="filter-search-input-group" style="vertical-align: top;">
<input type="search" id="search" class="search form-control" placeholder="Find item...">
<span class="input-group-btn">
<button class="btn btn-default" type="button" id="reset">Reset</button>
</span>
</div>
<div id="filtertools-mundane" class="ele-mundane sortlabel btn-group">
<button class="col-xs-3 sort btn btn-default btn-xs" type="button" data-sort="name" data-sortby="asc">Name</button>
<button class="col-xs-4 col-xs-4-3 sort btn btn-default btn-xs" type="button" data-sort="type" data-sortby="asc">Type</button>
<button class="col-xs-1 col-xs-1-5 sort btn btn-default btn-xs" type="button" data-sort="cost" data-sortby="asc">Cost</button>
<button class="col-xs-1 col-xs-1-5 sort btn btn-default btn-xs" type="button" data-sort="weight" data-sortby="asc">Weight</button>
<button class="col-xs-1 col-xs-1-7 sort btn btn-default btn-xs" type="button" data-sort="source" data-sortby="asc">Source</button>
</div>
<ul class="list mundane ele-mundane"></ul>
<h3 class="ele-mundane"><span class="side-label"></span></h3>
<div id="filtertools-magic" class="ele-magic sortlabel btn-group">
<button class="fullborder col-xs-3 col-xs-3-5 sort btn btn-default btn-xs" type="button" data-sort="name" data-sortby="asc">Name</button>
<button class="fullborder col-xs-3 col-xs-3-3 sort btn btn-default btn-xs" type="button" data-sort="type" data-sortby="asc">Type</button>
<button class="fullborder col-xs-1 col-xs-1-5 sort btn btn-default btn-xs" type="button" data-sort="weight" data-sortby="asc">Weight</button>
<button class="fullborder col-xs-2 sort btn btn-default btn-xs" type="button" data-sort="rarity" data-sortby="asc">Rarity</button>
<button class="fullborder col-xs-1 col-xs-1-7 sort btn btn-default btn-xs" type="button" data-sort="source" data-sortby="asc">Source</button>
</div>
<ul class="list magic ele-magic"></ul>
<h3 data-toggle="magic" class="ele-magic"><span class="side-label"></span></h3>
</div>
<div id="contentwrapper" class="view-col">
<div id="sublistcontainer">
<div id="sublistsort" class="sortlabel btn-group">
<button class="col-xs-6 sort btn btn-default btn-xs" data-sort="name">Name</button>
<button class="col-xs-2 sort btn btn-default btn-xs" data-sort="weight">Weight</button>
<button class="col-xs-2 sort btn btn-default btn-xs" data-sort="cost">Cost</button>
<button class="col-xs-2 sort btn btn-default btn-xs" data-sort="count">Number</button>
</div>
<ul class="list subitems">
<!-- populate with JS -->
</ul>
<div class="row">
<span class="col-xs-6 text-align-right">Total:</span>
<span class="col-xs-2 text-align-center no-wrap" id="totalweight"></span>
<span class="col-xs-2 text-align-center no-wrap" id="totalvalue"></span>
</div>
</div>
<div class="wrp-stat-tab">
<div id="tabs-right"></div>
</div>
<table id="pagecontent" class="stats">
<tr><th class="border" colspan="6"></th></tr>
<tr><td colspan="6" class="initial-message">Select an item from the list to view it here</td></tr>
<tr><th class="border" colspan="6"></th></tr>
</table>
<br>
<p class="text-align-center">
<button class="btn btn-default btn-sm btn-file" id="manage-brew">Manage Homebrew</button>
</p>
</div>
</div>
</div> <!--5ETOOLS_SCRIPT_ANCHOR-->
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/omnisearch.js"></script>
<script type="text/javascript" src="js/filter.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/items.js"></script>
<script type="text/javascript" src="lib/list.js"></script>
<script type="text/javascript" src="lib/bootstrap.js"></script>
<script type="text/javascript" src="lib/elasticlunr.js"></script>
</body>
</html>