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
63eeea69
Commit
63eeea69
authored
Feb 08, 2012
by
Kyle Fiedler
Browse files
Options
Browse Files
Download
Plain Diff
Merged in templates_ernie_leanmodal_closebox
parents
7cb316e9
30518d2f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
4 deletions
+25
-4
profile.html
+7
-4
sass/_leanmodal.scss
+18
-0
No files found.
profile.html
View file @
63eeea69
...
...
@@ -72,7 +72,7 @@ $(function() {
$
(
'#pwd_reset_button'
).
click
(
function
()
{
$
.
post
(
'/password_reset/'
,{
"csrfmiddlewaretoken"
:
"${ csrf }"
,
"email"
:
$
(
'#id_email'
).
val
()},
function
(
data
){
$
(
'#pwd_reset'
).
html
(
data
);
$
(
"#password_reset_complete_link"
).
click
(
);
log_event
(
"profile"
,
{
"type"
:
"password_send"
});
});
});
...
...
@@ -155,9 +155,7 @@ $(function() {
<div
id=
"change_password_pop"
>
<h2>
Password change
</h2>
<p>
We'll e-mail you a password reset link at ${email}. Follow
the link in the confirmation email to change your
password.
</p>
<p>
We'll e-mail a password reset link to ${email}.
</p>
<input
id=
"id_email"
type=
"hidden"
name=
"email"
maxlength=
"75"
value=
"${email}"
/>
<input
type=
"submit"
id=
"pwd_reset_button"
value=
"Reset Password"
/>
...
...
@@ -167,3 +165,8 @@ $(function() {
</div>
</section>
<div
id=
"password_reset_complete"
class=
"leanModal_box"
>
<a
href=
"#password_reset_complete"
rel=
"leanModal"
id=
"password_reset_complete_link"
></a>
<h1>
Password Reset Email Sent
</h1>
An email has been sent to ${email}. Follow the link in the email to change your password.
</div>
sass/_leanmodal.scss
View file @
63eeea69
...
...
@@ -18,12 +18,30 @@ div.leanModal_box {
background
:
#fff
;
padding
:
lh
(
2
);
a
.modal_close
{
position
:
absolute
;
top
:
12px
;
right
:
12px
;
display
:
block
;
width
:
14px
;
height
:
14px
;
z-index
:
2
;
color
:
#aaa
;
font-style
:
normal
;
&
:hover
{
text-decoration
:
none
;
color
:
$mit-red
;
}
}
h1
{
font-size
:
24px
;
margin-top
:
0
;
padding-bottom
:
lh
();
border-bottom
:
1px
solid
#eee
;
margin-bottom
:
lh
();
text-align
:
left
;
}
&
#enroll
{
...
...
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