-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BLUEBUTTON-1526 Format User Account Settings Page (#786)
* Updates account page to correct template for UI consistency * Updates nav test to accurately describe page * Fixes Reset Password page - updates template for consistency/clean-up * Adds title to 'additional information' section * Removes create_applications since it is unused * Removes additional reference to create_applications
- Loading branch information
1 parent
a90033b
commit fc761d7
Showing
5 changed files
with
93 additions
and
77 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 |
---|---|---|
@@ -1,43 +1,58 @@ | ||
{% extends "base.html" %} | ||
{% extends "oauth2_provider/base.html" %} | ||
{% load i18n %} | ||
{% block Content %} | ||
|
||
<div class="container"> | ||
<div class="ds-l-row ds-u-justify-content--center ds-u-margin-y--4"> | ||
<div class="ds-l-col--11"> | ||
{% block bannerBackButton %} | ||
<a class="banner-back-button" href="/"><i data-feather="arrow-left"></i>Back to Dashboard</a> | ||
{% endblock %} | ||
|
||
<h1>{{name}} <small>{{subname}}</small></h1> | ||
{% block bannerTitle %} | ||
{{name}} | ||
{% endblock %} | ||
|
||
<div class="ds-u-margin-y--2"> | ||
<!-- Password Update Button --> | ||
<a class="ds-c-button ds-c-button--default" href="{% url 'password_change' %}"> | ||
Change Your Password | ||
</a> | ||
</div> | ||
{% block bannerDescription %}{% endblock %} | ||
|
||
{% block bannerCallToActionButtons %}{% endblock %} | ||
|
||
{% block Content %} | ||
|
||
{% if additional_info %} | ||
<div class="alert alert-info"> | ||
<div class="container"> | ||
<div class="ds-l-row ds-u-justify-content--center ds-u-margin-y--4"> | ||
<div class="ds-l-lg-col--11 ds-l-md-col--11 ds-l-sm-col--12"> | ||
<div class="bb-c-card bb-width--75 ds-u-padding--2 bb-raised-section"> | ||
<div class="ds-u-margin-y--2"> | ||
|
||
<!-- Password Section --> | ||
<h2>Password Management</h2> | ||
<a class="ds-c-button ds-c-button--default ds-u-margin-bottom--4" href="{% url 'password_change' %}"> | ||
Change Your Password | ||
</a> | ||
|
||
<h2>Additional Information</h2> | ||
|
||
<!-- Additional Information Section --> | ||
{% if additional_info %} | ||
<h2>Additional Information</h2> | ||
<div class="alert alert-info"> | ||
<button type="button" class="close" data-dismiss="alert">×</button> | ||
<h4 class="ds-h4">{%trans "Important" %}</h4> | ||
{{ additional_info |safe }} | ||
</div> | ||
|
||
{% endif %} | ||
|
||
{% include "include/messages.html" %} | ||
</div> | ||
{% endif %} | ||
|
||
<form class="well ds-u-margin-y--2" method="post" action="" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
{% include "include/messages.html" %} | ||
|
||
{% load bootstrap %} | ||
{{ form|bootstrap }} | ||
<form class="well ds-u-margin-y--2" method="post" action="" enctype="multipart/form-data"> | ||
{% csrf_token %} | ||
|
||
{% load bootstrap %} | ||
{{ form|bootstrap }} | ||
|
||
<input type="submit" class="ds-c-button ds-c-button--primary ds-u-margin-y--2" value="{% trans 'Update Information' %}" /><br> | ||
</form> | ||
|
||
<input type="submit" class="ds-c-button ds-c-button--primary ds-u-margin-y--2" value="{% trans 'Continue' %}" /><br> | ||
<a href="javascript:history.go(-1)">{% trans "Go Back" %}</a> | ||
|
||
</form> | ||
</div> | ||
</div> | ||
</div> | ||
</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