~ubuntu-branches/ubuntu/saucy/rabbitmq-server/saucy

« back to all changes in this revision

Viewing changes to plugins-src/rabbitmq-management/priv/www/js/tmpl/connections.ejs

  • Committer: Package Import Robot
  • Author(s): Emile Joubert
  • Date: 2012-11-19 11:42:31 UTC
  • mfrom: (0.2.18) (0.1.32 sid)
  • Revision ID: package-import@ubuntu.com-20121119114231-hvapkn4akng09etr
Tags: 3.0.0-1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
<table class="list">
6
6
 <thead>
7
7
  <tr>
8
 
   <th colspan="<% if (nodes_interesting) { %>6<% } else { %>5<% } %>">Network</th>
 
8
   <th colspan="<% if (nodes_interesting) { %>7<% } else { %>6<% } %>">Network</th>
9
9
   <th colspan="<% if (vhosts_interesting) { %>5<% } else { %>4<% } %>">Overview</th>
10
10
  </tr>
11
11
  <tr>
 
12
    <th><%= fmt_sort('Name',         'name') %></th>
12
13
    <th><%= fmt_sort('Protocol',     'protocol') %></th>
13
 
    <th><%= fmt_sort('Name',         'name') %></th>
 
14
    <th><%= fmt_sort('Client',       'properties') %></th>
14
15
<% if (nodes_interesting) { %>
15
16
    <th><%= fmt_sort('Node',         'node') %></th>
16
17
<% } %>
31
32
    var connection = connections[i];
32
33
%>
33
34
  <tr<%= alt_rows(i)%>>
 
35
    <td><%= link_conn(connection.name) %></td>
34
36
    <td>
35
37
      <%= connection.protocol %>
36
38
      <% if (connection.ssl) { %>
37
39
        <sub>SSL</sub>
38
40
      <% } %>
39
41
    </td>
40
 
    <td><%= link_conn(connection.name) %></td>
 
42
    <td><%= fmt_client_name(connection.client_properties) %></td>
41
43
<% if (nodes_interesting) { %>
42
 
    <td><%= connection.node %></td>
 
44
    <td><%= fmt_node(connection.node) %></td>
43
45
<% } %>
44
46
    <td><%= fmt_rate_bytes(connection, 'recv_oct') %></td>
45
47
    <td><%= fmt_rate_bytes(connection, 'send_oct') %></td>
46
 
    <td><% if (connection.timeout != undefined) { %><%= connection.timeout %>s<% } %></td>
 
48
    <td><%= fmt_time(connection.timeout, 's') %></td>
47
49
    <td><%= connection.channels %></td>
48
50
<% if (vhosts_interesting) { %>
49
51
    <td><%= fmt_string(connection.vhost) %></td>
50
52
<% } %>
51
53
    <td><%= fmt_string(connection.user) %></td>
52
 
    <td class="status"><%= fmt_connection_state(connection) %></td>
 
54
    <td><%= fmt_connection_state(connection) %></td>
53
55
  </tr>
54
56
  <% } %>
55
57
 </tbody>