-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
64 lines (62 loc) · 2.67 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Icarus best server EU</title>
<script src="angular.min.js"></script>
<script src="angular-animate.min.js"></script>
<script src="ui-bootstrap-custom-tpls-2.5.0.min.js"></script>
<script src="script.js"></script>
<link rel="stylesheet" href="bootstrap.css">
<link rel="stylesheet" href="style.css">
</head>
<body ng-app="releaseApp" ng-controller="releaseCtrl" layout="column">
<h1>MU Legend Item indexer</h1>
<p id="song">Recommended song: <a ng-href="https://www.youtube.com/watch?v={{songs[songID]}}">yt link</a></p>
<div class="row">
<div class="col-md-5">
<p class="input-group">
<input type="search" class="form-control" name="titleQuery" ng-model="titleQuery" placeholder="Search title" />
<span class="input-group-btn">
<button type="button" class="btn btn-default" ng-click="isCollapsed = !isCollapsed">Tags</button>
<button type="button" class="btn btn-default" onclick="location.href='./add/index.html';" >Add Item</button>
</span>
</p>
</div>
</div>
<div uib-collapse="isCollapsed" id="collapseTags">
<table class="well well-lg">
<tr>
<td style="width: 20%"><span ng-repeat="tag in tags" ng-if="$index < 4"><button type="button" class="btn btn-default" ng-click="tagToggle($event, tag)" uib-btn-checkbox>{{tag.name}}</button><br ng-if="($index % 2)" /></span></td>
<td style="width: 20%"s><span ng-repeat="tag in tags" ng-if="($index > 3) && ($index < 8)"><button type="button" class="btn btn-default" ng-click="tagToggle($event, tag)" uib-btn-checkbox>{{tag.name}}</button><br ng-if="($index % 2)" /></span></td>
<td><span ng-repeat="tag in tags" ng-if="$index > 7"><button type="button" class="btn btn-default" ng-click="tagToggle($event, tag)" uib-btn-checkbox>{{tag.name}}</button></span></td>
</tr>
</table>
</div>
<div class="tbl-header">
<table cellpadding="0" cellspacing="0" border="0">
<thead>
<tr>
<th>Name</th>
<th id="imSpecial">Tags</th>
<th>Attributes</th>
</tr>
</thead>
</table>
</div>
<div class="tbl-content" ng-stretch>
<table cellpadding="0" cellspacing="0" border="0">
<tbody>
<tr class="animate-repeat" ng-repeat="x in data | proFilter:'name':titleQuery:tags:'toggle' | limitTo:100 as results">
<td>{{x.name}}</td>
<td><ul style="margin-bottom: 0px"><li ng-repeat="y in x.tags">{{y}}</li></ul></td>
<td><ul style="margin-bottom: 0px; margin-left: -30px"><li ng-repeat="y in x.stats">{{y.name}}: {{y.value}}</li></ul></td>
</tr>
<li class="animate-repeat" id="resultsPls" ng-if="results.length === 0">
<strong>Nothing</strong>
</li>
</tbody>
</table>
</div>
</body>
</html>