Skip to content
This repository has been archived by the owner on Mar 28, 2021. It is now read-only.

Commit

Permalink
styled the Edit Password page
Browse files Browse the repository at this point in the history
  • Loading branch information
argoncobalt committed Mar 11, 2016
1 parent b59f205 commit 2356afb
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 11 deletions.
2 changes: 1 addition & 1 deletion media/css/main.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion media/css/spokehub.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion media/css/spokehub.css.map

Large diffs are not rendered by default.

12 changes: 11 additions & 1 deletion media/sass/_userpages.scss
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,24 @@ ul.errorlist {
margin-top: -1.5rem;
}

ul.errorList li {
ul.errorlist {
margin-bottom: 0;
}

ul.errorlist li {
margin-bottom: 5px;
}

ul.errorlist.nonfield {
display: block;
}

@media only screen and (max-width: 1023px) and (min-width: 768px) {
.user-page .archives-post {
margin-bottom: 0;
}
}

@media only screen and (min-width: 1024px) {
.user-page .form-container {
width: 768px;
Expand Down
6 changes: 5 additions & 1 deletion spokehub/templates/userena/password_complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,9 @@
{% block content_title %}<h2>{% trans "Your password has been changed" %}.</h2>{% endblock %}

{% block content %}
<p>{% trans "From now on you can use your new password to signin" %}.</p>
<div id="site-wrapper">
<div class="content-wrapper content-container user-page">
<p>{% trans "From now on you can use your new password to sign in" %}.</p>
</div>
</div>
{% endblock %}
14 changes: 8 additions & 6 deletions spokehub/templates/userena/password_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,16 @@
{% block content %}
<div id="site-wrapper">
<div class="content-wrapper content-container user-page">
<div class="page-heading"><h2><b>Change Password</b></h2></div>
<div class="page-heading clearfix">
<ul class="archives-post">
<li><a href="{% url 'userena_profile_detail' user.username %}"><i class="mdi mdi-account"></i> View Profile</a></li>
<li><a href="{% url 'userena_profile_edit' user.username %}"><i class="mdi mdi-pencil"></i> Edit Profile</a></li>
<li><a href="{% url 'userena_email_change' user.username %}"><i class="mdi mdi-email"></i> Change Email</a></li>
</ul>
<h2><b>Change Password</b></h2>
</div>
<div class="form-container">
<form action="" method="post" id="password_change_form">
<ul id="box-nav">
<li class="first"><a href="{% url 'userena_profile_detail' user.username %}"><span>{% trans 'View profile' %}</span></a></li>
<li><a href="{% url 'userena_profile_edit' user.username %}">{% trans "Edit profile" %}</a></li>
<li class="last"><a href="{% url 'userena_email_change' user.username %}">{% trans "Change email" %}</a></li>
</ul>
<fieldset>
{% csrf_token %}
{{ form.as_p }}
Expand Down

0 comments on commit 2356afb

Please sign in to comment.