OLD | NEW |
1 <!-- | 1 <!-- |
2 Copyright (c) 2010 The Chromium Authors. All rights reserved. | 2 Copyright (c) 2010 The Chromium Authors. All rights reserved. |
3 Use of this source code is governed by a BSD-style license that can be | 3 Use of this source code is governed by a BSD-style license that can be |
4 found in the LICENSE file. | 4 found in the LICENSE file. |
5 --> | 5 --> |
6 | 6 |
7 <html> | 7 <html> |
8 <head> | 8 <head> |
9 <script type="text/javascript" src="base.js"></script> | 9 <script type="text/javascript" src="base.js"></script> |
10 <script type="text/javascript" src="client.js"></script> | 10 <script type="text/javascript" src="client.js"></script> |
11 <title>Get hosts</title> | 11 <link rel="stylesheet" type="text/css" href="main.css" /> |
| 12 <title>Remote Access</title> |
12 </head> | 13 </head> |
13 <body onload="initParams();" style="width:250;"> | 14 <body onload="init();"> |
14 | 15 |
15 <div style="border: blue 1px dotted;"> | 16 <h1>Remote Access</h1> |
16 <form name="hostqueryform" action="" method="GET"> | 17 |
17 Fill-in to reauthenticate. <br /> | 18 <div id="hostlist_div" class="hostlist"> |
18 U: <input type="text" name="username" id="username" value="" /> <br /> | 19 <p class='message'>Initializing...</p> |
19 P: <input type="password" name="password" id="password" value="" /> <br /> | |
20 <input type="button" name="login_button" value="Log In" onclick="login(this.
form)" /> | |
21 </form> | |
22 </div> | 20 </div> |
23 | 21 |
24 <div style="border: blue 1px dotted;"> | 22 <p class="reload"> |
25 Use to manually override the cookies. <br /> | 23 <a href="javascript:listHosts()">Reload host list</a> |
26 <form name="connectparamsform" action="" method="GET"> | 24 </p> |
27 chromoting: <input type="text" name="chromoting_auth" id="chromoting_auth" v
alue="" /> <br /> | |
28 xmpp: <input type="text" name="xmpp_auth" id="xmpp_auth" value="" /> | |
29 <input type="button" name="set_cookie_button" value="Set Auth Cookies" oncli
ck="setAuthCookies(this.form)" /> | |
30 </form> | |
31 </div> | |
32 | 25 |
33 <div style="border: blue 1px dotted;"> | 26 <div id="login_div" class="login"> |
34 <form name="connectform" action="" method="GET"> | |
35 Conenct directly to host using auth cookies. Find Hosts doesn't require the
host_jid to be filled out. <br /> | |
36 host_jid: <input type="text" name="host_jid" id="host_jid" value="" /> <br /
> | |
37 <input type="button" name="connect_button" value="Connect" onclick="connect(
this.form)" /> | |
38 <input type="button" name="find_host_button" value="Find Hosts" onclick="fin
dHosts(this.form)" /> | |
39 </form> | |
40 </div> | 27 </div> |
41 | 28 |
42 <br /> | 29 <br /> |
43 | |
44 <div id="hostlist_div" style="border: blue 1px solid; display: none;"> | |
45 </div> | |
46 | |
47 <br /> | |
48 </body> | 30 </body> |
49 </html> | 31 </html> |
OLD | NEW |