summaryrefslogtreecommitdiffstats
path: root/remoting/client/extension/popup.html
blob: 7b2bab9539dafc5c32c56ea39d5252106084670c (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
39
40
41
42
43
44
45
46
47
48
<!--
Copyright (c) 2010 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->

<html>
  <head>
    <script type="text/javascript" src="client.js"></script>
    <title>Get hosts</title>
  </head>
  <body onload="init_params();" style="width:250;">

    <div style="border: blue 1px dotted;">
    <form name="hostqueryform" action="" method="GET">
    Fill-in to reauthenticate. <br />
    U: <input type="text" name="username" id="username" value="" /> <br />
    P: <input type="password" name="password" id="password" value="" /> <br />
    <input type="button" name="login_button" value="Log In" onclick="login(this.form)" />
    </form>
    </div>

    <div style="border: blue 1px dotted;">
    Use to manually override the cookies. <br />
    <form name="connectparamsform" action="" method="GET">
    chromoting: <input type="text" name="chromoting_auth" id="chromoting_auth" value="" /> <br />
    xmpp: <input type="text" name="xmpp_auth" id="xmpp_auth" value="" />
    <input type="button" name="set_cookie_button" value="Set Auth Cookies" onclick="set_auth_cookies(this.form)" />
    </form>
    </div>

    <div style="border: blue 1px dotted;">
    <form name="connectform" action="" method="GET">
    Conenct directly to host using auth cookies. Find Hosts doesn't require the host_jid to be filled out. <br />
    host_jid: <input type="text" name="host_jid" id="host_jid" value="" /> <br />
    <input type="button" name="connect_button" value="Connect" onclick="connect(this.form)" />
    <input type="button" name="find_host_button" value="Find Hosts" onclick="find_hosts(this.form)" />
    </form>
    </div>

    <br />

    <div id="hostlist_div" style="border: blue 1px solid; display: none;">
    </div>

    <br />
  </body>
</html>