-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: styling account templates (#15)
- Loading branch information
1 parent
6563216
commit ef4eda1
Showing
23 changed files
with
248 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{% extends 'maps/base.html' %} | ||
{% load static %} | ||
{% load i18n %} | ||
{% block bodyclass %}account{% endblock %} | ||
{% block content %} | ||
<div class="page-header"> | ||
<p><a class="link--breadcrumb" href="{% url 'index' %}">{% trans "Home" %}</a></p> | ||
<h1>{% trans 'Account settings' %}</h1> | ||
</div> | ||
<div class="stack"> | ||
<p><strong>{% trans 'Email' %}</strong></p> | ||
<div class="box"> | ||
{{ user.email }}<br /> | ||
<a href="{% url 'account_email' %}">{% trans 'Manage email addresses' %}</a> | ||
</div> | ||
<p><strong>{% trans 'Password' %}</strong></p> | ||
<div class="box"> | ||
*******<br /> | ||
<a href="{% url 'account_change_password' %}">{% trans 'Change password' %}</a> | ||
</div> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,39 @@ | ||
{% extends 'maps/base.html' %} | ||
{% load static %} | ||
{% load i18n %} | ||
{% load maps_extras %} | ||
{% block title %}{{ 'My profiles' |titlify }}{% endblock %} | ||
{% block bodyclass %}my-profiles{% endblock %} | ||
{% block content %} | ||
<div class="page-header"> | ||
<p><a class="link--breadcrumb" href="/">Home</a></p> | ||
<h1>My profiles</h1> | ||
<p><a class="link--breadcrumb" href="/">{% trans 'Home' %}</a></p> | ||
<h1>{% trans 'My profiles' %}</h1> | ||
</div> | ||
{% if messages %} | ||
{% for message in messages %} | ||
{% include 'maps/partials/notification.html' %} | ||
{% endfor %} | ||
{% endif %} | ||
<h2>Personal profile</h2> | ||
<h2>{% trans 'Personal profile' %}</h2> | ||
{% if user.has_profile %} | ||
<ul class="cards"> | ||
{% include 'maps/partials/card_individual.html' %} | ||
</ul> | ||
{% else %} | ||
<p>None created.</p> | ||
<p><a href="{% url 'individual-profile' %}">Create individual profile</a></p> | ||
<p>{% trans 'None created.' %}</p> | ||
<p><a href="{% url 'individual-profile' %}">{% trans 'Create individual profile' %}</a></p> | ||
{% endif %} | ||
<h2>Organizational profiles</h2> | ||
<h2>{% trans 'Organizational profiles' %}</h2> | ||
{% if user_orgs %} | ||
<ul class="cards"> | ||
{% for org in user_orgs %} | ||
{% include 'maps/partials/card_organization.html' %} | ||
{% endfor %} | ||
</ul> | ||
<div class="spacer"></div> | ||
<p><a href="{% url 'organization-profile' %}">Create another organizational profile</a></p> | ||
<p><a href="{% url 'organization-profile' %}">{% trans 'Create another organizational profile' %}</a></p> | ||
{% else %} | ||
<p>None created.</p> | ||
<p><a href="{% url 'organization-profile' %}">Create organizational profile</a></p> | ||
<p>{% trans 'None created.' %}</p> | ||
<p><a href="{% url 'organization-profile' %}">{% trans 'Create organizational profile' %}</a></p> | ||
{% endif %} | ||
{% endblock %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
{% extends "account/base.html" %} | ||
|
||
{% load i18n %} | ||
|
||
{% block head_title %}{% trans "Account Inactive" %}{% endblock %} | ||
{% block title %}{% trans "Account inactive"|titlify %}{% endblock %} | ||
|
||
{% block content %} | ||
<h1>{% trans "Account Inactive" %}</h1> | ||
|
||
<p>{% trans "This account is inactive." %}</p> | ||
<div class="page-header"></div> | ||
<p><a class="link--breadcrumb" href="{% url 'index' %}">{% trans "Home" %}</a></p> | ||
<h1>{% trans "Account inactive" %}</h1> | ||
</div> | ||
<div class="stack"> | ||
<p>{% trans "This account is inactive." %}</p> | ||
</div> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
{% extends 'maps/base.html' %} | ||
{% load maps_extras %} | ||
{% block bodyclass %}account{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.