From 87d3eb7c7c29fdaa12f1620aecb504db2d8b846a Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Mon, 11 Sep 2006 22:26:31 +0000 Subject: more web changes git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2242 ce84e21b-d406-0410-9b95-82705330c041 --- .../Hostbase/hostbase/webtemplates/host.html | 160 +++++---------------- 1 file changed, 33 insertions(+), 127 deletions(-) (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/host.html') diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/host.html b/src/lib/Server/Hostbase/hostbase/webtemplates/host.html index 937d0115d..1a89ea6c1 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/host.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/host.html @@ -1,104 +1,40 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - -
Argonne National Laboratory
- Mathematics - and Computer Science
- - - - - - - - - - - - - - - - - - - - - - - - - -
-
MCS - Home > - -
- - - - - - -
+{% extends "base.html" %} + +{% block pagebanner %} +
+

{{ host.hostname }}

+
+
+{% endblock %} + +{% block sidebar %} + +{% endblock %} + +{% block content %} + - + - + - + - + - + - + - + {% if host.dhcp %} @@ -121,19 +57,19 @@ {% for interface in interfaces %} - {% ifnotequal interface.hdwr_type 'no' %} - - {% endif %} + {% ifnotequal interface.0.hdwr_type 'no' %} + + {% endifnotequal %} - - {% for ip in ips.{{ interface.id }} %} + + {% for ip in interface.1 %} {% endfor %} {% endfor %} @@ -143,35 +79,5 @@

this host is {{ host.status }}
last update on {{ host.last }}
- - -
hostname $host.hostname
{{ host.hostname }}
whatami $host.whatami
{{ host.whatami }}
netgroup $host.netgroup
{{ host.netgroup }}
class $host.security_class
{{ host.security_class }}
support $host.support
{{ host.support }}
csi $host.csi
{{ host.csi }}
printq $host.printq
{{ host.printq }}
dhcp y
{{ host.expiration_date }}

Interface

{{ interface.hdwr_type }}

{{ interface.0.hdwr_type }}
mac_addr {{ interface.mac_addr }}
{{ interface.0.mac_addr }}
ip_addr {{ ip.ip_addr }}
comments - {% for line in host.comments.split("\n") %} + {% for line in comments %} {{ line }}
{% endfor %}
- - - - - - - - - -

- - - - - - -
U.S. Department of EnergyThe University of ChicagoOffice of Science - Department of Energy
- - - -
Privacy & Security Notice | Contact Us
- - +{% endblock %} \ No newline at end of file -- cgit v1.2.3-1-g7c22