forked from MeoMix/SongBuzz
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathforeground.htm
More file actions
166 lines (149 loc) · 7.45 KB
/
foreground.htm
File metadata and controls
166 lines (149 loc) · 7.45 KB
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
<!DOCTYPE html>
<html>
<head>
<title></title>
<link href="css/foreground.css" rel="stylesheet" type="text/css" />
<link href="css/aristo/aristo.css" rel="stylesheet" type="text/css" />
<!--Needed to figure out GeoLocation to filter out some song suggestions.-->
<script src="http://www.geoplugin.net/javascript.gp"></script>
<script src="js/third_party/jquery-1.7.2.min.js"></script>
<script src="js/third_party/jquery-ui-1.8.21.custom.min.js"></script>
<script src="js/third_party/date.js"></script>
<script src="js/third_party/jquery.url.js"></script>
<script src="js/third_party/youtube-player-api-helper.js"></script>
<script src="js/foreground/content_buttons.js"></script>
<script src="js/foreground/foreground.js"></script>
<script src="js/foreground/header.js"></script>
<script src="js/foreground/content_header.js"></script>
<script src="js/foreground/playlist_list.js"></script>
<script src="js/foreground/playlists_tab.js"></script>
<script src="js/foreground/progressbar.js"></script>
<script src="js/foreground/runtime.js"></script>
<script src="js/foreground/settings.js"></script>
<script src="js/foreground/songlist.js"></script>
<script src="js/foreground/songs_tab.js"></script>
<script src="js/foreground/time_display.js"></script>
<script src="js/foreground/urlinput.js"></script>
<script src="js/foreground/uielements.js"></script>
<script src="js/foreground/ytquickadd.js"></script>
<script src="js/foreground/player_controls/player_controls.js"></script>
<script src="js/foreground/player_controls/shuffle_button.js"></script>
<script src="js/foreground/player_controls/skip_button.js"></script>
<script src="js/foreground/player_controls/playpause_button.js"></script>
<script src="js/foreground/player_controls/volume_slider.js"></script>
<script src="js/playerstates.js"></script>
<script src="js/yt_helper.js"></script>
<script src="js/song.js"></script>
<script src="js/helpers.js"></script>
</head>
<body>
<div id="content">
<div id="head" class="gradient">
<div id="PlayPauseButton" class="disabled">
<svg id="playIcon" width="22" height="22">
<polygon class="path" fill="gray" points="0,0 16.5,11 0,22 "/>
</svg>
<svg id="pauseIcon" width="22" height="22">
<rect class="path" x="3" y="0" width="5" height="22" rx="2px" ry="2px" fill="#000" />
<rect class="path" x="13" y="0" width="5" height="22" rx="2px" ry="2px" fill="#000" />
</svg>
</div>
<div id="Header">
<span id="HeaderTitle">
Welcome to SongBuzz
</span>
</div>
<div id="SkipButton" class="disabled">
<svg width="16px" height="16px">
<rect class="path" x="14" y="3" width="2" height="10" fill="gray" />
<path class="path" d="M0,3 L7,8 L0,13z" fill="gray" />
<path class="path" d="M7,3 L14,8, L7,13z" fill="gray" />
</svg>
</div>
<div id="rowBottom">
<input type="range" id="progress" min="0" step="1" max="0" value="0" />
<div id="time">
<label class="TimeDisplay" id="CurrentTimeLabel">00:00</label>
/
<label class="TimeDisplay" id="TotalTimeLabel">00:00</label>
</div>
<div id="ShuffleButton" class="disabled">
<svg width="16" height="16">
<path d="m 0,4 0,2 2.5,0 7,6 1.5,0 0,2 5,-3 -5,-3 0,2 -1.5,0 -7,-6 z" fill="#555" />
<path d="m 11,2 0,2 -1.5,0 -7,6 -2.5,0 0,2 2.5,0 7,-6 1.5,0 0,2 5,-3 z" fill="#555" />
</svg>
</div>
<div id="MuteButton" class="volumeControl">
<svg width="16" height="16">
<path d="M0,6 L3,6 L7,2 L7,14 L3,10 L0,10Z" fill="#fff" />
<rect id="MuteButtonBar1" x="9" y="6.5" width="1" height="3" />
<rect id="MuteButtonBar2" x="11" y="5" width="1" height="6" />
<rect id="MuteButtonBar3" x="13" y="3.5" width="1" height="9" />
<rect id="MuteButtonBar4" x="15" y="2" width="1" height="12" />
</svg>
</div>
</div>
</div>
<div id="VolumeSliderWrapper" class="volumeControl">
<input type="range" id="VolumeSlider" class="volumeControl" min="0" max="100" step="1" value="0" />
</div>
<div id="menu">
<a id="HomeMenuButton" class="menubutton active" href="#">
<svg width="30" height="30">
<path d="M11.5,2 L22,12 L0,12 L18,12 L18,20 L13,20 L13,13 L9,13 L9,20 L4,20 L4,12 L0,12Z" fill="#000" />
</svg>
<span>Home</span>
</a>
<a id="PlaylistsMenuButton" class="menubutton" href="#">
<svg width="22" height="22">
<rect x="0" y="0.5" width="22" height="3" fill="#000"/>
<rect x="0" y="6.5" width="22" height="3" fill="#000"/>
<rect x="0" y="12.5" width="22" height="3" fill="#000"/>
<rect x="0" y="18.5" width="22" height="3" fill="#000"/>
</svg>
<span>Playlists</span></a>
<a id="SettingsMenuButton" class="menubutton" href="#">
<svg width="22" height="22">
<path d="M 18.6668,6.31016 16.3361,5.68686 15.7104,3.35456 18.2975,0.732562 C 16.681,0.202632 14.834,0.576752 13.5518,1.86138 12.1982,3.21496 11.8516,5.19756 12.5138,6.87006 L 9.69297,9.69256 6.87049,12.5151 C 5.19713,11.8529 3.2154,12.1978 1.86097,13.5514 0.576345,14.8344 0.203045,16.6806 0.732965,18.298 l 2.622015,-2.5872 2.33231,0.6249 0.62406,2.3307 -2.62851,2.5944 c 1.62141,0.5397 3.4798,0.168 4.76853,-1.1231 1.3617,-1.3618 1.70423,-3.354 1.0314,-5.0331 l 2.81033,-2.8111 2.8111,-2.81034 c 1.679,0.67204 3.6705,0.3295 5.0331,-1.0322 1.2919,-1.2895 1.6628,-3.1471 1.1231,-4.7685 l -2.5936,2.6277 z" fill="#000" />
</svg>
<span>Settings</span>
</a>
<div id="logo">SongBuzz</div>
</div>
<div id="HomeContent" class="content">
<div id="CurrentSongDisplay" class="header">
</div>
<div id="SongList" class="list">
<ul>
</ul>
</div>
</div>
<div id="PlaylistsContent" class="content">
<div id="PlaylistDisplay" class="header">
</div>
<div id="PlaylistList" class="list">
<ul>
</ul>
</div>
</div>
<div id="SettingsContent" class="content">
Settings coming soon!
</div>
</div>
<div id="ConfirmSearchDialog" title="Confirm Search?">
<p>The song you provided was not playable due to content restrictions imposed by YouTube. OK to search for replacement?</p>
</div>
<div id="RestrictedSongDialog">
<div class="dialogHeader">Unable to use song due to content restrictions. OK to search?</div>
<div id="RestrictedSongList">
<ul>
</ul>
</div>
</div>
<div id="YtQuickAddBar">
Add <span id="YTQATitle"></span> to the playlist?
<button id="YTQAYes">Yes</button>
<button id="YTQANo">No</button>
</div>
</body>
</html>