Commit 13b74175 by Brian Talbot

edx.org - basic styling of password reset form

parent f5010008
......@@ -464,7 +464,7 @@
padding: 0 $baseline/4;
}
#register-form, #login-form {
#register-form, #login-form, #passwordreset-form {
.status.message {
display: none;
......@@ -512,9 +512,26 @@
// password reset
.view-passwordreset {
background: $m-gray-l2;
header.global {
h1 {
float: none;
}
}
.introduction {
width: auto;
padding: 0;
header h1 {
margin: 0;
}
}
.content {
margin-top: 0;
}
}
......
......@@ -38,9 +38,18 @@
</head>
<body>
<section class="passwordreset container">
<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>Reset Your edX Password</h1>
......@@ -50,17 +59,17 @@
<section role="main" class="content">
{% if validlink %}
<header>
<h2 class="is-hidden">Password Reset Form</h2>
<h2 class="sr">Password Reset Form</h2>
</header>
<form role="form" id="passwordreset-form" method="post" data-remote="true" action="">{% csrf_token %}
<!-- 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>
<p class="message-copy">Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
</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>
<ul class="message-copy">
<li>You must complete all fields.</li>
......@@ -68,7 +77,7 @@
</ul>
</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>
<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>
......@@ -79,7 +88,7 @@
</p>
<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">
<li class="field required password" id="field-password-initial">
......@@ -101,7 +110,7 @@
{% else %}
<header>
<h2 class="is-hidden">Your Password Reset Was Unsuccessful</h2>
<h2 class="sr">Your Password Reset Was Unsuccessful</h2>
</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>
......@@ -110,7 +119,7 @@
<aside role="complementary">
<header>
<h3 class="is-hidden">Password Reset Help</h3>
<h3 class="sr">Password Reset Help</h3>
</header>
<div class="cta cta-help">
......@@ -118,4 +127,5 @@
<p>View our <a href="#">help section for contact information and answers to commonly asked questions</a></p>
</div>
</aside>
</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