From c7d0b780c22fb97946cc10454509299f6322ef21 Mon Sep 17 00:00:00 2001 From: Ken Raffenetti Date: Tue, 3 Jul 2007 18:04:32 +0000 Subject: new web templates git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3415 ce84e21b-d406-0410-9b95-82705330c041 --- .../Hostbase/hostbase/webtemplates/copy.html | 122 +++++++++++++++++++++ .../Hostbase/hostbase/webtemplates/logviewer.html | 27 +++++ 2 files changed, 149 insertions(+) create mode 100644 src/lib/Server/Hostbase/hostbase/webtemplates/copy.html create mode 100644 src/lib/Server/Hostbase/hostbase/webtemplates/logviewer.html (limited to 'src') diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/copy.html b/src/lib/Server/Hostbase/hostbase/webtemplates/copy.html new file mode 100644 index 000000000..aeb67587f --- /dev/null +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/copy.html @@ -0,0 +1,122 @@ +{% extends "base.html" %} + +{% block pagebanner %} +
+

new host information

+
+
+{% endblock %} + +{% block sidebar %} +search hostbase +{% include "logout" %} +{% endblock %} + +{% block content %} + +
+ + + + + + + + + + + + + + + + + + + + + + {% else %} + + {% endif %} + + + + + + + + + + + + + + + + + + + + + + + + +
hostname
whatami + +
netgroup + +
class +
support +
csi
printq
outbound_smtp + {% if host.outbound_smtp %} +
primary_user (email address)
administrator (email address)
location
expiration_date YYYY-MM-DD

Interface

+ {% for choice in TYPE_CHOICES %} + {{ choice.1 }} + {% endfor %} +
dhcp +
mac_addr
ip_addr

Interface

+ {% for choice in TYPE_CHOICES %} + {{ choice.1 }} + {% endfor %} +
dhcp +
mac_addr
ip_addr
comments
+
+

+

+ +{% endblock %} + diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/logviewer.html b/src/lib/Server/Hostbase/hostbase/webtemplates/logviewer.html new file mode 100644 index 000000000..7f2b60b8c --- /dev/null +++ b/src/lib/Server/Hostbase/hostbase/webtemplates/logviewer.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} + +{% block pagebanner %} +
+

Change Logs for {{ hostname }}

+
+
+{% endblock %} + +{% block sidebar %} +{% include "navbar" %} +{% include "logout" %} +{% endblock %} + +{% block content %} + +{% if logs %} + +{% else %} +There are no logs for this host
+{% endif %} + +{% endblock %} \ No newline at end of file -- cgit v1.2.3-1-g7c22