/
index.html
292 lines (247 loc) · 14.4 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<title>Xonotic Map Repository</title>
<link rel="stylesheet" type="text/css"
href="https://cdn.datatables.net/s/bs/jqc-1.11.3,dt-1.10.10,b-1.1.0,b-colvis-1.1.0,b-html5-1.1.0,cr-1.3.0,fh-3.1.0,se-1.1.0/datatables.min.css"/>
<link id="theme" rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="./static/vendor/c3/c3.min.css"/>
<link rel="stylesheet" type="text/css" href="./static/css/fonts.css"/>
<link rel="stylesheet" type="text/css" href="./static/css/custom.css"/>
<link id="theme-custom" rel="stylesheet" type="text/css" href="./static/css/themes/default/custom.css"/>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<div class="first-load-backdrop"></div>
<section class="container-fluid no-padding">
<!-- Fixed navbar -->
<nav id="main-nav" class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="./"><i class="fa fa-map-o"></i> Xonotic Map Repository</a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#maplist" data-toggle="tab"><i class="fa fa-list"></i> Map List</a></li>
<li><a href="#statistics" data-toggle="tab"><i class="fa fa-line-chart"></i> Statistics</a></li>
<li><a href="#about" data-toggle="tab"><i class="fa fa-info-circle"></i> About</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li id="nav-table-controls" class="navbar-btn"></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="tabbable">
<div class="tab-content">
<div class="tab-pane active" id="maplist">
<div class="panel">
<div class="panel-body">
<table id="table-maplist" class="table table-striped table-bordered" cellspacing="0" width="100%">
<thead>
<tr>
<th>bsp</th>
<th><i class="fa fa-picture-o"></i> map shot</th>
<th>pk3</th>
<th>filesize</th>
<th>filesize (bytes)</th>
<th>shasum</th>
<th>title</th>
<th>author</th>
<th>gametypes (strings)</th>
<th>gametypes</th>
<th>entities</th>
<th>map</th>
<th>radar</th>
<th>waypoints</th>
<th>license</th>
<th>date</th>
</tr>
</thead>
<tfoot>
<tr>
<th class="filtersearch">bsp</th>
<th class="dropdownsearch-mapshot">mapshot</th>
<th class="filtersearch">pk3</th>
<th>filesize</th>
<th>filesize (bytes)</th>
<th class="filtersearch">shasum</th>
<th class="filtersearch">title</th>
<th class="filtersearch">author</th>
<th class="filtersearch">gametypes (strings)</th>
<th class="filtersearch">gametypes</th>
<th class="filtersearch">entities</th>
<th class="dropdownsearch">map</th>
<th class="dropdownsearch">radar</th>
<th class="dropdownsearch">waypoints</th>
<th class="dropdownsearch">license</th>
<th class="filtersearch">date</th>
</tr>
</tfoot>
</table>
</div><!-- .panel-body -->
</div><!-- .panel -->
</div><!-- .tab-pane -->
<div id="statistics" class="tab-pane">
<div class="panel">
<div class="panel-body">
<div id="loading-charts" class="loading">
<h4 class="text-center">
Loading Charts...<br><br>
<i class="fa fa-spinner fa-pulse fa-3x"></i>
</h4>
</div>
<h2>About These Statistics</h2>
<p>These stastistics are pulled straight from the pk3 files. The pie graphs are pretty
sell-explanatory. When these files are included in a pk3, it's a higher quality package. Map
dates are pulled from the last modified date on the bsp inside the pk3. The data shows us
someone introduced thousands of bsps in 2015, when we cross-reference this data with the
list, we can see many maps were ported from other games. Gametype distribution is determined
by the mapinfo file, which has to explicitly define gametypes. Gametype distritubion is
gathered from the mapinfo file. Count per shasum represents duplicate packages that have
been renamed.</p>
<div id="charts">
<h3 class="text-center">package contents</h3>
<div class="row">
<div class="col-sm-2">
<h4 class="text-center">has mapinfo?</h4>
<div id="chart-mapinfos"></div>
</div>
<div class="col-sm-2">
<h4 class="text-center">has mapshot?</h4>
<div id="chart-mapshots"></div>
</div>
<div class="col-sm-2">
<h4 class="text-center">has map source?</h4>
<div id="chart-maps"></div>
</div>
<div class="col-sm-2">
<h4 class="text-center">has radar?</h4>
<div id="chart-radars"></div>
</div>
<div class="col-sm-2">
<h4 class="text-center">has waypoints?</h4>
<div id="chart-waypoints"></div>
</div>
<div class="col-sm-2">
<h4 class="text-center">has license?</h4>
<div id="chart-licenses"></div>
</div>
</div><!-- .row -->
<div class="row">
<div class="col-sm-12">
<h3 class="text-center">filesize distribution</h3>
<div id="chart-filesizes"></div>
</div>
</div><!-- .row -->
<div class="row">
<div class="col-sm-6">
<h3 class="text-center">gametype distribution</h3>
<div id="chart-gametypes"></div>
</div>
<div class="col-sm-6">
<h3 class="text-center">count per shasum</h3>
<div id="chart-shacount"></div>
</div>
</div><!-- .row -->
<div class="row">
<div class="col-sm-12">
<h3 class="text-center">maps by year</h3>
<div id="chart-mapsbyyear"></div>
</div>
</div><!-- .row -->
<div class="row">
<div class="col-sm-12">
<h3 class="text-center">files by year</h3>
<div id="chart-filesbyyear"></div>
</div>
</div><!-- .row -->
<div class="row">
<div class="col-sm-12">
<h3 class="text-center">entity appearance distribution</h3>
<div id="chart-entityappearance"></div>
</div>
</div><!-- .row -->
<div class="row">
<div class="col-sm-12">
<h3 class="text-center">entity total count distribution</h3>
<div id="chart-entitycount"></div>
</div>
</div><!-- .row -->
</div><!-- .charts -->
</div><!-- .panel-body -->
</div><!-- .panel -->
</div><!-- .tab-pane -->
<div class="tab-pane" id="about">
<div class="panel">
<div class="panel-body">
<h2>What Is This?</h2>
<p>The Xonotic Map Repository (XMP) is a community project that was created to consolidate map
packages and provide them over a Content Delivery Network (CDN).</p>
<p>In addition to providing a CDN, the XMP offers detailed information about map packages that
was gathered using a parser that inspects all packages in this collection.</p>
<p>As you can see on the Statistics page, many of these packages can be improved. We hope this
is a first step to improving map package quality.</p>
<p>This website is an unofficial repository and is not affiliated with <a
href="http://xonotic.org" target="_blank">Xonotic</a>.</p>
<p>Credits go out to all mappers, gathers of information and implementers.</p>
</div><!-- .panel-body -->
</div><!-- .panel -->
</div><!-- .tab-pane -->
</div><!-- .tab-content -->
</div><!-- .tabbable -->
<div id="apology">
<div class='tetrominos'>
<div class='tetromino box1'></div>
<div class='tetromino box2'></div>
<div class='tetromino box3'></div>
<div class='tetromino box4'></div>
</div>
<h3>Loading a large amount of data, this might take a second...</h3>
<div id="joke">
<h4>Here's a joke while you wait:</h4>
<p></p>
</div>
</div>
<div id="footer">
<div class="container text-center">
<p class="text-muted credit">Licensed under MIT, available on <a
href="https://github.com/z/xonotic-map-repository" target="_blank"
title="xonotic-map-repository by -z- source code on GitHub"><i class="fa fa-github"> GitHub</i></a>
</p>
</div>
</div>
</section><!-- .content -->
<script type="text/javascript"
src="https://cdn.datatables.net/s/bs/jqc-1.11.3,dt-1.10.10,b-1.1.0,b-colvis-1.1.0,b-html5-1.1.0,cr-1.3.0,fh-3.1.0,se-1.1.0/datatables.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"
integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS"
crossorigin="anonymous"></script>
<script type="text/javascript" src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
<script type="text/javascript" src="./static/vendor/konami/konami.js"></script>
<script type="text/javascript" src="./static/vendor/c3/c3.min.js"></script>
<script type="text/javascript" src="./static/vendor/jquery-cookie/jquery.cookie.js"></script>
<script type="text/javascript" src="./static/vendor/store2/store2.min.js"></script>
<script type="text/javascript" src="./static/vendor/lz-string/lz-string.min.js"></script>
<!--<script type="text/javascript" src="./static/vendor/oboe/oboe-browser.min.js"></script>-->
<script type="text/javascript" src="./static/vendor/catiline/catiline.min.js"></script>
<script type="text/javascript" src="./static/js/app.js"></script>
</body>
</html>