diff options
author | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2007-06-25 19:34:56 +0000 |
---|---|---|
committer | Joey Hagedorn <hagedorn@mcs.anl.gov> | 2007-06-25 19:34:56 +0000 |
commit | 5dc9881ac52e2a6cb9c326931a0e5c92f138c74f (patch) | |
tree | b7fd71e52005c1d179d2c97a739d3a67952da3f2 /src/lib/Server/Reports/reports/templates/displays/timing.html | |
parent | fed36b44453477c31626e77005bb22e95110798d (diff) | |
download | bcfg2-5dc9881ac52e2a6cb9c326931a0e5c92f138c74f.tar.gz bcfg2-5dc9881ac52e2a6cb9c326931a0e5c92f138c74f.tar.bz2 bcfg2-5dc9881ac52e2a6cb9c326931a0e5c92f138c74f.zip |
Added UI to disable old hosts, hopefully made it possible to install app in non-root of webserver
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3365 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Reports/reports/templates/displays/timing.html')
-rw-r--r-- | src/lib/Server/Reports/reports/templates/displays/timing.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/Server/Reports/reports/templates/displays/timing.html b/src/lib/Server/Reports/reports/templates/displays/timing.html index e9020b8ef..8586de2cf 100644 --- a/src/lib/Server/Reports/reports/templates/displays/timing.html +++ b/src/lib/Server/Reports/reports/templates/displays/timing.html @@ -1,8 +1,8 @@ {% extends "base.html" %} {% block extra_header_info %} -<script type="text/javascript" src="/site_media/sorttable.js"></script> -<script type="text/javascript" src="/site_media/CalendarPopup.js"></script> +<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 %}Display Index Listing{% endblock %} @@ -21,8 +21,8 @@ <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='/displays/timing/'+document.forms['timestamp-select'].date1.value+'@'+document.forms['timestamp-select'].time.value;" /> - | <input type="button" name="now" value="Now" onClick="location.href='/displays/timing/';"/> +<input type="button" name="go" value="Go" onClick="location.href='{% url Bcfg2.Server.Reports.reports.views.display_timing %}'+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.display_timing %}';"/> </form> </span><br/><br/><br/></div> <center> @@ -38,7 +38,7 @@ </tr> {% for dict_unit in stats_list %} <tr> - <td class="sortable"><a href="/clients/{{dict_unit.name}}/">{{dict_unit.name}}</a></td> + <td class="sortable"><a href="{% url Bcfg2.Server.Reports.reports.views.client_detail dict_unit.name%}/">{{dict_unit.name}}</a></td> <td class="sortable">{{dict_unit.parse}}</td> <td class="sortable">{{dict_unit.probe}}</td> <td class="sortable">{{dict_unit.inventory}}</td> |