mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 23:02:19 +00:00
Further template modifications
This commit is contained in:
@@ -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">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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 />
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user