Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
7a0ddb24
Commit
7a0ddb24
authored
Apr 09, 2013
by
jarv
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1836 from MITx/style/btalbot/password-reset-complete
edx.org - quick password reset complete view styling
parents
dac88a8f
86dbfd34
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
4 deletions
+61
-4
lms/templates/registration/password_reset_complete.html
+61
-4
No files found.
lms/templates/registration/password_reset_complete.html
View file @
7a0ddb24
{% load i18n %}
{% load compressed %}
{% load staticfiles %}
<!DOCTYPE html>
<html>
<head>
<h1>
Password reset complete
</h1
>
<title>
Your Password Reset is Complete
</title
>
{% block content
%}
{% compressed_css 'application'
%}
Your password has been set. You may go ahead and
<a
href=
"/"
>
log in
</a>
now.
<!--[if lt IE 9]>
<script src="{% static 'js/html5shiv.js' %}"></script>
<![endif]-->
{% endblock %}
<script
type=
"text/javascript"
>
$
(
function
()
{
var
view_name
=
'view-passwordreset'
;
// adding js class for styling with accessibility in mind
$
(
'body'
).
addClass
(
'js'
).
addClass
(
view_name
);
// new window/tab opening
$
(
'a[rel="external"], a[class="new-vp"]'
)
.
click
(
function
()
{
window
.
open
(
$
(
this
).
attr
(
'href'
)
);
return
false
;
});
// form field label styling on focus
$
(
"form :input"
).
focus
(
function
()
{
$
(
"label[for='"
+
this
.
id
+
"']"
).
parent
().
addClass
(
"is-focused"
);
}).
blur
(
function
()
{
$
(
"label"
).
parent
().
removeClass
(
"is-focused"
);
});
});
</script>
</head>
<body
class=
"view-passwordreset"
>
<header
class=
"global"
>
<nav>
<h1
class=
"logo"
>
<a
href=
"/"
><img
src=
"/static/images/header-logo.png"
></a>
</h1>
</nav>
</header>
<section
class=
"content-wrapper"
>
<section
class=
"passwordreset container"
>
<section
class=
"introduction"
>
<header>
<h1>
Your Password Reset is Complete
</h1>
</header>
</section>
{% block content %}
<section
role=
"main"
class=
"content"
>
<p>
Your password has been set. You may go ahead and
<a
href=
"/"
>
log in
</a>
now.
</a>
.
</p>
</section>
{% endblock %}
</section>
</section>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment