diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2009-12-19 19:00:39 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2009-12-19 19:00:39 +0000 |
commit | b1eef95d3d00595afc53ac0f56c6627cf04fb2c8 (patch) | |
tree | cb9d09dd7cd533aaad92ba0d755d7b34cba0b132 /src/lib/Server/Reports/reports/templates/clients/index.html | |
parent | 9c36d72a687ee91e2df294d681df32f41f5c7e56 (diff) | |
download | bcfg2-b1eef95d3d00595afc53ac0f56c6627cf04fb2c8.tar.gz bcfg2-b1eef95d3d00595afc53ac0f56c6627cf04fb2c8.tar.bz2 bcfg2-b1eef95d3d00595afc53ac0f56c6627cf04fb2c8.zip |
Reports: Fix html validation errors for #798 (Patch from Thorsten Lockert)
Signed-off-by: Sol Jerome <solj@ices.utexas.edu>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5625 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/reports/templates/clients/index.html')
-rw-r--r-- | src/lib/Server/Reports/reports/templates/clients/index.html | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/lib/Server/Reports/reports/templates/clients/index.html b/src/lib/Server/Reports/reports/templates/clients/index.html index e928fbae6..708d52ad1 100644 --- a/src/lib/Server/Reports/reports/templates/clients/index.html +++ b/src/lib/Server/Reports/reports/templates/clients/index.html @@ -3,7 +3,7 @@ {% 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> +<script language="JavaScript" type="text/javascript">var cal = new CalendarPopup();</script> {% endblock%} {% block title %}Client Index Listing{% endblock %} @@ -19,18 +19,20 @@ <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;" +</span> +<form name="timestamp-select" action="{{path}}" method="get"> +<span class="mini-date"> +<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> +</span></form> +<br/><br/><br/></div> {% if client_list_b %} -<table><tr><td align="top"> +<table><tr><td valign="top"> <ul style="list-style-type:none;"> {% for client in client_list_b %} <li><div class="{{client.current_interaction.state}}-lineitem"> @@ -38,7 +40,7 @@ </div></li> {% endfor %} </ul> -</td><td align="top"> +</td><td valign="top"> <ul style="list-style-type:none;"> {% if client_list_a %} {% for client in client_list_a %} |