]> git.proxmox.com Git - ceph.git/blob - ceph/src/pybind/mgr/dashboard/clients.html
update sources to v12.1.1
[ceph.git] / ceph / src / pybind / mgr / dashboard / clients.html
1 {% extends "base.html" %}
2
3 {% block content %}
4
5 <script>
6 $(document).ready(function(){
7 // Pre-populated initial data at page load
8 var content_data = {{ content_data }};
9
10 var refresh = function() {
11 $.get("/clients_data/" + content_data.fscid + "/", function(data) {
12 content_data.clients = data;
13 setTimeout(refresh, 5000);
14 });
15 };
16
17 console.log(content_data);
18
19 rivets.bind($("div#content"), content_data);
20 setTimeout(refresh, 5000);
21 });
22 </script>
23
24
25 <section class="content-header">
26 <h1>
27 Clients of <a rv-href="fs_url">{fs_name}</a>
28 </h1>
29 </section>
30
31 <section class="content">
32 <div class="box">
33 <div class="box-body">
34 <table class="table table-bordered">
35 <thead>
36 <tr>
37 <th>ID</th>
38 <th>Type</th>
39 <th>State</th>
40 <th>Version</th>
41 <th>Host</th>
42 <th>Root</th>
43 </tr>
44 </thead>
45 <tbody>
46 <tr rv-each-client="clients">
47 <td>{client.id}</td>
48 <td>{client.type}</td>
49 <td>{client.state}</td>
50 <td>{client.version}</td>
51 <td>{client.hostname}</td>
52 <td>{client.root}</td>
53 </tr>
54 </tbody>
55 </table>
56 </div>
57 </div>
58
59
60 </section>
61 <!-- /.content -->
62
63 {% endblock %}