clean up the views structure. add an area for navigation
This commit is contained in:
parent
5c7d18deb7
commit
64f32082f8
|
@ -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 %}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue