summaryrefslogtreecommitdiffstats
path: root/remoting/client/extension/popup.html
diff options
context:
space:
mode:
Diffstat (limited to 'remoting/client/extension/popup.html')
-rw-r--r--remoting/client/extension/popup.html60
1 files changed, 60 insertions, 0 deletions
diff --git a/remoting/client/extension/popup.html b/remoting/client/extension/popup.html
new file mode 100644
index 0000000..c632dd6
--- /dev/null
+++ b/remoting/client/extension/popup.html
@@ -0,0 +1,60 @@
+<!--
+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();">
+
+ <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="debug_div" style="border: red 1px solid;">
+ -- Debugging messages go here -- <br />
+ </div>
+
+ <br />
+
+ <div id="hostlist_div" style="border: blue 1px solid;">
+ -- Hosts go here -- <br />
+ </div>
+
+ <br />
+
+ <div id="plugin_div" style="border: black 1px dashed;">
+ <embed width="100%" height="100%" name="chromoting" id="chromoting"
+ src="about://none" type="pepper-application/x-chromoting">
+ </div>
+ </body>
+</html>