clean up the views structure. add an area for navigation

This commit is contained in:
Jeffrey Forman 2011-04-17 22:32:17 -04:00
parent 5c7d18deb7
commit 64f32082f8
2 changed files with 13 additions and 23 deletions

View File

@ -1,18 +1,22 @@
<html>
{% block header %}
<head>
<title>Binder DNS Admin Tool</title>
<title>Binder DNS Admin</title>
<link rel="stylesheet" type="text/css" href="/static/style.css" />
</head>
{% endblock header %}
<body>
{% block errors %}
<<<<<<< HEAD
=======
{% block navigation %}
<a href="/">Home</a>
<hr>
{% endblock navigation %}
>>>>>>> 885b106... Handle errors when trying to retrieve zone list from NS server
{% block pageheader %}
{% endblock pageheader %}
<body>
{% if errors %}
{% block errors %}
<div class="errors">
Errors were encountered:
<br>
@ -23,23 +27,9 @@
<br>
{{ error_context }}
{% endif %}
<<<<<<< HEAD
<hr>
{% endif %}
{% endblock errors %}
=======
<hr>
{% endif %}
{% endblock errors %}
<br>
{% block body %}
>>>>>>> 885b106... Handle errors when trying to retrieve zone list from NS server
<br>
{% block body %}
{% endblock body %}

View File

@ -1,9 +1,9 @@
{% extends "base.htm" %}
{% block pageheader %}
Server List:
{% endblock pageheader %}
{% block body %}
DNS Server List:
<br>
<ul>
{% for current_server in server_list %}
<li> <a href="/info/{{ current_server }}/"> {{ current_server }} </li>