-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
90 lines (71 loc) · 2.49 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>osuJS!</title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/all.css" rel="stylesheet">
</head>
<body onLoad="osujs.initialize();">
<div class="container">
<div class="navbar navbar-fixed-top">
<ul class="nav navbar-nav">
<li class="active"><a href="#game" data-toggle="tab">osujs!</a></li>
<li><a href="#beatmaps" data-toggle="tab">beatmaps</a></li>
<li><a href="#options" data-toggle="tab">options</a></li>
<li><a href="#changelog" data-toggle="tab">changelog</a></li>
</ul>
<p class="navbar-text pull-right" id="currentbeatmap">
No beatmap selected
</p>
</div>
<br>
<div class="tab-content">
<!-- osujs! game tab -->
<div class="tab-pane active fade in" id="game">
<canvas id="osujs_canvas" onmousedown="event.preventDefault()">
Your browser does not support the HTML5 Canvas element.
</canvas>
</div>
<!-- beatmap selection tab -->
<div class="tab-pane fade" id="beatmaps">
</div>
<!-- options tab -->
<div class="tab-pane fade" id="options">
</div>
<!-- changelog tab -->
<div class="tab-pane fade" id="changelog">
</div>
</div>
<hr>
<footer>
<p class="text-muted">
Graphics and sound effects taken from <a href="http://osu.ppy.sh">osu!</a> with permission from peppy.
<br>
osujs! uses the <a href="http://createjs.com">CreateJS</a> library.
</p>
</footer>
</div>
<!-- Site dependencies -->
<script src="cdn/jquery-2.0.3.min.js"></script>
<script src="cdn/bootstrap.min.js"></script>
<script src="cdn/parallel.js"></script>
<!-- load tabs -->
<script>
$("#options").load("options.html");
$("#changelog").load("changelog.html");
$("#beatmaps").load("beatmaps.html");
</script>
<!-- osujs! dependencies -->
<script src="cdn/curve.js"></script>
<script src="cdn/easeljs-0.6.1.min.js"></script>
<script src="cdn/preloadjs-NEXT.min.js"></script>
<script src="cdn/soundjs-NEXT.min.js"></script>
<script src="cdn/tweenjs-NEXT.min.js"></script>
<script src="cdn/Filter.js"></script>
<script src="cdn/ColorFilter.js"></script>
<!-- My code -->
<script src="js/osu.js"></script>
<script src="js/site.js"></script>
</body>
</html>