Shovel Status

<% var extra_width = 0; if (vhosts_interesting) extra_width++; if (nodes_interesting) extra_width++; %>
<% if (shovels.length > 0) { %> <% if (nodes_interesting) { %> <% } %> <% if (vhosts_interesting) { %> <% } %> <% for (var i = 0; i < shovels.length; i++) { var shovel = shovels[i]; %> > <% if (nodes_interesting) { %> <% } %> <% if (vhosts_interesting) { %> <% } %> <% if (shovel.state == 'terminated') { %> <% } else { %> <% } %> <% if (shovel.type == 'dynamic') { %> <% } else { %> <% } %>
NameNodeVirtual HostState Source Destination Last changed Operations
<%= fmt_string(shovel.name) %> <%= fmt_string(shovel.type) %> <%= fmt_node(shovel.node) %><%= fmt_string(shovel.vhost, '') %><%= fmt_state('red', shovel.state) %> <%= shovel.timestamp %>
<%= fmt_string(shovel.reason) %>
<%= fmt_state('green', shovel.state) %> <%= fmt_string(shovel.src_protocol) %> <%= shovel.src_uri == undefined ? fmt_string(shovel.src_uri) : fmt_string(fmt_uri_with_credentials(shovel.src_uri)) %> <%= fmt_shovel_endpoint('src_', shovel) %> <%= fmt_string(shovel.dest_protocol) %> <%= shovel.dest_uri == undefined ? fmt_string(shovel.dest_uri) : fmt_string(fmt_uri_with_credentials(shovel.dest_uri)) %> <%= fmt_shovel_endpoint('dest_', shovel) %> <%= shovel.timestamp %>
<% } %>
<% } else { %>

... no shovels ...

<% } %>