-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
167 lines (164 loc) · 7.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Catch the beat beatmap list</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Lato:400,700,900i" rel="stylesheet">
<link href="index.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
<script src="dist/lib/encoding.js"></script>
<script src="dist/list-maps.js"></script>
</head>
<body>
<div class="header container-fluid">
<div id="alerts"></div>
<ul class="nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" data-toggle="tab" href="#filters">Filters</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#local-setting">Local data</a>
</li>
<li class="nav-item">
<a class="nav-link" data-toggle="tab" href="#about">About</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="filters">
<div class="row">
<div class="col field">
<label for="filter-approved-status">Ranked status</label>
<select class="form-control" id="filter-approved-status">
<option value="1" selected>Ranked & Approved</option>
<option value="2">Loved</option>
<option value="3">Both</option>
</select>
</div>
<div class="col field">
<label for="filter-mode">Mode</label>
<select class="form-control" id="filter-mode">
<option value="1">Converted</option>
<option value="2">Specific</option>
<option value="3" selected>Both</option>
</select>
</div>
<div class="col field">
<label for="filter-search-query">Search query</label>
<input type="text" class="form-control" id="filter-search-query"
placeholder="queries like ar=9 are supported">
</div>
<div class="col field">
<label for="filter-fc-level">FC level</label>
<select class="form-control" id="filter-fc-level">
<option value="0" selected>No filtering</option>
<option value="1"><1: No FCs</option>
<option value="2">2: Only EZ FCs</option>
<option value="3">3: HD FC for #1</option>
<option value="4">4: HR FC for #1</option>
<option value="5">5: HDHR FC for #1</option>
<option value="6">6: HDHR FCs</option>
<option value="7">7: EZFL FCs</option>
<option value="8">8: Other FL FCs</option>
<option value="9">9: (HD)DT FCs</option>
<option value="10">10: (HD)HRDT FCs</option>
</select>
</div>
<div class="col field">
<label for="filter-local-data">Local data</label>
<select class="form-control" id="filter-local-data">
<option value="0" selected>No filtering</option>
<option value="1">Unplayed only</option>
<option value="2">Played only</option>
<option value="3">Maps you don't have</option>
<option value="4">Maps you have</option>
<option value="5">Owning but unplayed</option>
</select>
</div>
<div class="col">
<p>
<a href="#">Reset filters</a><br />
<input id="result-index-start" style="width: 3em" value="0" />..<span id="result-index-end">0</span>
of <span id="num-results">0 maps</span><br />
<input id="result-count-limit" style="width: 3em" value="100" /> per page
</p>
</div>
</div>
</div>
<div class="tab-pane" id="local-setting">
<div class="row">
<div class="col field">
<label for="db-file-input">Load osu!.db file</label>
<input type="file" multiple class="form-control-file" id="db-file-input">
</div>
</div>
</div>
<div class="tab-pane" id="about">
<div class="row">
<div class="col">
<ul>
<li><i class="fa fa-github"></i><a href="https://github.com/ekrctb/list-maps">GitHub repository</a></li>
<li><i class="fa fa-pencil"></i><a href="https://osu.ppy.sh/community/forums/topics/630917">Forum post</a>
</li>
<li><i class="fa fa-user"></i><a href="https://osu.ppy.sh/users/4497706">Creator's osu! profile</a></li>
</ul>
</div>
<div class="col">
<ul>
<li><i class="fa fa-pencil"></i>Last update: <span id="last-update-time"></span></li>
</ul>
</div>
<div class="col">
<i class="fa fa-search"></i>
Search query expressions:<br>
<code>status=r mode=o stars<=5 pp>=200 length<=200 combo<1000 ar>9 cs<5 lv>2 played<=10 unplayed!= rank=S date>7</code>
</div>
</div>
</div>
</div>
</div>
<div class="main">
<i class="loader fa fa-spinner fa-pulse fa-3x" id="summary-table-loader"></i>
<table id="summary-table" class="table table-sm table-hover table-bordered table-striped table-sortable"
style="table-layout: fixed">
<thead>
<tr>
<th class="desc-first" style="width: 8em">Date</th>
<th>Map</th>
<th class="sorted descending desc-first" style="width: 3em"><span class="narrow-header-text">Stars</span></th>
<th class="desc-first" style="width: 3.5em"><span class="narrow-header-text">PP</span></th>
<th style="width: 3.5em"><span class="narrow-header-text">Length</span></th>
<th style="width: 3.5em"><span class="narrow-header-text">Combo</span></th>
<th style="width: 2.5em"><span class="narrow-header-text">AR</span></th>
<th style="width: 2.5em"><span class="narrow-header-text">CS</span></th>
<th class="desc-first" style="width: 6em">FCs / min miss</th>
<th class="desc-first" style="width: 12em">Local data</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
<nav>
<ul class="pagination justify-content-center">
<li id="page-prev" class="page-item disabled"><a class="page-link" href="javascript:void(0)">Previous</a></li>
<li id="page-next" class="page-item disabled"><a class="page-link" href="javascript:void(0)">Next</a></li>
</ul>
</nav>
<div class="music-control" style="display: none">
<audio id="audio" controls></audio>
</div>
</div>
</body>
</html>