summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Reports/reports/templates/clients
diff options
context:
space:
mode:
authorJoey Hagedorn <hagedorn@mcs.anl.gov>2007-06-26 21:05:19 +0000
committerJoey Hagedorn <hagedorn@mcs.anl.gov>2007-06-26 21:05:19 +0000
commit197aa7c0997ae91b8b1210b81daf952d6c681cb2 (patch)
tree27e21db1ae081e7c1190ff42a602300b508255ba /src/lib/Server/Reports/reports/templates/clients
parent83d43c6957a5e392cc7d82f14329f8305ef3ca79 (diff)
downloadbcfg2-197aa7c0997ae91b8b1210b81daf952d6c681cb2.tar.gz
bcfg2-197aa7c0997ae91b8b1210b81daf952d6c681cb2.tar.bz2
bcfg2-197aa7c0997ae91b8b1210b81daf952d6c681cb2.zip
updates reporting system to filter out 'expired' clients--allowing retired machines to disappear from reports
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3373 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/reports/templates/clients')
-rw-r--r--src/lib/Server/Reports/reports/templates/clients/index.html19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/Server/Reports/reports/templates/clients/index.html b/src/lib/Server/Reports/reports/templates/clients/index.html
index f8dd9167c..cc33f72de 100644
--- a/src/lib/Server/Reports/reports/templates/clients/index.html
+++ b/src/lib/Server/Reports/reports/templates/clients/index.html
@@ -1,5 +1,11 @@
{% extends "base.html" %}
+{% block extra_header_info %}
+<script type="text/javascript" src="{% url Bcfg2.Server.Reports.reports.views.client_index %}../site_media/sorttable.js"></script>
+<script type="text/javascript" src="{% url Bcfg2.Server.Reports.reports.views.client_index %}../site_media/CalendarPopup.js"></script>
+<script language="JavaScript">var cal = new CalendarPopup();</script>
+{% endblock%}
+
{% block title %}Client Index Listing{% endblock %}
{% block pagebanner %}
@@ -10,6 +16,19 @@
{% endblock %}
{% block content %}
+<div>
+<span class="mini-date">
+<b>Enter date or use calendar popup: </b>
+<form name="timestamp-select">
+<input type="text" name="date1" value="{{timestamp_date}}" size=10>@
+<input type="text" name="time" value="{{timestamp_time}}" size=8>
+<a href="" onClick="cal.select(document.forms['timestamp-select'].date1,'anchor1','yyyy-MM-dd'); return false;"
+ name="anchor1" ID="anchor1">Calendar</A>
+<input type="button" name="go" value="Go" onClick="location.href='{% url Bcfg2.Server.Reports.reports.views.client_index %}'+document.forms['timestamp-select'].date1.value+'@'+document.forms['timestamp-select'].time.value;" />
+ | <input type="button" name="now" value="Now" onClick="location.href='{% url Bcfg2.Server.Reports.reports.views.client_index %}';"/>
+</form>
+</span><br/><br/><br/></div>
+
{% if client_list_a %}
<table><tr><td align="top">
<ul style="list-style-type:none;">