From 60030f92fbdee28cc06f59c65654cf7a9c6e70f4 Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Tue, 10 Oct 2006 15:23:17 +0000 Subject: minor updates to plugin and templates git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2427 ce84e21b-d406-0410-9b95-82705330c041 --- .../Hostbase/hostbase/webtemplates/edit.html | 3 +- .../Server/Hostbase/hostbase/webtemplates/new.html | 4 +- .../Hostbase/hostbase/webtemplates/remove.html | 88 ++++++++++++++++++++++ 3 files changed, 91 insertions(+), 4 deletions(-) create mode 100644 src/lib/Server/Hostbase/hostbase/webtemplates/remove.html (limited to 'src/lib/Server/Hostbase/hostbase/webtemplates') diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html b/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html index efc308def..0785b64e8 100644 --- a/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/edit.html @@ -46,13 +46,12 @@ div#interface{
- - + - + - + diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/remove.html b/src/lib/Server/Hostbase/hostbase/webtemplates/remove.html new file mode 100644 index 000000000..19c73b4f9 --- /dev/null +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/remove.html @@ -0,0 +1,88 @@ +{% extends "base.html" %} + +{% block pagebanner %} +
+

Are you sure you want to remove {{ host.hostname }}?

+
+
+{% endblock %} + +{% block sidebar %} +{% include "navbar" %} + +{% endblock %} + +{% block content %} + +
hostname {{ host.hostname }}
whatami
primary_user
(email address)
administrator
(email address)
location
expiration_date
+ + + + + + + + + + + + + + + + + + + {% if host.dhcp %} + + {% else %} + + {% endif %} + + {% if host.outbound_smtp %} + + {% else %} + + {% endif %} + + + + + + + + + {% for interface in interfaces %} + + {% ifnotequal interface.0.hdwr_type 'no' %} + + {% endifnotequal %} + + + {% for ip in interface.1 %} + + + {% endfor %} + {% endfor %} + + + +
hostname {{ host.hostname }}
whatami {{ host.whatami }}
netgroup {{ host.netgroup }}
class {{ host.security_class }}
support {{ host.support }}
csi {{ host.csi }}
printq {{ host.printq }}
dhcp y
n
outbound_smtp y
n
primary_user {{ host.primary_user }}
administrator {{ host.administrator }}
location {{ host.location }}
expiration_date {{ host.expiration_date }}

Interface

{{ interface.0.hdwr_type }}
mac_addr {{ interface.0.mac_addr }}
ip_addr {{ ip.ip_addr }}
comments + {{ host.comments|linebreaksbr }}
+
+see detailed DNS information for this host +

+this host is {{ host.status }}
+last update on {{ host.last }}
+ + + + +
+ +{% endblock %} + -- cgit v1.2.3-1-g7c22