Commit 13b74175 by Brian Talbot

edx.org - basic styling of password reset form

parent f5010008
...@@ -464,7 +464,7 @@ ...@@ -464,7 +464,7 @@
padding: 0 $baseline/4; padding: 0 $baseline/4;
} }
#register-form, #login-form { #register-form, #login-form, #passwordreset-form {
.status.message { .status.message {
display: none; display: none;
...@@ -512,9 +512,26 @@ ...@@ -512,9 +512,26 @@
// password reset // password reset
.view-passwordreset { .view-passwordreset {
background: $m-gray-l2;
header.global {
h1 {
float: none;
}
}
.introduction { .introduction {
width: auto;
padding: 0;
header h1 {
margin: 0;
}
}
.content {
margin-top: 0;
} }
} }
......
...@@ -38,9 +38,18 @@ ...@@ -38,9 +38,18 @@
</head> </head>
<body> <body class="view-passwordreset">
<section class="passwordreset container"> <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"> <section class="introduction">
<header> <header>
<h1>Reset Your edX Password</h1> <h1>Reset Your edX Password</h1>
...@@ -50,17 +59,17 @@ ...@@ -50,17 +59,17 @@
<section role="main" class="content"> <section role="main" class="content">
{% if validlink %} {% if validlink %}
<header> <header>
<h2 class="is-hidden">Password Reset Form</h2> <h2 class="sr">Password Reset Form</h2>
</header> </header>
<form role="form" id="passwordreset-form" method="post" data-remote="true" action="">{% csrf_token %} <form role="form" id="passwordreset-form" method="post" data-remote="true" action="">{% csrf_token %}
<!-- status messages --> <!-- status messages -->
<div role="alert" class="status message is-hidden"> <div role="alert" class="status message">
<h3 class="message-title">We're sorry, edX enrollment is not available in your region</h3> <h3 class="message-title">We're sorry, edX enrollment is not available in your region</h3>
<p class="message-copy">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p> <p class="message-copy">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
</div> </div>
<div role="alert" class="status message submission-error is-hidden"> <div role="alert" class="status message submission-error">
<h3 class="message-title">The following errors occured while processing your registration: </h3> <h3 class="message-title">The following errors occured while processing your registration: </h3>
<ul class="message-copy"> <ul class="message-copy">
<li>You must complete all fields.</li> <li>You must complete all fields.</li>
...@@ -68,7 +77,7 @@ ...@@ -68,7 +77,7 @@
</ul> </ul>
</div> </div>
<div role="alert" class="status message system-error is-hidden"> <div role="alert" class="status message system-error">
<h3 class="message-title">We're sorry, our systems seem to be having trouble processing your password reset</h3> <h3 class="message-title">We're sorry, our systems seem to be having trouble processing your password reset</h3>
<p class="message-copy">Someone has been made aware of this issue. Please try again shortly. Please <a href="">contact us</a> about any concerns you have.</p> <p class="message-copy">Someone has been made aware of this issue. Please try again shortly. Please <a href="">contact us</a> about any concerns you have.</p>
</div> </div>
...@@ -79,7 +88,7 @@ ...@@ -79,7 +88,7 @@
</p> </p>
<fieldset class="group group-form group-form-requiredinformation"> <fieldset class="group group-form group-form-requiredinformation">
<legend class="is-hidden">Required Information</legend> <legend class="sr">Required Information</legend>
<ol class="list-input"> <ol class="list-input">
<li class="field required password" id="field-password-initial"> <li class="field required password" id="field-password-initial">
...@@ -101,7 +110,7 @@ ...@@ -101,7 +110,7 @@
{% else %} {% else %}
<header> <header>
<h2 class="is-hidden">Your Password Reset Was Unsuccessful</h2> <h2 class="sr">Your Password Reset Was Unsuccessful</h2>
</header> </header>
<p>The password reset link was invalid, possibly because the link has already been used. Please <a href="" class="action action-forgotpw" rel="modal">request a new password reset</a>.</p> <p>The password reset link was invalid, possibly because the link has already been used. Please <a href="" class="action action-forgotpw" rel="modal">request a new password reset</a>.</p>
...@@ -110,7 +119,7 @@ ...@@ -110,7 +119,7 @@
<aside role="complementary"> <aside role="complementary">
<header> <header>
<h3 class="is-hidden">Password Reset Help</h3> <h3 class="sr">Password Reset Help</h3>
</header> </header>
<div class="cta cta-help"> <div class="cta cta-help">
...@@ -118,4 +127,5 @@ ...@@ -118,4 +127,5 @@
<p>View our <a href="#">help section for contact information and answers to commonly asked questions</a></p> <p>View our <a href="#">help section for contact information and answers to commonly asked questions</a></p>
</div> </div>
</aside> </aside>
</section>
</section> </section>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment