forked from larzm42/dom4inspector
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mobile.html
240 lines (230 loc) · 10.6 KB
/
mobile.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dom4 Mod Inspector</title>
<link rel="shortcut icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="scripts/mobile.css?v=30" />
<link rel="stylesheet" type="text/css" href="scripts/Bootstrap-3.3.6/css/bootstrap.min.css"/>
<link rel="stylesheet" type="text/css" href="scripts/Bootstrap-3.3.6/css/bootstrap-theme.min.css" />
<link rel="stylesheet" type="text/css" href="scripts/DataTables-1.10.11/css/jquery.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="scripts/FixedHeader-3.1.1/css/fixedHeader.dataTables.min.css">
<link rel="stylesheet" type="text/css" href="scripts/override.css?v=30" />
</head>
<body>
<script type="text/javascript">var versionCode='?v=30';</script>
<script type="text/javascript" src="scripts/jQuery-1.12.0/jquery-1.12.0.min.js"></script>
<script type="text/javascript" src="scripts/Bootstrap-3.3.6/js/bootstrap.min.js"></script>
<script type="text/javascript" src="scripts/DataTables-1.10.11/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="scripts/FixedHeader-3.1.1/js/dataTables.fixedHeader.min.js"></script>
<script type="text/javascript" src="scripts/ParsedQueryString.js"></script>
<script type="text/javascript" src="scripts/PaneManager.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/Utils.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/Format.js?v=30"></script>
<script type="text/javascript" src="scripts/modconstants.js?v=30"></script>
<script type="text/javascript" src="scripts/parsemod.js?v=30"></script>
<script type="text/javascript" src="scripts/loaddata.js?v=30"></script>
<script type="text/javascript" src="scripts/mobile.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MWpn.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MArmor.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MItem.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/SpellTables.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MSpell.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MUnit.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MNation.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MSite.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/MMerc.js?v=30"></script>
<script type="text/javascript" src="scripts/DMI/bitfields.js?v=30"></script>
<div class="modal fade" id="myModal" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<p>Loading data...</p>
</div>
</div>
</div>
</div>
<div>
<ul class="nav nav-tabs">
<li><a data-toggle="tab" href="#items">Items</a></li>
<li><a data-toggle="tab" href="#spells">Spells</a></li>
<li><a data-toggle="tab" href="#units">Units</a></li>
<li><a data-toggle="tab" href="#sites">Sites</a></li>
<li><a data-toggle="tab" href="#mercs">Mercs</a></li>
</ul>
<div class="tab-content">
<div id="items" class="tab-pane ">
<br>
<div class="filters-paths panel itemview siteview">
<label for="pathF">
<input class="toggle-path" type='checkbox' value='F' id="pathF"/>
<img alt="F" class="Path_F pathicon" src="images/magicicons/Path_F.png" />
</label>
<label for="pathA">
<input class="toggle-path" type='checkbox' value='A' id="pathA"/>
<img alt="A" class="Path_A pathicon" src="images/magicicons/Path_A.png" />
</label>
<label for="pathW">
<input class="toggle-path" type='checkbox' value='W' id="pathW"/>
<img alt="W" class="Path_W pathicon" src="images/magicicons/Path_W.png" />
</label>
<label for="pathE">
<input class="toggle-path" type='checkbox' value='E' id="pathE"/>
<img alt="E" class="Path_E pathicon" src="images/magicicons/Path_E.png" />
</label>
<label for="pathS">
<input class="toggle-path" type='checkbox' value='S' id="pathS"/>
<img alt="S" class="Path_S pathicon" src="images/magicicons/Path_S.png" />
</label>
<label for="pathD">
<input class="toggle-path" type='checkbox' value='D' id="pathD"/>
<img alt="D" class="Path_D pathicon" src="images/magicicons/Path_D.png" />
</label>
<label for="pathN">
<input class="toggle-path" type='checkbox' value='N' id="pathN"/>
<img alt="N" class="Path_N pathicon" src="images/magicicons/Path_N.png" />
</label>
<label for="pathB">
<input class="toggle-path" type='checkbox' value='B' id="pathB"/>
<img alt="B" class="Path_B pathicon" src="images/magicicons/Path_B.png" />
</label>
<br>
<input class="inclusive-search" type='checkbox' value='inclusion' id='pathInclusion'/>inclusive search
</div>
<div class="filters-items panel itemview">
<select class="type input-sm" id="itemtype">
<option class="default" value="misc,1-h wpn,2-h wpn,helm,armor,shield,boots"> all item types </option>
<option disabled="disabled"> -------------- </option>
<option value="misc"> Miscellaneous </option>
<option value="helm"> Helmets </option>
<option value="armor"> Armor </option>
<option value="shield"> Shields </option>
<option value="boots"> Boots </option>
<option value="1-h wpn"> 1-h weapons </option>
<option value="2-h wpn"> 2-h weapons </option>
<option disabled="disabled"> -------------- </option>
<option value="melee"> All melee weaps </option>
<option value="missile"> All missile weaps </option>
</select>
<select class="constlevel input-sm" id="itemlvl">
<option class="default" value="8"> Construction 8 </option>
<option value="6"> Construction 6 </option>
<option value="4"> Construction 4 </option>
<option value="2"> Construction 2 </option>
<option value="0"> Construction 0 </option>
<option disabled="disabled"> -------------- </option>
<option value="12"> Unforgeable items</option>
</select>
</div>
<table id="itemsTable" class="display" width="100%"></table>
</div>
<div id="spells" class="tab-pane ">
<br>
<div class="filters-nation panel unitview spellview">
<select class="nation input-sm" id="nation">
<option class="default" selected="selected" value="">any nation</option>
<option disabled=disabled>------------------</option>
<option value="EA">Early era</option>
<option value="MA">Middle era</option>
<option value="LA">Late era</option>
<!-- list of nations filled dynamically -->
</select>
</div>
<div class="filters-paths panel spellview">
<label for="pathF">
<input class="toggle-path-spell" type='checkbox' value='F' id="pathF"/>
<img alt="F" class="Path_F pathicon" src="images/magicicons/Path_F.png" />
</label>
<label for="pathA">
<input class="toggle-path-spell" type='checkbox' value='A' id="pathA"/>
<img alt="A" class="Path_A pathicon" src="images/magicicons/Path_A.png" />
</label>
<label for="pathW">
<input class="toggle-path-spell" type='checkbox' value='W' id="pathW"/>
<img alt="W" class="Path_W pathicon" src="images/magicicons/Path_W.png" />
</label>
<label for="pathE">
<input class="toggle-path-spell" type='checkbox' value='E' id="pathE"/>
<img alt="E" class="Path_E pathicon" src="images/magicicons/Path_E.png" />
</label>
<label for="pathS">
<input class="toggle-path-spell" type='checkbox' value='S' id="pathS"/>
<img alt="S" class="Path_S pathicon" src="images/magicicons/Path_S.png" />
</label>
<label for="pathD">
<input class="toggle-path-spell" type='checkbox' value='D' id="pathD"/>
<img alt="D" class="Path_D pathicon" src="images/magicicons/Path_D.png" />
</label>
<label for="pathN">
<input class="toggle-path-spell" type='checkbox' value='N' id="pathN"/>
<img alt="N" class="Path_N pathicon" src="images/magicicons/Path_N.png" />
</label>
<label for="pathB">
<input class="toggle-path-spell" type='checkbox' value='B' id="pathB"/>
<img alt="B" class="Path_B pathicon" src="images/magicicons/Path_B.png" />
</label>
<label for="pathH">
<input class="toggle-path-spell" type='checkbox' value='H' id="pathH"/>
<img alt="H" class="Path_H pathicon" src="images/magicicons/Path_H.png" />
</label>
<br>
<input class="inclusive-search-spell" type='checkbox' value='inclusion' id='pathInclusionSpell'/>inclusive search
</div>
<div class="filters-spells panel spellview">
<select class="school input-sm" id="spellschool">
<option class="default" value="0,1,2,3,4,5,6,7">all schools</option>
<option disabled=disabled>-------------</option>
<option value="0">Conjuration</option>
<option value="1">Alteration</option>
<option value="2">Evocation</option>
<option value="3">Construction</option>
<option value="4">Enchantment</option>
<option value="5">Thaumaturgy</option>
<option value="6">Blood</option>
<option value="7">Divine</option>
<option disabled=disabled>-------------</option>
<option value="-1">unresearchable</option>
<option value="-1,0,1,2,3,4,5,6,7">any</option>
</select>
<input class="national" id="spellnat" type="checkbox"/>national only
<input class="generic" id="spellgen" type="checkbox"/>generic only
</div>
<div class="filters-spells panel spellview">
<select class="type input-sm" id="spelltype">
<option class="default" value="">ritual / combat</option>
<option disabled=disabled>-------------</option>
<option value="Ritual">Rituals</option>
<option value="Combat">Combat spells</option>
</select>
<select class="aquatic input-sm" id="spellaqua">
<option class="default" value="">uw / land</option>
<option disabled=disabled>-----------</option>
<option value="uw">Underwater</option>
<option value="land">Dry land</option>
</select>
</div>
<table id="spellsTable" class="display" width="100%"></table>
</div>
<div id="units" class="tab-pane ">
<br>
<table id="unitsTable" class="display" width="100%"></table>
</div>
<div id="sites" class="tab-pane ">
<br>
<table id="sitesTable" class="display" width="100%"></table>
</div>
<div id="mercs" class="tab-pane ">
<br>
<table id="mercsTable" class="display" width="100%"></table>
</div>
</div>
</div>
<script type="text/javascript">
$(function() {
$("#myModal").modal("show");
DMI.mobileLoading();
$("#myModal").modal("hide");
});
</script>
</body>
</html>