OLD | NEW |
1 <!doctype html> | 1 <!doctype html> |
2 <!-- | 2 <!-- |
3 Copyright (c) 2011 The Chromium Authors. All rights reserved. | 3 Copyright (c) 2011 The Chromium Authors. All rights reserved. |
4 Use of this source code is governed by a BSD-style license that can be | 4 Use of this source code is governed by a BSD-style license that can be |
5 found in the LICENSE file. | 5 found in the LICENSE file. |
6 --> | 6 --> |
7 | 7 |
8 <html> | 8 <html> |
9 | 9 |
10 <head> | 10 <head> |
11 <link rel="stylesheet" type="text/css" href="main.css" /> | 11 <link rel="stylesheet" type="text/css" href="main.css" /> |
12 <script type="text/javascript" src="remoting.js"></script> | 12 <script type="text/javascript" src="remoting.js"></script> |
13 <title>Select Role</title> | 13 <title>Select Role</title> |
14 </head> | 14 </head> |
15 | 15 |
16 <body onload="init();"> | 16 <body onload="init();"> |
17 | 17 |
18 <!-- Auth panel --> | 18 <!-- Auth panel --> |
19 <div id="auth_panel"> | 19 <div id="auth_panel"> |
| 20 Chromoting OAuth1 Token: <span id="oauth1_status"></span> |
| 21 <button onclick="authorizeOAuth1();">Authorize</button> |
| 22 <button onclick="clearOAuth1();">Clear</button > |
| 23 <br /> |
20 <form action=""> | 24 <form action=""> |
21 XMPP Token: <input type="text" id="xmpp_token" /><br /> | 25 XMPP Token: <input type="text" id="xmpp_token" /><br /> |
22 OAuth2 Token: <input type="text" id="oauth2_token" /><br /> | |
23 <button onclick="saveCredentials(this.form);"> | 26 <button onclick="saveCredentials(this.form);"> |
24 Save Credentials | 27 Save Credentials |
25 </button> | 28 </button> |
26 </form> | 29 </form> |
27 </div> | 30 </div> |
28 | 31 |
29 <!-- Host UI --> | 32 <!-- Host UI --> |
30 <div id="host"> | 33 <div id="host"> |
31 | 34 |
32 <div id="unshared"> | 35 <div id="unshared"> |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
125 <div id="session"> | 128 <div id="session"> |
126 <p class="message"> | 129 <p class="message"> |
127 Congratulations! You have connected successfully. Your access code was | 130 Congratulations! You have connected successfully. Your access code was |
128 <em id="access_code_proof"></em>. | 131 <em id="access_code_proof"></em>. |
129 </p> | 132 </p> |
130 </div> | 133 </div> |
131 | 134 |
132 </body> | 135 </body> |
133 | 136 |
134 </html> | 137 </html> |
OLD | NEW |