Skip to content

Commit

Permalink
feat: turn off sidenav for all account related pages
Browse files Browse the repository at this point in the history
  • Loading branch information
ngurenyaga committed Jul 15, 2021
1 parent 087fadb commit 19583df
Show file tree
Hide file tree
Showing 13 changed files with 98 additions and 2 deletions.
9 changes: 9 additions & 0 deletions pepfar_mle/templates/account/account_inactive.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

{% block head_title %}{% trans "Account Inactive" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "Account Inactive" %}</h1>

Expand Down
2 changes: 1 addition & 1 deletion pepfar_mle/templates/account/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{% block content %}
<div class="row">
<div class="col-md-6 offset-md-3">
{% block inner %}{% endblock %}
{% block inner %}{% endblock inner %}
</div>
</div>
{% endblock %}
9 changes: 9 additions & 0 deletions pepfar_mle/templates/account/email.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@

{% block head_title %}{% trans "Account" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "E-mail Addresses" %}</h1>

Expand Down
8 changes: 8 additions & 0 deletions pepfar_mle/templates/account/email_confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@

{% block head_title %}{% trans "Confirm E-mail Address" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "Confirm E-mail Address" %}</h1>
Expand Down
10 changes: 10 additions & 0 deletions pepfar_mle/templates/account/password_change.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

{% block head_title %}{% trans "Change Password" %}{% endblock %}


{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "Change Password" %}</h1>

Expand Down
1 change: 0 additions & 1 deletion pepfar_mle/templates/account/password_reset.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
{# no modal #}
{% endblock page %}


{% block inner %}
<div class="container">
<div class="row justify-content-center">
Expand Down
10 changes: 10 additions & 0 deletions pepfar_mle/templates/account/password_reset_done.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@

{% block head_title %}{% trans "Password Reset" %}{% endblock %}


{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "Password Reset" %}</h1>

Expand Down
8 changes: 8 additions & 0 deletions pepfar_mle/templates/account/password_reset_from_key.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@
{% load crispy_forms_tags %}
{% block head_title %}{% trans "Change Password" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}

{% block inner %}
<h1>{% if token_fail %}{% trans "Bad Token" %}{% else %}{% trans "Change Password" %}{% endif %}</h1>

Expand Down
10 changes: 10 additions & 0 deletions pepfar_mle/templates/account/password_reset_from_key_done.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,16 @@
{% load i18n %}
{% block head_title %}{% trans "Change Password" %}{% endblock %}


{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "Change Password" %}</h1>
<p>{% trans 'Your password is now changed.' %}</p>
Expand Down
8 changes: 8 additions & 0 deletions pepfar_mle/templates/account/password_set.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@

{% block head_title %}{% trans "Set Password" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}

{% block inner %}
<h1>{% trans "Set Password" %}</h1>

Expand Down
9 changes: 9 additions & 0 deletions pepfar_mle/templates/account/signup_closed.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@

{% block head_title %}{% trans "Sign Up Closed" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}


{% block inner %}
<h1>{% trans "Sign Up Closed" %}</h1>

Expand Down
8 changes: 8 additions & 0 deletions pepfar_mle/templates/account/verification_sent.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

{% block head_title %}{% trans "Verify Your E-mail Address" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}

{% block inner %}
<h1>{% trans "Verify Your E-mail Address" %}</h1>

Expand Down
8 changes: 8 additions & 0 deletions pepfar_mle/templates/account/verified_email_required.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@

{% block head_title %}{% trans "Verify Your E-mail Address" %}{% endblock %}

{% block bodyclass %}
class="bg-gradient-primary"
{% endblock %}

{% block page %}
{# no modal #}
{% endblock page %}

{% block inner %}
<h1>{% trans "Verify Your E-mail Address" %}</h1>

Expand Down

0 comments on commit 19583df

Please sign in to comment.