From d14eef57303c4b9cef33fa97b71e12aa25e6bd0a Mon Sep 17 00:00:00 2001 From: Sol Jerome Date: Mon, 9 Nov 2009 23:51:56 +0000 Subject: Reports: Detailed Client List view from Tim Laszlo This commit adds a new view for the reporting system submitted by Tim Laszlo. It gives detailed information about clients in a table format with State, Good/Bad/Extra entry counts, time of last run, and server client last communicated with. Signed-off-by: Sol Jerome git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5563 ce84e21b-d406-0410-9b95-82705330c041 --- .../reports/templates/clients/detailed-list.html | 97 ++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 src/lib/Server/Reports/reports/templates/clients/detailed-list.html (limited to 'src/lib/Server/Reports/reports/templates/clients') diff --git a/src/lib/Server/Reports/reports/templates/clients/detailed-list.html b/src/lib/Server/Reports/reports/templates/clients/detailed-list.html new file mode 100644 index 000000000..139c22780 --- /dev/null +++ b/src/lib/Server/Reports/reports/templates/clients/detailed-list.html @@ -0,0 +1,97 @@ +{% extends "base.html" %} + +{% block title %}Detailed Client Listing{% endblock %} + +{% block extra_header_info %} + + + +{% endblock%} + +{% block pagebanner %} +
+

Detailed Client List

+
+
+{% endblock %} + +{% block content %} +
+
+ +Enter date or use calendar popup: +@ + +Calendar + + | +

+
+
+ +
+{% if entry_list %} + + + + + + + + + + + {% for entry in entry_list %} + + + + + + + + + + {% endfor %} +
NodeStateGoodBadExtraLast RunServer
{{ entry.client.name }}{{ entry.state }}{{ entry.goodcount }}{{ entry.badcount }}{{ entry.extra|length }}{{ entry.timestamp|date:"Y-m-d H:i" }} + {% if entry.server %} + {{ entry.server }} + {% else %} +   + {% endif %} +
+{% else %} +

No client records are available.

+{% endif %} +
+{% endblock %} -- cgit v1.2.3-1-g7c22