diff options
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 %} |