-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
205 lines (201 loc) · 8.97 KB
/
index.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Orphis's door randomizer tracker!</title>
<meta name="description" content="Door randomizer tracker">
<meta name="author" content="Orphis">
<!-- JQuery -->
<script src="libs/jquery/3.2.1/jquery.min.js"></script>
<link rel="stylesheet" href="libs/jqueryui/1.12.1/jquery-ui.css">
<script src="libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!-- Bootstrap -->
<link rel="stylesheet" href="libs/bootstrap/3.3.7/css/bootstrap.min.css">
<script src="libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- DataTables -->
<link rel="stylesheet" type="text/css" href="libs/datatables/1.10.15/datatables.min.css">
<script type="text/javascript" charset="utf-8" src="libs/datatables/1.10.15/datatables.min.js"></script>
<!-- Own -->
<link rel="stylesheet" href="css/styles.css?v=1.0">
<link rel="stylesheet" href="css/item_pretty.css">
<link rel="stylesheet" href="css/bosses.css">
<link rel="stylesheet" href="css/equipment.css">
<script src="js/caves.js"></script>
<script src="js/overworld_items.js"></script>
<script src="js/item_randomizer.js"></script>
<script src="js/script.js"></script>
<script>
(function (i, s, o, g, r, a, m) {
i.GoogleAnalyticsObject = r;
(i[r] =
i[r] ||
function () {
(i[r].q = i[r].q || []).push(arguments);
}),
(i[r].l = 1 * new Date());
(a = s.createElement(o)), (m = s.getElementsByTagName(o)[0]);
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m);
}(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga'));
ga('create', 'UA-16939493-2', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="modal fade" tabindex="-1" role="dialog" id="clear_modal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title"><span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Reset tracker</h4>
</div>
<div class="modal-body">
<p>Are you sure you want to reset the tracker?</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-danger" data-dismiss="modal" id="reset_tracker">Reset</button>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="option_modal">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title"><span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Options</h4>
</div>
<div class="modal-body">
<form class="form-horizontal" role="form">
<div class="form-group">
<label for="randomizer_type" class="col-sm-2 control-label">Type</label>
<div class="col-sm-10" id="randomizer_type">
<div class="btn-group" role="group" aria-label="..." data-toggle="buttons">
<label class="btn btn-default">
<input type="radio" name="randomizer_type" id="randomizer_type_item" value="item">Item
</label>
<label class="btn btn-default">
<input type="radio" name="randomizer_type" id="randomizer_type_entrance" value="entrance">Entrance
</label>
</div>
</div>
</div>
</form>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal" id="close_options">Close</button>
<button type="button" class="btn btn-primary" data-dismiss="modal" id="save_options">Save options</button>
</div>
</div>
</div>
</div>
<div class="modal fade" tabindex="-1" role="dialog" id="help_modal">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title">❔ Help</h4>
</div>
<div class="modal-body">
<div>
<h4>How to</h4>
<p>Clicking on items will mark them as found and update the matching locations accordingly.</p>
<p>Left clicking on locations will mark them as done.</p>
<p>Right clicking on locations will enter "marking" mode. The next location you click on will be connected to this entrance. For example, clicking on the entrance <em>Eastern Palace</em> then on <em>Ice Palace</em> to make a connection <em>Eastern Palace ➜ Ice Palace</em>.</p>
<h4>Color legend</h4>
<p><span class="help-location"></span> Location is unavailable</p>
<p><span class="help-location help-available"></span> Location is available</p>
<p><span class="help-location help-visible"></span> Location is unavailable, but you can see what it holds.</p>
<p><span class="help-location help-marked"></span> Location has been marked with something important</p>
<p><span class="help-location help-marked help-done"></span> Location has been marked with something important and is done</p>
<p><span class="help-location help-marked help-highlighted"></span> Highlighted location points to the same cave as this location</p>
<p><span class="help-location help-marked help-highlighted-reverse"></span> Vanilla highlighted location cave is at this location</p>
<p><span class="help-location help-done"></span> Location has been done</p>
<h4>Shape legend</h4>
<p><span class="help-location help-available"></span> Location is a regular door to a single entrance cave</p>
<p><span class="help-location help-available help-overworld"></span> Location is an outdoor item, a fetch quest or NPC</p>
<p><span class="help-location help-available help-multi"></span> Location is a multi entrance cave or dungeon</p>
<p><span class="help-location help-available help-drop"></span> Location is a hole to fall into</p>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<div style="text-align: center; vertical-align: top; ">
<div class="item-tracker resizable" id="item_tracker"></div>
<div class="map_container">
<div class="map resizable" id="lw_map"></div>
<div class="map resizable" id="dw_map"></div>
<div class="map_footer" id="map_footer"> </div>
</div>
</div>
<!-- <div>Coordinates LW: <span id="lw_coord"></span> DW: <span id="dw_coord"></span></div> -->
<div class="table_container">
<div class="pull-right">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#help_modal">
<span class="glyphicon glyphicon-question-mark" aria-hidden="true"></span> ❔ Help
</button>
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#option_modal">
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span> Options
</button>
<button type="button" class="btn btn-warning" data-toggle="modal" data-target="#clear_modal">
<span class="glyphicon glyphicon-trash" aria-hidden="true"></span> Reset tracker
</button>
</div>
</div>
<div class="table_container" id="table_container">
<div>
<table class="table table-striped table-condensed table-hover" id="locations_table">
<thead>
<tr>
<th>Door name</th>
<th>Cave name</th>
<th>Exit name</th>
<th>Added time</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div>
<table class="table table-striped table-condensed table-hover" id="unvisited_doors_table">
<thead>
<tr>
<th>Unvisited Doors</th>
<th>Region</th>
<th></th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div>
<table class="table table-striped table-condensed table-hover" id="unvisited_caves_table">
<thead>
<tr>
<th>Unvisited Caves</th>
<th>Item count</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
</div>
<footer>
<div class="container">
<p>
Made by Orphis - <a href="https://github.com/Orphis/alttp_entrance_randomizer_tracker">Github</a>
</p>
</div>
</footer>
</body>
</html>