Reorganise the file structure into a project tree

This commit is contained in:
2011-03-11 12:58:50 +00:00
parent 58b1691638
commit 3686aa7523
226 changed files with 7 additions and 5 deletions

View File

@@ -0,0 +1,19 @@
{% extends "base.html" %}
{% load i18n %}
{% block content %}
{% if account %}
<p>{% with account.username as username %}
Thank you for registering!<br />
From now on, you can login with your username ({{ username }}).<br/>
<br/>
<a href="{% url sso.views.profile %}">Back</a>
{% endwith %}
</p>
{% else %}
<p>Either the link was invalid, or you didn't activate your account within {{ expiration_days }} days after the registration. Please register again.</p>
{% endif %}
{% endblock %}

View File

@@ -0,0 +1,13 @@
{% load i18n %}
Hello,
someone registered to {{ site }} and specified this EMail address. If this is correct, please follow this link to activate the account:
https://{{ site|slice:":-1" }}{% url registration_activate activation_key=activation_key %}
In case you didn't register, please ignore this Mail. The account will be deleted in {{ expiration_days }} days and you will not receive any more mail from us.
Regards,
Matalok
Auth Gateway Admin

View File

@@ -0,0 +1 @@
Dreddit Auth Gateway Account Validation

View File

@@ -0,0 +1,17 @@
{% load mumble_extras %}
{% load i18n %}
{% block Headline %}{% trans "Imprint" %}{% endblock %}
{% block Content %}
<div class="rahmen">
<p>
This is <a href="http://bitbucket.org/Svedrin/mumble-django/">Mumble-Django</a>, a Murmur config application for <a href="http://www.djangoproject.com/" target="_blank">Django</a> that configures a Mumble server. It is able to create and remove server instances, start/stop them, and configure them.<br />
<br />
Furthermore, registered Django users can sign up for user accounts on the configured vservers and change their registration names and passwords, and Django admins can manage server admins through the webinterface.<br />
<br />
It is being developed by Michael "Svedrin" Ziegler.
</p>
<p>All JavaScript elements were implemented using <a href="http://www.extjs.com/" target="_blank">the ExtJS JavaScript library.</a></p>
</div>
{% endblock %}

View File

@@ -0,0 +1,37 @@
{% extends "base.html" %}
{% block content %}
{% load i18n %}
{% block HeadTag %}
<script type="text/javascript">
Ext.onReady( function(){
Ext.fly("id_username").focus();
} );
</script>
{% endblock %}
{% block Content %}
<h2>Login</h2>
{% if form.errors %}
<p>Username or password don't exist or are not correct. Please try again.</p>
{% endif %}
<form method="post" action=".">
<table>
<tr><td>{{ form.username.label_tag }}</td><td>{{ form.username }}</td></tr>
<tr><td>{{ form.password.label_tag }}</td><td>{{ form.password }}</td></tr>
</table>
<br />
{% csrf_token %}
<input type="submit" value="login" />
<input type="hidden" name="next" value="{{ next }}" />
</form>
<ul>
<li>No Login? You can <a href="{% url registration.views.register %}">sign up!</a></li>
<li>Forgot the password? You can <a href="{% url django.contrib.auth.views.password_reset %}">reset it!</a></li>
</ul>
{% endblock %}
{% endblock %}

View File

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

View File

@@ -0,0 +1,10 @@
{% extends "base.html" %}
{% load i18n %}
{% 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>
{% endblock %}

View File

@@ -0,0 +1,19 @@
{% extends "base.html" %}
{% load i18n %}
{% block title %}Create Account{% endblock %}
{% block content %}
<h2>Create Account</h2>
<p>Please fill in the following form.</p>
<form method="post" action=".">
<table>
{{ form }}
{% csrf_token %}
</table>
<br />
<input type="submit" value="{% trans "Create Account" %}" />
</form>
{% endblock %}