Further template modifications

This commit is contained in:
2010-03-09 23:59:26 +00:00
parent 1b74e8f272
commit a6cbb2744b
7 changed files with 56 additions and 7 deletions

View File

@@ -0,0 +1,34 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
<title>404</title>
<link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen">
</head>
<body>
<div id="container">
<div id="header">
<h1>
Dreddit Auth Gateway - 404
</h1>
</div>
<div id="navigation">
<ul>
<li><a href="/">Home</a></li>
{% if request.user %}
<li><a href="/profile">Profile</a></li>
<li><a href="/logout">Logout</a></li>
{% else %}
<li><a href="/login">Login</a></li>
{% endif %}
</ul>
</div>
<div id="content">
<h1>404 - Derp not found</h1>
</div>
<div id="footer">
&nbsp;
</div>
</div>
</body>
</html>

View File

@@ -1,2 +1,3 @@
<img src="/static/img/ganked.jpg">
<p>Server has been podded, BRB</p>
<p>Oops, it seems the server got ganked, CONCORD have been informed.</p>

View File

@@ -3,6 +3,7 @@
<head>
<title></title>
<link rel="stylesheet" href="/static/css/style.css" type="text/css" media="screen">
{% block HeadTag %}{% endblock %}
</head>
<body>
<div id="container">
@@ -14,7 +15,12 @@
<div id="navigation">
<ul>
<li><a href="/">Home</a></li>
{% if request.user %}
<li><a href="/profile">Profile</a></li>
<li><a href="/logout">Logout</a></li>
{% else %}
<li><a href="/login">Login</a></li>
{% endif %}
</ul>
</div>
<div id="content">

View File

@@ -1,6 +1,8 @@
{% extends "base.html" %}
{% load i18n %}
{% block Content %}
{% block content %}
{% if account %}
<p>{% with account.username as username %}
Thank you for registering!<br />

View File

@@ -1,8 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block Headline %}Logged out{% endblock %}
{% block title %}Logged out{% endblock %}
{% block Content %}
{% block content %}
<h3>You have been logged out.</h3>
<p>Thank you for visiting.
</p>

View File

@@ -1,6 +1,8 @@
{% extends "base.html" %}
{% load i18n %}
{% block Content %}
{% block content %}
<p>Thank you for registering.
In order to prohibit misuse, you need to activate your account before you can use it. We sent an EMail with further instructions to the address you specified, please follow the link in that email to activate your account.
</p>

View File

@@ -1,8 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% block Headline %}Create Account{% endblock %}
{% block title %}Create Account{% endblock %}
{% block Content %}
{% block content %}
<h2>Create Account</h2>
<p>Please fill in the following form.</p>