blob: 8ac5e49bbb351ee9e9828bd4f5722176fbca06fb (
plain)
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
|
{% extends "base-timeview.html" %}
{% load bcfg2_tags %}
{% comment %}
This is needed for Django versions less than 1.5
{% endcomment %}
{% load url from future %}
{% block title %}Bcfg2 - Performance Metrics{% endblock %}
{% block pagebanner %}Performance Metrics{% endblock %}
{% block extra_header_info %}
{% endblock%}
{% block content %}
<div class='client_list_box'>
{% if metrics %}
<table cellpadding="3">
<tr id='table_list_header' class='listview'>
<td>Name</td>
<td>Parse</td>
<td>Probe</td>
<td>Inventory</td>
<td>Install</td>
<td>Config</td>
<td>Total</td>
</tr>
{% for metric in metrics|dictsort:"name" %}
<tr class='{% cycle listview,listview_alt %}'>
<td><a style='font-size: 100%'
href='{% url "reports_client_detail" hostname=metric.name %}'>{{ metric.name }}</a></td>
{% for mitem in metric|build_metric_list %}
<td>{{ mitem }}</td>
{% endfor %}
</tr>
{% endfor %}
</table>
{% else %}
<p>No metric data available</p>
{% endif %}
</div>
{% endblock %}
|