summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/reports/templates/displays/timing.html
blob: 47accb2cb754b05b65fa8c9ed4f5c84166bfe54c (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
{% extends "base-timeview.html" %}
{% load bcfg2_tags %}

{% 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 %}