From 0bb67ac188c6c3fb90d5e35ef5ce59316db1e1e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Martin=20Sl=C3=A5en?= Date: Thu, 9 Feb 2012 00:59:17 +0100 Subject: [PATCH] More frontend design. Started implementing the info view, which shall be able to present information about hosts stored in the databse. --- mdb/templates/base.html | 32 +++++++++++++++++++++----------- mdb/templates/host.django.html | 7 ++++++- mdb/templates/info.django.html | 2 +- 3 files changed, 28 insertions(+), 13 deletions(-) diff --git a/mdb/templates/base.html b/mdb/templates/base.html index d81dd2d..15421d9 100644 --- a/mdb/templates/base.html +++ b/mdb/templates/base.html @@ -5,6 +5,16 @@ + + @@ -32,24 +43,23 @@

MDBs new look-and-feel!

For some time now, I've have been thinking about giving mdb a face-lift. The day has finally come! MDB now has some extended features, where you can browse around and easily find what you are looking for in order to administer and manage hosts and networks at DNS.

The admin-interface has not yet been changed, so please live with it a little longer...

-

--
tormsl

+

tormsl

-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

-

View details »

+

Admin

+

For now, the admin interface is still the same. It works good enough, although being horribly slow at times. There are a few shortcommings which should have been fixed, but for now, it'll do. If you're interrested in helping with mdb development, please email us or let us otherwise know.

+

Go Admin »

-

Heading

-

Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.

-

View details »

+

MDB Features

+

The MDB database currently contains a fair number of hosts, which I for one, would like to do something fun with! I've already started extending MDB with a few scripts which checks the alive status of hosts, and are interrested in more of these small-but-handy scripts. If you have an idea, please mail us with your suggestion.

-

Heading

-

Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

-

View details »

+

Information

+

To view data from MDBs database, take a look at the info module. This module will present the data contained in the database as best as we can to make sure you get everything you want from MDB.

+

Enter »


diff --git a/mdb/templates/host.django.html b/mdb/templates/host.django.html index 3e8563a..7b387af 100644 --- a/mdb/templates/host.django.html +++ b/mdb/templates/host.django.html @@ -1,3 +1,8 @@ -{% extends "base.html" %} +{% extends "base-menu.html" %} {% block title %}MDB - Host{% endblock %} + + +{% block main-info %} +

Pick your host

+{% endblock %} diff --git a/mdb/templates/info.django.html b/mdb/templates/info.django.html index 03fe275..ea12897 100644 --- a/mdb/templates/info.django.html +++ b/mdb/templates/info.django.html @@ -1,3 +1,3 @@ -{% extends "base.html" %} +{% extends "base-menu.html" %} {% block title %}MDB - Info{% endblock %}