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 52 53 54 55 56 57
|
<h1>Federation Upstream: <b><%= fmt_string(upstream.name) %></b></h1>
<div class="section">
<h2>Overview</h2>
<div class="hider">
<table class="facts">
<tr>
<th>Virtual Host</th>
<td><%= fmt_string(upstream.vhost) %></td>
</tr>
<tr>
<th>URI</th>
<td><%= fmt_string(upstream.value.uri) %></td>
</tr>
<tr>
<th>Expires</th>
<td><%= fmt_time(upstream.value.expires, 'ms') %></td>
</tr>
<tr>
<th>Message TTL</th>
<td><%= fmt_time(upstream.value['message-ttl'], 'ms') %></td>
</tr>
<tr>
<th>Max Hops</th>
<td><%= fmt_string(upstream.value['max-hops']) %></td>
</tr>
<tr>
<th>Prefetch Count</th>
<td><%= fmt_string(upstream.value['prefetch-count']) %></td>
</tr>
<tr>
<th>Reconnect Delay</th>
<td><%= fmt_time(upstream.value['reconnect-delay'], 's') %></td>
</tr>
<tr>
<th>Ack Mode</th>
<td><%= fmt_string(upstream.value['ack-mode']) %></td>
</tr>
<tr>
<th>Trust User-ID</th>
<td><%= fmt_boolean(upstream.value['trust-user-id']) %></td>
</tr>
</table>
</div>
</div>
<div class="section-hidden">
<h2>Delete this upstream</h2>
<div class="hider">
<form action="#/fed-parameters" method="delete" class="confirm">
<input type="hidden" name="component" value="federation-upstream"/>
<input type="hidden" name="vhost" value="<%= fmt_string(upstream.vhost) %>"/>
<input type="hidden" name="name" value="<%= fmt_string(upstream.name) %>"/>
<input type="submit" value="Delete this upstream"/>
</form>
</div>
</div>
|