Add debug logging to Chromoting client UI.
[chromium-blink-merge.git] / remoting / client / appengine / chromoting_session.html
blob3389c09fa53e772d1186930261b6d269449100f4
1 <!doctype html>
2 <!--
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
5 found in the LICENSE file.
6 -->
8 <html>
9 <head>
10 <title id="title">Chromoting Session</title>
11 <link rel="stylesheet" type="text/css" href="static_files/main.css" />
12 <script type="text/javascript">
13 <!--
14 // TODO(ajwong): Total Hack. Do this nicer.
15 document.xmpp_auth_token="{{xmpp_token.token_string}}";
16 document.username="{{username}}";
17 document.hostname="{{hostname}}";
18 document.hostjid="{{hostjid}}";
19 -->
20 </script>
21 <script type="text/javascript" src="static_files/base.js"></script>
22 <script type="text/javascript" src="static_files/chromoting_session.js">
23 </script>
24 </head>
25 <body class="chromoting_body" onload="init();">
26 <div id="status_msg_div">
27 <span id="status_msg" class="status_msg">Initializing...</span>
28 <input type="button" value="Show Debug Log" class="debug_log_toggle"
29 id="debug_log_toggle" onclick="toggleDebugLog();"/>
30 </div>
31 <div id="login_panel" class="local_login_panel">
32 <table><tr><td valign="top"
33 style="text-align:center" nowrap="nowrap" bgcolor="#e8eefa">
34 <table align="center" border="0" cellpadding="1" cellspacing="0">
35 <tr>
36 <td align="center" colspan="2">
37 Sign in to remote host
38 </td>
39 </tr><tr>
40 <td align="right" nowrap="nowrap">
41 <span class="gaia_font">Username:</span>
42 </td><td>
43 <input type="text" id="username" value="" class="gaia_font"/>
44 </td>
45 </tr><tr>
46 <td align="right" nowrap="nowrap">
47 <span class="gaia_font">Password:</span>
48 </td>
49 <td>
50 <input type="password" id="password" value="" class="gaia_font"/>
51 </td>
52 </tr><tr>
53 <td></td>
54 <td><input type="button" value="Sign in" class="gaia_font"
55 onclick="submitLogin();"/></td>
56 </tr>
57 </table>
58 </td></tr></table>
59 </div>
60 <div id="plugin_scroll_panel" class="plugin_scroll_panel">
61 <embed name="chromoting" id="chromoting"
62 src="about://none" type="pepper-application/x-chromoting">
63 </div>
64 <div id="debug_log" class="debug_log">
65 </div>
66 </body>
67 </html>