summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/lib/Server/Hostbase/hostbase/webtemplates/index.html4
-rw-r--r--src/lib/Server/Hostbase/templates/dhcpd.conf.head5
-rw-r--r--src/lib/Server/Hostbase/urls.py1
3 files changed, 8 insertions, 2 deletions
diff --git a/src/lib/Server/Hostbase/hostbase/webtemplates/index.html b/src/lib/Server/Hostbase/hostbase/webtemplates/index.html
index ca9a250da..0050b9ef2 100644
--- a/src/lib/Server/Hostbase/hostbase/webtemplates/index.html
+++ b/src/lib/Server/Hostbase/hostbase/webtemplates/index.html
@@ -7,8 +7,8 @@
<br/>
{% endblock %}
{% block sidebar %}
-<a href="/login/" class="sidebar">login to hostbase</a>
-<a href="/hostbase/" class="sidebar">search for hosts</a>
+<a href="/login/" class="sidebar">login to hostbase</a><br>
+<a href="/hostbase/" class="sidebar">search for hosts</a><br>
<a href="/zones/" class="sidebar">zone file information</a>
{% endblock %}
{% block content %}
diff --git a/src/lib/Server/Hostbase/templates/dhcpd.conf.head b/src/lib/Server/Hostbase/templates/dhcpd.conf.head
new file mode 100644
index 000000000..a3d19547e
--- /dev/null
+++ b/src/lib/Server/Hostbase/templates/dhcpd.conf.head
@@ -0,0 +1,5 @@
+#
+# dhcpd.conf
+#
+# Configuration file for ISC dhcpd
+#
diff --git a/src/lib/Server/Hostbase/urls.py b/src/lib/Server/Hostbase/urls.py
index dd3d34eaf..e4ed42996 100644
--- a/src/lib/Server/Hostbase/urls.py
+++ b/src/lib/Server/Hostbase/urls.py
@@ -24,6 +24,7 @@ urlpatterns = patterns('Hostbase.hostbase.views',
#fixme: this is a temp. kludge to handle static serving of css, img, js etc...
#a better solution is to use mod_python/apache directives for the static serving
+os.environ['bcfg_media_root'] = '/usr/lib/python2.4/site-packages/Hostbase/media'
urlpatterns += patterns('',
(r'^site_media/(.*)$',