From 6a5966c021055bffcfba96640c98773b2ac202bc Mon Sep 17 00:00:00 2001 From: Rene Martin Date: Sun, 4 Apr 2010 22:07:57 +0100 Subject: Generic views --- .../webtemplates/hostbase/host_confirm_delete.html | 89 ++++++++++++++++++++++ .../hostbase/webtemplates/hostbase/log_detail.html | 23 ++++++ 2 files changed, 112 insertions(+) create mode 100644 src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/host_confirm_delete.html create mode 100644 src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/log_detail.html (limited to 'src') diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/host_confirm_delete.html b/src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/host_confirm_delete.html new file mode 100644 index 000000000..230d797c5 --- /dev/null +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/host_confirm_delete.html @@ -0,0 +1,89 @@ +{% extends "base.html" %} + +{% block pagebanner %} +
+

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

+
+
+{% endblock %} + +{% block sidebar %} +{% include "navbar" %} + +{% include "logout" %} +{% endblock %} + +{% block content %} + + + + + + + + + + + + + + + + + + + + + {% 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 {{ object.hostname }}
whatami {{ object.whatami }}
netgroup {{ object.netgroup }}
class {{ object.security_class }}
support {{ object.support }}
csi {{ object.csi }}
printq {{ object.printq }}
dhcp y
n
outbound_smtp y
n
primary_user {{ object.primary_user }}
administrator {{ object.administrator }}
location {{ object.location }}
expiration_date {{ object.expiration_date }}

Interface

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

+this host is {{ object.status }}
+last update on {{ object.last }}
+ +
+ + +
+ +{% endblock %} + diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/log_detail.html b/src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/log_detail.html new file mode 100644 index 000000000..8cd074742 --- /dev/null +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/hostbase/log_detail.html @@ -0,0 +1,23 @@ +{% extends "base.html" %} + +{% block pagebanner %} +
+

Change Logs for {{ object.hostname }}

+
+
+{% endblock %} + +{% block sidebar %} +{% include "navbar" %} +{% include "logout" %} +{% endblock %} + +{% block content %} + + + +{% endblock %} -- cgit v1.2.3-1-g7c22