Index: remoting/client/appengine/hostlist.html |
diff --git a/remoting/client/appengine/hostlist.html b/remoting/client/appengine/hostlist.html |
index 10138fee742591db4a19bd5a9c00e7604127d99b..a75042b3b6fdfff4a2cf92464cc70f9d9935ec9f 100644 |
--- a/remoting/client/appengine/hostlist.html |
+++ b/remoting/client/appengine/hostlist.html |
@@ -24,10 +24,39 @@ found in the LICENSE file. |
<div id="mainview-content"> |
<div class="page"> |
<section> |
- <h3>Http Xmpp Proxy</h3> |
- <input type="text" id="http_xmpp_proxy" |
- value="https://chromoting-httpxmpp-dev.corp.google.com" |
- size="50" /> |
+ <h3>Http Xmpp Proxy Config </h3> |
+ <div> |
+ <table> |
+ <tr> |
+ <td align="right"> |
+ <label for="clientlogin_proxy">Client Login Proxy</label> |
+ </td> |
+ <td><input type="text" name="clientlogin_proxy" id="clientlogin_proxy" |
+ value="https://chromoting-httpxmpp-dev.corp.google.com" |
+ size="60" /> |
+ </td> |
+ </tr> |
+ <tr> |
+ <td align="right"> |
+ <label for="oauth2_proxy">OAuth2 Proxy</label> |
+ </td> |
+ <td><input type="text" name="oauth2_proxy" id="oauth2_proxy" |
+ value="https://chromoting-httpxmpp-oauth2-dev.corp.google.com" |
+ size="60" /> |
+ </td> |
+ </tr> |
+ </table> |
+ <div> |
+ <input type="radio" name="token_type" id="use_oauth2" |
+ value="oauth2" checked> |
+ Use OAuth2 |
Jamie
2011/05/23 19:24:12
We should probably use a <label> here and below, o
awong
2011/05/23 20:43:23
Done.
|
+ </input> |
+ <input type="radio" name="token_type" id="use_clientlogin" |
+ value="clientlogin"> |
+ Use Client Login |
+ </input> |
+ </div> |
+ </div> |
</section> |
<section> |
<h3>Host List</h3> |
@@ -66,18 +95,18 @@ found in the LICENSE file. |
</div> |
</section> |
<section> |
- <h3>Xmpp Token</h3> |
+ <h3>Client Login Token</h3> |
<div> |
-{% ifnotequal xmpp_token None %} |
+{% ifnotequal clientlogin_token None %} |
<div>Token Authenticated</div> |
<button id="subitem" |
- onclick="window.location='/auth/clear_xmpp_token'"> |
+ onclick="window.location='/auth/clear_clientlogin_token'"> |
Clear Token |
</button> |
{% else %} |
<div class="error-msg">Token Not Authenticated</div> |
<button id="subitem" |
- onclick="window.location='/auth/xmpp_auth'"> |
+ onclick="window.location='/auth/clientlogin_auth'"> |
Authenticate Token |
</button> |
{% endifnotequal %} |