forked from pluggemi/roon-web-controller
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathside-by-side.html
65 lines (65 loc) · 1.81 KB
/
side-by-side.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Roon Web Controller - Side by Side Layout</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<meta name="format-detection" content="telephone=no" />
<link rel="apple-touch-icon" href="/favicons/apple-icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<script>
(function(a, b, c) {
if (c in b && b[c]) {
var d,
e = a.location,
f = /^(a|html)$/i;
a.addEventListener(
"click",
function(a) {
d = a.target;
while (!f.test(d.nodeName)) d = d.parentNode;
"href" in d &&
(d.href.indexOf("http") || ~d.href.indexOf(e.host)) &&
(a.preventDefault(), (e.href = d.href));
},
!1
);
}
})(document, window.navigator, "standalone");
</script>
<link
rel="shortcut icon"
href="/favicons/favicon.ico"
type="image/x-icon"
/>
<link rel="icon" href="/favicons/favicon.ico" type="image/x-icon" />
<style>
body {
font-family: sans-serif;
background-color: #232629;
color: #eff0f1;
}
iframe {
border: none;
}
#nowPlaying iframe {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 50%;
}
#libraryBrowser iframe {
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 50%;
}
</style>
</head>
<body>
<div id="nowPlaying"><iframe src="nowplaying.html"></iframe></div>
<div id="libraryBrowser"><iframe src="library.html"></iframe></div>
</body>
</html>