Skip to content

Commit

Permalink
edited template for edited account page and registration page
Browse files Browse the repository at this point in the history
  • Loading branch information
mayzaoliveira committed Jul 31, 2011
1 parent ff44599 commit 4c294c8
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 6 deletions.
2 changes: 1 addition & 1 deletion startdust_website/panel/templates/panel/base.html
Expand Up @@ -24,7 +24,7 @@ <h1><a href="/">stardust</a></h1>
<div class="user">Hi {{ request.user }}</div>
<ul>
<li><a href="/panel/">your projects</a></li>
<li><a href="/">edit account</a></li>
<li><a href="/accounts/password/change/">edit account</a></li>
<li><a href="/auth/logout/">logout</a></li>
</ul>
</div>
Expand Down
10 changes: 10 additions & 0 deletions startdust_website/templates/registration/password_change_done.html
@@ -0,0 +1,10 @@
{% extends "panel/base.html" %}

{% block content %}
<h2>Password change</h2>

<p>Password changed! Now you can continue to contribute!</p>
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
{% endblock %}
24 changes: 19 additions & 5 deletions startdust_website/templates/registration/password_change_form.html
@@ -1,5 +1,19 @@
<form method="post" action="">
{% csrf_token %}
{{ form.as_p }}
<p><input type="submit" value="Alterar" /></p>
</form>
{% extends "panel/base.html" %}

{% block form %}
<link rel="stylesheet" href="/static/css/form.css" type="text/css" />
{% endblock %}

{% block content %}
<h2>Password change</h2>
<div class="form">
<form method="post" action="">
{% csrf_token %}
{{ form.as_p }}
<p><input type="submit" value="Alterar" /></p>
</form>
</div>
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
{% endblock %}
Expand Up @@ -14,4 +14,6 @@ <h2>Registration</h2>
</form>
</div>
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
{% endblock %}

0 comments on commit 4c294c8

Please sign in to comment.