forked from ryan-cheng-liu/5etools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
items.html
295 lines (247 loc) · 11.2 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
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
<!DOCTYPE html>
<html lang="cn">
<head>
<!--5ETOOLS_CMP-->
<!--5ETOOLS_ANALYTICS-->
<!--5ETOOLS_ADCODE-->
<meta charset="utf-8">
<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="apple-mobile-web-app-capable" content="yes">
<title>物品 - 5etools</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/main.css">
<!-- Favicons -->
<link rel="icon" type="image/svg+xml" href="favicon.svg?v=1.115">
<link rel="icon" type="image/png" sizes="256x256" href="favicon-256x256.png">
<link rel="icon" type="image/png" sizes="144x144" href="favicon-144x144.png">
<link rel="icon" type="image/png" sizes="128x128" href="favicon-128x128.png">
<link rel="icon" type="image/png" sizes="64x64" href="favicon-64x64.png">
<link rel="icon" type="image/png" sizes="48x48" href="favicon-48x48.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<!-- Chrome Web App Icons -->
<link rel="manifest" href="manifest.webmanifest">
<meta name="application-name" content="5etools">
<meta name="theme-color" content="#006bc4">
<!-- Windows Start Menu tiles -->
<meta name="msapplication-config" content="browserconfig.xml"/>
<meta name="msapplication-TileColor" content="#006bc4">
<!-- Apple Touch Icons -->
<link rel="apple-touch-icon" sizes="180x180" href="apple-touch-icon-180x180.png">
<link rel="apple-touch-icon" sizes="360x360" href="apple-touch-icon-360x360.png">
<link rel="apple-touch-icon" sizes="167x167" href="apple-touch-icon-167x167.png">
<link rel="apple-touch-icon" sizes="152x152" href="apple-touch-icon-152x152.png">
<link rel="apple-touch-icon" sizes="120x120" href="apple-touch-icon-120x120.png">
<meta name="apple-mobile-web-app-title" content="5etools">
<!-- macOS Safari Pinned Tab and Touch Bar -->
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#006bc4">
<script>if ("serviceWorker" in navigator) navigator.serviceWorker.register("/sw.js");</script>
<script type="text/javascript" src="js/styleswitch.js"></script>
<script type="text/javascript" src="js/navigation.js"></script>
<script type="text/javascript" src="js/browsercheck.js"></script>
<style>
.list {
height: initial;
max-height: 100%;
min-height: 100px;
}
.list.subitems {
min-height: initial;
}
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) {
.list {
max-height: 20em;
}
}
@media (max-device-height: 700px) {
.list {
max-height: 20em;
}
.viewport-wrapper {
bottom: auto;
}
.view-col-wrapper {
flex-direction: column;
max-height: none;
height: auto;
}
.list {
max-height: 20em;
}
}
.itm__list-divider {
width: 100%;
height: 1px;
background: #ccc;
}
.night-mode .itm__list-divider {
background: #555;
}
.itm__wrp-lists {
flex: 7;
}
.itm__wrp-stats {
flex: 5;
}
.itm__wrp-list {
height: 100%;
}
.itm__wrp-list--empty {
height: initial;
flex-shrink: 0;
}
.style-switch__wide .itm__wrp-list {
min-width: calc(50% - 10px);
max-width: calc(50% - 10px);
}
.style-switch__wide .itm__wrp-list--mundane {
margin-right: 20px;
}
.style-switch__wide #listcontainer.itm__wrp-lists {
flex: initial;
width: 100%;
flex-flow: row;
}
.style-switch__wide .itm__wrp-stats {
width: 480px;
flex: initial;
flex-shrink: 0;
}
.style-switch__wide .side-label {
display: none !important;
}
.style-switch__wide .itm__list-divider {
display: block !important;
}
</style>
</head>
<body>
<div class="cancer__wrp-sidebar-rhs cancer__anchor"><div class="cancer__disp-cancer"></div><div class="cancer__sidebar-rhs-inner cancer__sidebar-rhs-inner--top"><!--5ETOOLS_AD_RIGHT_1--></div><div class="cancer__sidebar-rhs-inner cancer__sidebar-rhs-inner--bottom"><!--5ETOOLS_AD_RIGHT_2--></div></div>
<div class="viewport-wrapper">
<div class="cancer__wrp-leaderboard cancer__anchor"><div class="cancer__disp-cancer"></div><div class="cancer__wrp-leaderboard-inner"><!--5ETOOLS_AD_LEADERBOARD--></div></div>
<header class="hidden-xs hidden-sm page__header">
<div class="container">
<h1 class="page__title">物品</h1>
<p class="page__subtitle">使用左侧的名称搜索,点击物品名称以在右侧显示。</p>
</div>
</header>
<nav class="container page__nav" id="navigation">
<ul class="nav page__nav-inner" id="navbar"></ul>
</nav>
<div class="view-col-group--cancer h-100 mh-0">
<div class="container view-col-wrapper view-col-wrapper--cancer">
<div class="view-col itm__wrp-lists" id="listcontainer">
<div class="flex-col min-h-0 w-100 itm__wrp-list itm__wrp-list--empty itm__wrp-list--mundane">
<div class="lst__form-top" id="filter-search-group">
<div class="w-100 relative">
<input type="search" id="lst__search" autocomplete="off" autocapitalize="off" spellcheck="false" class="search form-control lst__search lst__search--no-border-h">
<div id="lst__search-glass" class="lst__wrp-search-glass no-events flex-vh-center"><span class="glyphicon glyphicon-search"></span></div>
<div class="lst__wrp-search-visible no-events flex-vh-center"></div>
</div>
<button class="btn btn-default" id="reset">重置</button>
</div>
<div id="filtertools-mundane" class="ele-mundane input-group input-group--bottom flex no-shrink">
<button class="col-3-5 sort btn btn-default btn-xs" data-sort="name" data-sortby="asc">名称<span class="caret_wrp"></span></button>
<button class="col-4-5 sort btn btn-default btn-xs" data-sort="type" data-sortby="asc">类型<span class="caret_wrp"></span></button>
<button class="col-1-5 sort btn btn-default btn-xs" data-sort="cost" data-sortby="asc">价值<span class="caret_wrp"></span></button>
<button class="col-1-5 sort btn btn-default btn-xs" data-sort="weight" data-sortby="asc">重量<span class="caret_wrp"></span></button>
<button class="sort btn btn-default btn-xs ve-grow" data-sort="source" data-sortby="asc">资源<span class="caret_wrp"></span></button>
</div>
<div class="list list--stats mundane ele-mundane"></div>
<h3 class="ele-mundane"><span class="side-label side-label--mundane clickable"></span></h3>
</div>
<div class="flex-col min-h-0 w-100 itm__wrp-list itm__wrp-list--empty itm__wrp-list--magic">
<div class="no-shrink itm__list-divider ele-mundane-and-magic"></div>
<div id="filtertools-magic" class="ele-magic input-group input-group--bottom flex no-shrink">
<button class="fullborder col-3-5 sort btn btn-default btn-xs" data-sort="name" data-sortby="asc">名称<span class="caret_wrp"></span></button>
<button class="fullborder col-4 sort btn btn-default btn-xs" data-sort="type" data-sortby="asc">类型<span class="caret_wrp"></span></button>
<button class="fullborder col-1-5 sort btn btn-default btn-xs" data-sort="weight" data-sortby="asc">重量<span class="caret_wrp"></span></button>
<button class="col-0-6 sort btn btn-default btn-xs" data-sort="attunement" title="Can Be Attuned">A. <span class="caret_wrp"></span></button>
<button class="fullborder col-1-4 sort btn btn-default btn-xs" data-sort="rarity" data-sortby="asc">稀有度<span class="caret_wrp"></span></button>
<button class="fullborder sort btn btn-default btn-xs ve-grow" data-sort="source" data-sortby="asc">资源<span class="caret_wrp"></span></button>
</div>
<div class="list list--stats magic ele-magic"></div>
<h3 class="ele-magic"><span class="side-label side-label--magic clickable"></span></h3>
</div>
</div>
<div id="contentwrapper" class="view-col itm__wrp-stats">
<div id="sublistcontainer" class="sublist sublist--resizable">
<div id="sublistsort" class="btn-group sublist__wrp-cols">
<button class="col-6 sort btn btn-default btn-xs" data-sort="name">名称<span class="caret_wrp"></span></button>
<button class="col-2 sort btn btn-default btn-xs" data-sort="weight">重量<span class="caret_wrp"></span></button>
<button class="col-2 sort btn btn-default btn-xs" data-sort="cost">价值<span class="caret_wrp"></span></button>
<button class="col-2 sort btn btn-default btn-xs" data-sort="count">数量<span class="caret_wrp"></span></button>
</div>
<div class="list subitems">
<!-- populate with JS -->
</div>
<div class="row ve-small">
<span class="col-6 text-right pr-2">总和:</span>
<span class="col-2 text-center no-wrap" id="totalweight"></span>
<span class="col-2 text-center no-wrap clickable" id="totalvalue"></span>
<span class="col-2 text-center no-wrap pr-0" id="totalitems"></span>
</div>
</div>
<div id="stat-tabs" class="wrp-stat-tab">
<div id="tabs-right"></div>
</div>
<div class="wrp-stats-table">
<table id="pagecontent" class="stats">
<tr><th class="border" colspan="6"></th></tr>
<tr><td colspan="6" class="initial-message">从列表中选择一个物品以在此处查看</td></tr>
<tr><th class="border" colspan="6"></th></tr>
</table>
</div>
<div class="text-center mt-2 no-print">
<button class="btn btn-default btn-xs" id="btn-show-table" title="以表格格式查看并下载物品列表">表格视图</button>
<button class="btn btn-xs btn-info" id="manage-brew">管理自制内容</button>
</div>
</div>
</div>
</div>
</div> <!--5ETOOLS_SCRIPT_ANCHOR-->
<!--5ETOOLS_AD_ADHESION-->
<script type="text/javascript" src="lib/jquery.js"></script>
<script type="text/javascript" src="js/parser.js"></script>
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/utils-list.js"></script>
<script type="text/javascript" src="js/utils-ui.js"></script>
<script type="text/javascript" src="lib/localforage.js"></script>
<script type="text/javascript" src="js/omnidexer.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/render.js"></script>
<script type="text/javascript" src="js/render-dice.js"></script>
<script type="text/javascript" src="js/render-items.js"></script>
<script type="text/javascript" src="js/scalecreature.js"></script>
<script type="text/javascript" src="js/hist.js"></script>
<script type="text/javascript" src="js/listpage.js"></script>
<script type="text/javascript" src="js/filter-items.js"></script>
<script type="text/javascript" src="js/items.js"></script>
<script type="text/javascript" src="js/list2.js"></script>
<script type="text/javascript" src="lib/elasticlunr.js"></script>
<script type="text/javascript" src="lib/lunr.min.js"></script>
<script type="text/javascript" src="lib/tinyseg.js"></script>
<script type="text/javascript" src="lib/lunr.stemmer.support.min.js"></script>
<script type="text/javascript" src="lib/lunr.ja.min.js"></script>
</body>
</html>