-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathgoogle-panel-remote.html
98 lines (74 loc) · 2.9 KB
/
google-panel-remote.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
90
91
92
93
94
95
96
97
98
<!DOCTYPE html>
<html lang="en">
<head>
<title>Onslyde Remote</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0"/>
<!-- enable full-screen mode -->
<meta name="apple-mobile-web-app-capable" content="yes"/>
<!-- controls the appearance of the status bar in full-screen mode -->
<meta name="apple-mobile-web-app-status-bar-style" content="black"/>
<meta http-equiv="cache-control" content="no-cache" />
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,600,800" rel="stylesheet" type="text/css">
<link href="css/panel/google-panel-remote.css?v=100" media="screen" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="roulette"></div>
<div id="browser">
<nav class="primary">
<ul>
<li id="logo" class="logo-banner"></li>
<li>
<input id="agree" class="button" type="submit" value="Agree" />
<input id="disagree" class="button" type="submit" value="Disagree"/>
<input id="speak" class="button" type="submit" value="I want to speak!" />
</li>
</ul>
</nav>
<div id="auth-holder" class="auth-holder">
<span id="authorize-button"><i class="pictogram"></i> Authorize</span>
<div id="usercontent"></div>
</div>
<div id="slide-group-container">
<div id="front" class="normal">
<div id="about-page" class="slide">
<div id="from-slide">
</div>
<p>
<a href="https://twitter.com/ChromiumDev" target="_blank">Follow @ChromiumDev</a>
</p>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="js/panel/dist/onslyde-panel-1.0.0.min.js" ></script>
<script type="text/javascript">
function getParameterByName(name) {
var match = new RegExp('[?&]' + name + '=([^&]*)').exec(window.location.search);
return match && decodeURIComponent(match[1].replace(/\+/g, ' '));
}
onslyde({
panelRemote: {sessionID: getParameterByName('session')}
});
function gplusCallBack(){
//google api won't take this as callback param for some reason
onslyde.oauth.handleClientLoad();
}
</script>
<script type="text/javascript" src="js/panel/dist/onslyde-remote-1.0.0.min.js" ></script>
<script src="https://apis.google.com/js/client.js?onload=gplusCallBack"></script>
<script type="text/javascript">
window.addEventListener('load', function() {
FastClick.attach(document.body);
}, false);
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-31854873-3']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>