forked from Jille/kbdwebmpc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
103 lines (93 loc) · 2.88 KB
/
index.php
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
<?php
header('Content-Type: text/html; charset=UTF-8');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>Muzieksysteem Villa van Schaeck</title>
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript">
var pass = <?php echo isset($_GET['pass']) ? json_encode($_GET['pass']) : "''"; ?>;
var server = <?php echo isset($_GET['server']) ? json_encode($_GET['server']) : "'skynet.quis.cx'"; ?>;
</script>
<script type="text/javascript" src="js/shortcut.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</head>
<body onload="page_init();">
<div id="playerbox">
<div id="controls">
<div class="fkeydesc control" id="play" onclick="command('toggle');">
F1<br/>
Play
</div>
<div class="fkeydesc control" id="next" onclick="command('next');">
F2<br/>
Next
</div>
<div class="fkeydesc control" id="vol_down" onclick="command('volumeDown');">
F5<br/>
Vol down
</div>
<div class="fkeydesc control" id="vol_up" onclick="command('volumeUp');">
F6<br/>
Vol up
</div>
<div class="fkeydesc control" id="crossfade" onclick="command('crossfade');">
F8<br/>
Crossfade
</div>
<div class="fkeydesc control" id="flats" onclick="command('flats');">
F9<br/>
Flats
</div>
<div class="fkeydesc control" id="shuffle" onclick="command('shuffle');">
F10<br/>
Shuffle
</div>
<div class="fkeydesc" id="logout" title="Alleen beschikbaar vanaf de muziekcomputers">
F12<br/>
Logout
</div>
<div id="volumeHolder">
<img src="images/volume_low.png" />
<div id="volumeBar"><div id="volume"></div></div>
<img src="images/volume_high.png" />
</div>
</div>
<div id="status">
<div id="nowplaying" class="nowplaying"><span id="nowplaying_state"><!-- --></span><span id="nowplaying_track"><!-- --></span></div>
<div id="bar">
<div id="time_elapsed"><!-- --></div>
<div id="songProgress">
<div id="songProgressed"> </div>
</div>
<div id="time_total"><!-- --></div>
</div>
<div class="clear"></div>
</div>
<div id="search">
<input type="text" id="searchField" placeholder="Enter search query or press TAB to browse the library" autocomplete="off" />
</div>
<div id="playlist"><!-- --></div>
<div id="searchResults"></div>
<div id="fileBrowser"></div>
<div id="footer">
<span id="updating"></span>
© 2012-2014 De Technische Commissie
</div>
</div>
<div id="misconfiguredbox">
<div>
<h1>Error</h1>
<p>
The configuration is broken by an external device. Press ENTER to restore the configuration.
</p>
<p>
<input type="button" id="restoreButton" value="Restore" onclick="command('repairConfig');" />
</p>
</div>
</div>
<div id="error"></div>
<div id="notify"></div>
</body>
</html>