/usr/share/flower/templates/broker.html is in python-flower 0.7.0+dfsg-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | {% extends "base.html" %}
{% block navbar %}
{% module Template("navbar.html", active_tab="broker", absolute_url=absolute_url) %}
{% end %}
{% block container %}
<div class="container-fluid">
<div class="page-header">
<h3><small>Broker:</small> {{ broker.url }}</h3>
</div>
<table id="queue-table" class="table table-bordered table-striped">
<caption>Queues</caption>
<thead>
<tr>
<th>Name</th>
<th>Messages</th>
<th>Unacked</th>
<th>Ready</th>
<th>Consumers</th>
<th>Idle since</th>
</tr>
</thead>
<tbody>
{% for queue in broker.queues %}
<tr id="{{ url_escape(queue['name']) }}">
<td>{{ queue['name'] }}</td>
<td>{{ queue.get('messages', 'N/A') }}</td>
<td>{{ queue.get('messages_unacknowledged', 'N/A') }}</td>
<td>{{ queue.get('messages_ready', 'N/A') }}</td>
<td>{{ queue.get('consumers', 'N/A') }}</td>
<td>{{ queue.get('idle_since', 'N/A') }}</td>
</tr>
{% end %}
</tbody>
</table>
</div>
{% end %}
|