summaryrefslogtreecommitdiffstats
path: root/remoting/client/appengine/hostlist.html
blob: 2f5eb951fba22711e3890ab5855d57f511fd5fcc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!--
Copyright (c) 2011 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="static_files/base.js"></script>
    <script type="text/javascript" src="static_files/client.js"></script>
    <link rel="stylesheet" type="text/css" href="static_files/main.css" />
    <title>Remote Access Host List</title>
  </head>
  <body class="hostlist_body"
{% ifnotequal chromoting_token None %}
      onload="populateHostList();"
{% endifnotequal %}
>

    <h1>Remote Access</h1>

    <div id="auth_status" class="authstatus">
    <p>Chromoting Token:
{% ifnotequal chromoting_token None %}
      OK (<a href="/auth/clear_chromoting_token">clear token</a>)
{% else %}
      <a href="/auth/chromoting_auth">Not Authenticated</a>
{% endifnotequal %}
    <p>Xmpp Token:
{% ifnotequal xmpp_token None %}
      OK (<a href="/auth/clear_xmpp_token">clear token</a>)
{% else %}
      <a href="/auth/xmpp_auth">Not Authenticated</a>
{% endifnotequal %}
    </div>
    <hr />

    <p class="reload">
    <a href="javascript:populateHostList()">Reload host list</a>
    </p>

    <input type=checkbox name="show_offline" id="show_offline"
      onClick="updateShowOfflineHosts(this)"/>Show offline hosts

    <div id="hostlist_div" class="hostlist">
      <p class='message'>Initializing...</p>
    </div>

    <br />
  </body>
</html>