summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/browser_signin.html
blob: ef4afeda7ddc47853ff0ab32d7a9946b15e82c3c (plain)
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
<html>
<style>
body {
 margin: 0;
 font-family: arial,sans-serif;
}
#message {
 position: absolute;
 left: 10px;
 width: 45%;
}
#login {
 position: absolute;
 left: 50%;
}
#message h1 {
 font-size: medium;
}
#message p {
 font-size: smaller;
}
</style>
<script>
function initmessage() {
  document.getElementById('message').innerHTML = chrome.dialogArguments;
}

function init() {
  chrome.send('SigninInit');
  initmessage();
}
</script>
<body onload="init();">
<div id="message"></div>
<iframe id="login" frameborder="0" width="50%" scrolling="no" height="100%"
        src="chrome://syncresources/gaialogin" tabindex="-1"></iframe>
</body>
</html>