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

Side by Side Diff: remoting/webapp/me2mom/choice.html

Issue 7016001: Simple OAuth1 implementation based on http://code.google.com/chrome/extensions/tut_oauth.html. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <!-- 2 <!--
3 Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <html> 8 <html>
9 9
10 <head> 10 <head>
11 <link rel="stylesheet" type="text/css" href="main.css" /> 11 <link rel="stylesheet" type="text/css" href="main.css" />
12 <script type="text/javascript" src="remoting.js"></script> 12 <script type="text/javascript" src="remoting.js"></script>
13 <title>Select Role</title> 13 <title>Select Role</title>
14 </head> 14 </head>
15 15
16 <body onload="init();"> 16 <body onload="init();">
17 17
18 <!-- Auth panel --> 18 <!-- Auth panel -->
19 <div id="auth_panel"> 19 <div id="auth_panel">
20 Chromoting OAuth1 Token: <span id="oauth1_status"></span>
21 <button onclick="authorizeOAuth1();">Authorize</button>
22 <button onclick="clearOAuth1();">Clear</button >
23 <br />
20 <form action=""> 24 <form action="">
21 XMPP Token: <input type="text" id="xmpp_token" /><br /> 25 XMPP Token: <input type="text" id="xmpp_token" /><br />
22 OAuth2 Token: <input type="text" id="oauth2_token" /><br />
23 <button onclick="saveCredentials(this.form);"> 26 <button onclick="saveCredentials(this.form);">
24 Save Credentials 27 Save Credentials
25 </button> 28 </button>
26 </form> 29 </form>
27 </div> 30 </div>
28 31
29 <!-- Host UI --> 32 <!-- Host UI -->
30 <div id="host"> 33 <div id="host">
31 34
32 <div id="unshared"> 35 <div id="unshared">
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 <div id="session"> 128 <div id="session">
126 <p class="message"> 129 <p class="message">
127 Congratulations! You have connected successfully. Your access code was 130 Congratulations! You have connected successfully. Your access code was
128 <em id="access_code_proof"></em>. 131 <em id="access_code_proof"></em>.
129 </p> 132 </p>
130 </div> 133 </div>
131 134
132 </body> 135 </body>
133 136
134 </html> 137 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698