Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: remoting/client/extension/popup.html

Issue 3338014: Improve UI of Chromoting client UI to select available hosts. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: One more camel Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/client/extension/manifest.json ('k') | remoting/tools/gethosts.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/extension/popup.html
diff --git a/remoting/client/extension/popup.html b/remoting/client/extension/popup.html
index a4162c583323bf1d8726e3e975c5bc7e27d3f552..d582cba4d0f0dbb95a4e8b94c496b8ccf3209ce1 100644
--- a/remoting/client/extension/popup.html
+++ b/remoting/client/extension/popup.html
@@ -8,40 +8,22 @@ found in the LICENSE file.
<head>
<script type="text/javascript" src="base.js"></script>
<script type="text/javascript" src="client.js"></script>
- <title>Get hosts</title>
+ <link rel="stylesheet" type="text/css" href="main.css" />
+ <title>Remote Access</title>
</head>
- <body onload="initParams();" style="width:250;">
+ <body onload="init();">
- <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="setAuthCookies(this.form)" />
- </form>
- </div>
+ <h1>Remote Access</h1>
- <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="findHosts(this.form)" />
- </form>
+ <div id="hostlist_div" class="hostlist">
+ <p class='message'>Initializing...</p>
</div>
- <br />
+ <p class="reload">
+ <a href="javascript:listHosts()">Reload host list</a>
+ </p>
- <div id="hostlist_div" style="border: blue 1px solid; display: none;">
+ <div id="login_div" class="login">
</div>
<br />
« no previous file with comments | « remoting/client/extension/manifest.json ('k') | remoting/tools/gethosts.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698