From 2c2766fe6d404b63729d34874aa0b18a87dd7d43 Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Thu, 30 Nov 2006 20:13:52 +0000 Subject: tweaks for a more standard installation git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2554 ce84e21b-d406-0410-9b95-82705330c041 --- .../Hostbase/hostbase/webtemplates/edit.html | 169 +++++++++------------ 1 file changed, 68 insertions(+), 101 deletions(-) (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates/edit.html') diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html b/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html index d3bb848ca..297a3860b 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html @@ -45,16 +45,12 @@ div#interface{ } -
+ +
- - - - - - - - - - - - - - - - - - - - + {% else %} - - {% endif %} - - - - - - - - + + {% endif %}
+ +
+ +
+ +
+ + YYYY-MM-DD
{% for interface in interfaces %} - - - + {% else %} - - {% endif %} - - + + {% endif %}
+ + + remove
{% for ip in interface.1 %} - - + + + remove
{% endfor %} -
hostname
whatami + +
+
netgroup +
+ -
class +
+
support +
+
csi
printq
outbound_smtp +
+ +
+ +
+ {% if host.outbound_smtp %} -
primary_user
administrator
location
expiration_date YYYY-MM-DD

Interface -

- {% for choice in interface.0.TYPE_CHOICES %} - {% ifequal interface.0.hdwr_type choice.0 %} - {{ choice.1 }} - {% else %} - {{ choice.1 }} - {% endifequal %} - {% endfor %} -
dhcp + +
+ {% if interface.0.dhcp %} -
mac_addr - remove -
ip_addr - - remove -
- - - - - - -
ip_addr
+ +
- Add a New IP Address - - - - + Add a New IP Address
{% endfor %} -
- - - - - - - + {% else %} - - {% endif %} - - - - -

Interface

+ + {{ choice.1 }} +
dhcp +
+ {% if host.dhcp %} -
mac_addr
ip_addr
+ + {% endif %}
+ +
+ +
-Add a New Interface +Add a New Interface
- - - - - - -
comments
+ +
edit detailed DNS information for this host
this host is @@ -217,7 +183,8 @@ this host is {% endfor %}
last update on {{ host.last }}
-

+ +

{% endblock %} -- cgit v1.2.3-1-g7c22