Commit 81a56a35 by Brian Talbot

Verified: revising template UI, styling, and infrastructure

parent 638fb79a
...@@ -3,15 +3,16 @@ ...@@ -3,15 +3,16 @@
<%inherit file="../main.html" /> <%inherit file="../main.html" />
<%block name="bodyclass">register verification-process step-select-track</%block> <%block name="bodyclass">register verification-process step-select-track</%block>
<%block name="title"><title>${("Register for [Course Name] | Choose Your Track")}</title></%block>
<%block name="js_extra"> <%block name="js_extra">
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$( ".more" ).hide(); $('.is-expandable .expandable-more').addClass('is-hidden');
$( ".expand" ).click(function(e) { $('.is-expandable .title-expand').click(function(e) {
e.preventDefault(); e.preventDefault();
$(this).next().slideToggle(); $(this).parent().find('.expandable-more').toggleClass('is-hidden');
}); });
}); });
</script> </script>
...@@ -23,9 +24,14 @@ $(document).ready(function() { ...@@ -23,9 +24,14 @@ $(document).ready(function() {
<header class="page-header"> <header class="page-header">
<h2 class="title"> <h2 class="title">
<span class="status-track">(ID Verified)</span> <span class="wrapper-sts">
<span class="status">You are registering for</span> <span class="sts">You are registering for</span>
<span class="status-course">${course_id} </span> <span class="sts-course">${course_id} </span>
</span>
<span class="sts-track">
<span class="sts-track-label">Registering as: </span>
<span class="sts-track-value">ID Verified</span>
</span>
</h2> </h2>
</header> </header>
...@@ -33,7 +39,7 @@ $(document).ready(function() { ...@@ -33,7 +39,7 @@ $(document).ready(function() {
<article class="register-choose content-main"> <article class="register-choose content-main">
<h3 class="title">Select your track:</h3> <h3 class="title">Select your track:</h3>
<form cass="form-register-choose" method="post" name="enrollment_mode_form" id="enrollment_mode_form"> <form class="form-register-choose" method="post" name="enrollment_mode_form" id="enrollment_mode_form">
% if "audit" in modes: % if "audit" in modes:
<div class="register-choice register-choice-audit"> <div class="register-choice register-choice-audit">
...@@ -44,7 +50,7 @@ $(document).ready(function() { ...@@ -44,7 +50,7 @@ $(document).ready(function() {
</div> </div>
</div> </div>
<ul class="actions"> <ul class="list-actions">
<li class="action action-select"> <li class="action action-select">
<input type="submit" name="mode" value="Select Audit" /> <input type="submit" name="mode" value="Select Audit" />
</li> </li>
...@@ -69,39 +75,42 @@ $(document).ready(function() { ...@@ -69,39 +75,42 @@ $(document).ready(function() {
<div class="field field-certificate-contribution"> <div class="field field-certificate-contribution">
<h5 class="label">Select your contribution for this course:</h5> <h5 class="label">Select your contribution for this course:</h5>
<ul class="contribution-options"> <ul class="list-fields contribution-options">
% for price in modes["verified"].suggested_prices.split(","): % for price in modes["verified"].suggested_prices.split(","):
<li class="contribution-option"> <li class="field contribution-option">
<input type="radio" name="contribution" value="${price|h}" /> <input type="radio" name="contribution" value="${price|h}" />
<label for="contribution-${price|h}" /> <label for="contribution-${price|h}" />
<span class="deco-denomination">$</span> <span class="deco-denomination">$</span>
<span class="label-value">${price} ${modes["verified"].currency.upper()}</span> <span class="label-value">${price} ${modes["verified"].currency.upper()}</span>
<span class="denomination-name">USD</span> <span class="denomination-name"><abbr title="United States Dollars"><abbr title="United States Dollars">USD</abbr></span>
</label> </label>
</li> </li>
% endfor % endfor
<li class="field">
<li class="contribution-option contribution-option-other1"> <ul class="field-group field-group-other">
<input type="radio" id="contribution-other" name="contribution" value=""/> <li class="contribution-option contribution-option-other1">
<label for=" contribution-other"><span class="sr">Other</span></label> <input type="radio" id="contribution-other" name="contribution" value=""/>
</li> <label for=" contribution-other"><span class="sr">Other</span></label>
</li>
<li class="contribution-option contribution-option-other2">
<label for="contribution-other-amt"> <li class="contribution-option contribution-option-other2">
<span class="sr">Other Amount</span> <label for="contribution-other-amt">
</label> <span class="sr">Other Amount</span>
<div class="wrapper"> </label>
<span class="deco-denomination">$</span> <div class="wrapper">
<input type="text" size="5" name="contribution-other-amt" id="contribution-other-amt" /> <span class="deco-denomination">$</span>
<span class="denomination-name">USD</span> <input type="text" size="5" name="contribution-other-amt" id="contribution-other-amt" />
</div> <span class="denomination-name"><abbr title="United States Dollars"><abbr title="United States Dollars">USD</abbr></span>
</div>
</li>
</ul>
</li> </li>
</ul> </ul>
<div class="help-tip is-expandable"> <div class="help-tip is-expandable">
<h5 class="title">Why do I have to pay? What if I don't meet all the requirements?</h5> <h5 class="title title-expand">Why do I have to pay? What if I don't meet all the requirements?</h5>
<div class="copy more"> <div class="copy expandable-more">
<dl class="list-faq"> <dl class="list-faq">
<dt class="faq-question">Why do I have to pay?</dt> <dt class="faq-question">Why do I have to pay?</dt>
<dd class="faq-answer"> <dd class="faq-answer">
...@@ -128,7 +137,7 @@ $(document).ready(function() { ...@@ -128,7 +137,7 @@ $(document).ready(function() {
</ul> </ul>
</dd> </dd>
<dt class="faq-question">What if I don't meet all of the requirements for financial assistance but I still want to work toward a certificate?</dt> <dt class="faq-question">What if I don't meet all of the requirements for financial assistance but I still want to work toward a certificate?</dt>
<dd class="faq-answer"> <dd class="faq-answer">
<p>If you don't have a webcam, credit or debit card or acceptable ID, you can opt to simply audit this course, or select to work towards a free Honor Code Certificate of Achievement for this course by checking the box below. Then click the Select Certificate button to complete registration. We won't ask you to verify your identity.</p> <p>If you don't have a webcam, credit or debit card or acceptable ID, you can opt to simply audit this course, or select to work towards a free Honor Code Certificate of Achievement for this course by checking the box below. Then click the Select Certificate button to complete registration. We won't ask you to verify your identity.</p>
...@@ -146,12 +155,23 @@ $(document).ready(function() { ...@@ -146,12 +155,23 @@ $(document).ready(function() {
</div> </div>
</div> </div>
<ul class="actions"> <ul class="list-actions">
<li class="action action-intro">
<a href="">What is an ID Verified Certificate?</a>
</li>
<li class="action action-select"> <li class="action action-select">
<input type="submit" name="mode" value="Select Certificate" /> <input type="submit" name="mode" value="Select Certificate" />
</li> </li>
</ul> </ul>
</div> </div>
<div class="help help-register">
<h3 class="title">Verified Registration Requirements</h3>
<div class="copy">
<p>To register for a Verified Certificate of Achievement option, you will need a webcam, a credit or debit card, and an ID. <a href="">View requirements</a></p>
</div>
</div>
% endif % endif
<input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }"> <input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }">
...@@ -177,7 +197,7 @@ $(document).ready(function() { ...@@ -177,7 +197,7 @@ $(document).ready(function() {
</li> </li>
<li class="help-item"> <li class="help-item">
<h3 class="title"><i class="icon-question-sign"></i> Have questions?</h3> <h3 class="title">Have questions?</h3>
<div class="copy"> <div class="copy">
<p>Please read <a href="">our FAQs to view common questions about our certificates</a>.</p> <p>Please read <a href="">our FAQs to view common questions about our certificates</a>.</p>
</div> </div>
......
...@@ -56,6 +56,34 @@ ...@@ -56,6 +56,34 @@
} }
} }
// blue primary gray
.btn-primary-gray {
@extend .btn-primary;
box-shadow: 0 2px 1px 0 $m-gray-d2;
background: $m-gray;
color: $white;
&:hover, &:active {
background: $m-gray-l1;
color: $white;
}
&.current, &.active {
box-shadow: inset 0 2px 1px 1px $m-gray-d2;
background: $m-gray;
color: $m-gray-l1;
&:hover, &:active {
box-shadow: inset 0 2px 1px 1px $m-gray-d3;
color: $m-gray-d3;
}
}
&.disabled, &[disabled] {
box-shadow: none;
}
}
// blue primary button // blue primary button
.btn-primary-blue { .btn-primary-blue {
@extend .btn-primary; @extend .btn-primary;
......
// lms - views - verification flow // lms - views - verification flow
// ==================== // ====================
// some nasty resets and standard styles // MISC: extends - UI - window
body.register.verification-process { .ui-window {
font-family: 'Open Sans', sans-serif; @include clearfix();
border-radius: ($baseline/10);
box-shadow: 0 1px 2px 1px $shadow-l1;
margin-bottom: $baseline;
border: 1px solid $m-gray-l3;
background: $white;
}
// MISC: extends - UI - well
.ui-well {
box-shadow: inset 0 1px 2px 1px $shadow-l1;
padding: ($baseline*0.75) $baseline;
}
// MISC: custom link
.custom-link {
@extend .ui-fake-link;
}
// MISC: expandable UI
.is-expandable {
.title-expand {
}
.expandable-more {
display: block;
&.is-hidden {
display: none;
}
}
}
.register.verification-process {
// reset: box-sizing (making things so right its scary)
* {
@include box-sizing(border-box);
}
// reset: typography
font-family: $sans-serif;
// reset: typography - heading // reset: typography - heading
h1, h2, h3, h4, h5 ,h6 { h1, h2, h3, h4, h5 ,h6 {
@extend .t-title; @extend .t-title;
color: $m-gray-d4;
} }
// reset: typography - copy // reset: typography - copy
p, ol, ul, dl, input, select, textarea { p, ol, ul, dl, input, select, textarea {
font-family: $f-sans-serif; font-family: $f-sans-serif;
@extend .t-copy-base; color: $m-gray-d1;
} }
// reset: copy/text .copy {
p {
margin-bottom: ($baseline*0.75);
}
dt { p, ul, li, dl, blockquote, input, select {
margin: 0 0 .5em 0; margin-bottom: ($baseline*0.75);
font-weight: bold;
}
dd { &:last-child {
margin: 0 0 1em 0; margin-bottom: 0;
}
}
} }
dl dl { // reset: copy/text
margin: ($baseline/4) 0 0 ($baseline/2);
}
// reset: forms // reset: forms
input { input {
...@@ -42,580 +83,1128 @@ body.register.verification-process { ...@@ -42,580 +83,1128 @@ body.register.verification-process {
} }
label { label {
@extend .t-weight4;
font-family: $sans-serif;
font-style: normal; font-style: normal;
font-family: 'Open Sans', sans-serif; color: $m-gray-d4;
font-weight: 400;
} }
.faq { // HACK: nasty override due to our bad input/button styling
@extend .t-copy-sub2; button, input[type="submit"], input[type="button"] {
@include font-size(16);
label { @extend .t-weight3;
font-size: 12px; text-transform: none;
font-weight: bold; text-shadow: none;
} letter-spacing: 0;
} }
// reset: lists
.list-actions, .list-steps, .progress-steps, .list-controls, .list-fields, .list-help, .list-faq, .nav-wizard, .list-reqs, .list-faq, .review-tasks, .list-tips, .wrapper-photos, .field-group {
@extend .ui-no-list;
}
// ==================== // ====================
// elements: layout // elements: layout
.content-wrapper { .content-wrapper {
background: none repeat scroll 0 0 #F7F7F7; background: $m-gray-l4;
padding-bottom: 0; padding-bottom: 0;
} }
.container { .container {
background-color: #fff; background-color: $white;
padding: ($baseline*1.5) ($baseline*1.5) ($baseline*2) ($baseline*1.5); padding: ($baseline*1.5) ($baseline*1.5) ($baseline*2) ($baseline*1.5);
} }
// elements: common UI // ====================
// elements: common copy
.title { .title {
@extend .t-title5; @extend .t-title5;
margin-bottom: ($baseline/2); @extend .t-weight1;
font-weight: 300;
} }
.tip { .copy {
@extend .t-copy-sub2; @extend .t-weight1;
@include transition(color 0.15s ease-in-out 0s);
display: block;
margin-top: ($baseline/4);
color: $lighter-base-font-color;
} }
// ====================
// elements - controls
.action-primary {
@extend .btn-primary-blue;
border: none;
}
.action-confirm {
@extend .btn-primary-green;
border: none;
}
// ==================== // ====================
// elements: page depth
// elements: header // ====================
.page-header {
// elements : help
.help {
}
.help-item {
.title { .title {
@include font-size(28); @extend .hd-lv4;
@include line-height(28); margin-bottom: ($baseline/4);
margin-bottom: $baseline; }
border-bottom: 1px solid #ccc;
padding-bottom: 20px; .copy {
color: #2F73BC; @extend .copy-detail;
font-weight: 300;
text-transform: uppercase;
} }
} }
// elements: page options .list-help {
.pay-options {
list-style-type: none;
margin: 0;
padding: 0;
li { }
display: inline-block;
background-color: $light-gray;
padding: ($baseline/2) ($baseline*.75);
margin-right: ($baseline/4);
vertical-align: middle;
&.other1 { // ====================
margin-right: -($baseline/4);
padding-right: ($baseline/4); // UI: page header
min-height: 25px; .page-header {
} width: flex-grid(12,12);
&.other2 { margin: 0 0 $baseline 0;
padding: ($baseline/4) ($baseline*.75) ($baseline/4) 0; border-bottom: ($baseline/4) solid $m-gray-l4;
}
.title {
@include clearfix();
width: flex-grid(12,12);
label { .wrapper-sts, .sts-track {
display: inline-block;
vertical-align: middle; vertical-align: middle;
} }
input { .wrapper-sts {
vertical-align: middle; width: flex-grid(9,12);
} }
}
}
.sts-track {
width: flex-grid(3,12);
text-align: right;
// elements - controls .sts-track-label {
.m-btn-primary { @extend .text-sr;
margin-bottom: 0; }
padding: 0;
a, input {
background: none;
border: none;
box-shadow: none;
color: $very-light-text;
display: block;
padding: ($baseline*.75) $baseline;
text-transform: none;
text-shadow: none;
letter-spacing: 0;
&:hover { .sts-track-value {
text-decoration: none; @extend .copy-badge;
border: none; color: $white;
background: $m-green-l2;
}
} }
}
&.disabled, &[disabled], &.is-disabled {
background-color: #ccc;
box-shadow: none;
pointer-events: none;
&:hover { .sts {
background: $action-primary-disabled-bg !important; // needed for IE currently @extend .t-title7;
display: block;
color: $m-gray;
} }
} .sts-course {
@extend .t-title;
// NOTE: need to change this to a semantic class @include font-size(28);
&.green { @include line-height(28);
box-shadow: 0 2px 1px rgba(2,100,2,1); @extend .t-weight4;
background-color: rgba(0,136,1,1); display: block;
&:hover {
box-shadow: 0 2px 1px rgba(2,100,2,1);
background-color: #029D03;
} }
} }
} }
// ==================== // ====================
// UI : progress
.wrapper-progress {
position: relative;
margin-bottom: ($baseline*1.5);
}
.progress-sts {
@include size(($baseline/4));
@extend .ui-depth1;
position: absolute;
top: 43px;
left: 70px;
display: block;
width: 77%;
margin: 0 auto;
background: $m-gray-l4;
.progress-sts-value {
width: 0%;
height: 100%;
display: block;
background: $m-green-l3;
}
}
// nav/status: progress
.progress { .progress {
@include clearfix; width: flex-grid(12,12);
position: relative; margin: 0 auto;
margin-bottom: $baseline; border-bottom: ($baseline/4) solid $m-gray-l4;
border-bottom: 1px solid #ccc;
padding-bottom: $baseline;
.progress-steps { .progress-steps {
margin: 0; @include clearfix();
padding: 0; position: relative;
top: ($baseline/4);
} }
.progress-step { .progress-step {
@extend .t-copy-sub1; @extend .ui-depth2;
position: relative; position: relative;
z-index: 200; width: flex-grid(2,12);
display: inline-block; float: left;
width: 15%; padding: $baseline $baseline ($baseline*1.5) $baseline;
padding: ($baseline/2) 0;
text-align: center; text-align: center;
color: #ccc;
&.current { .wrapper-step-number, .step-number, .step-name {
color: #008801; display: block;
}
.wrapper-step-number {
@include size(($baseline*2) ($baseline*2));
margin: 0 auto ($baseline/2) auto;
border-radius: ($baseline*10);
border: ($baseline/5) solid $m-gray-l4;
background: $white;
.step-number {
@extend .t-title7;
@extend .t-weight4;
@include line-height(0);
margin: 16px auto 0 auto;
color: $m-gray-l1;
}
}
.step-name {
@extend .t-title7;
@extend .t-weight4;
color: $m-gray-l1;
}
// confirmation step w/ icon
&#progress-step5 {
.number { .step-number {
border: 4px solid #008801; margin-top: ($baseline/2);
color: #008801;
} }
} }
&.done { // STATE: is completed
color: #777; &.is-completed {
border-bottom: ($baseline/5) solid $m-green-l2;
.wrapper-step-number {
border-color: $m-green-l2;
}
.step-number, .step-name {
color: $m-gray-l3;
}
}
// STATE: is current
&.is-current {
border-bottom: ($baseline/5) solid $m-blue-d1;
opacity: 1.0;
.wrapper-step-number {
border-color: $m-blue-d1;
}
.number { .step-number, .step-name {
border: 4px solid #777; color: $m-gray-d3;
color: #777;
} }
} }
} }
}
.number { // ====================
height: 2em;
width: 2em; // UI: slides
display: block; .carousel {
margin: 0 auto ($baseline/2);
border: 4px solid #ddd; // carousel item
border-radius: 20px; .carousel-item {
background-color: #fff; opacity: 0.0;
line-height: 2em;
text-align: center;
color: #ccc;
} }
.mini { // STATE: active
height: .5em; .carousel-active {
width: .5em; opacity: 1.0;
margin-bottom: 1.5em;
} }
.progress-line, // indiv slides
.progress-line-done { .wrapper-view {
position: absolute; padding: 0 $baseline !important;
top: 26%;
left: 8%;
height: 2px;
width: 100%;
display: inline-block;
background-color: #ddd;
} }
.progress-line-done { .view {
width: 20%; width: flex-grid(12,12);
background-color: #008801;
> .title {
@extend .hd-lv2;
color: $m-blue-d1;
}
.instruction {
@extend .t-copy-lead1;
margin-bottom: $baseline;
}
} }
}
.support { .wrapper-task {
margin-top: ($baseline*2); @include clearfix();
} width: flex-grid(12,12);
margin: ($baseline*2) 0 $baseline 0;
.wrapper-help {
float: right;
width: flex-grid(6,12);
padding: ($baseline*0.75) $baseline;
// ==================== .help {
margin-bottom: ($baseline*1.5);
&:last-child {
margin-bottom: 0;
}
// VIEW: select a track .title {
&.step-select-track { @extend .hd-lv3;
}
.select { .copy {
@include clearfix(); @extend .copy-detail;
}
.divider { // help - general list
display: block; .list-help {
clear: both;
width: 60%;
margin: $baseline $baseline 0 $baseline;
border-top: 2px solid #ddd;
p { .help-item {
@extend .t-copy-base; margin-bottom: ($baseline/4);
position: relative; border-bottom: 1px solid $m-gray-l4;
top: -$baseline; padding-bottom: ($baseline/4);
width: 40px;
margin: 0 auto; &:last-child {
padding: 0 $baseline; margin-bottom: 0;
background-color: #fff; border-bottom: none;
color: #aaa; padding-bottom: 0;
text-align: center; }
}
}
// help - faq
.list-faq {
margin-bottom: $baseline;
.faq-question {
@extend .hd-lv3;
border-bottom: 1px solid $m-gray-l4;
padding-bottom: ($baseline/4);
}
.faq-answer {
margin-bottom: ($baseline*1.25);
}
}
} }
} }
.block { .task {
position: relative; @extend .ui-window;
float: left; float: left;
margin: 0 $baseline ($baseline*1.5) 0; width: flex-grid(6,12);
border-top: 5px solid #32A5D9; margin-right: flex-gutter();
background-color: #eee; }
padding: $baseline ($baseline*1.5) ($baseline*2) ($baseline*1.5);
width: 60%;
.controls {
padding: ($baseline*0.75) $baseline;
background: $m-gray-l4;
&.block-cert { .list-controls {
border-top: 5px solid #008801; position: relative;
}
.ribbon { .control {
background: transparent url('../images/vcert-ribbon-s.png') no-repeat 0 0; position: absolute;
position: absolute;
top: -($baseline*1.5); .action {
right: $baseline; @extend .btn-primary-blue;
display: block; padding: ($baseline/2) ($baseline*0.75);
width: ($baseline*3);
height: ($baseline*4); *[class^="icon-"] {
@extend .t-icon4;
padding: ($baseline*.25) ($baseline*.5);
display: block;
}
}
// STATE: hidden
&.is-hidden {
visibility: hidden;
}
// STATE: shown
&.is-shown {
visibility: visible;
} }
}
// STATE: approved
&.approved {
p, li, dl { .action {
color: $lighter-base-font-color; @extend .btn-primary-green;
}
}
} }
.wrap-copy { // control - redo
width: 60%; .control-redo {
display: inline-block; position: absolute;
vertical-align: middle; left: ($baseline/2);
} }
.title { // control - take/do
@extend .t-title4; .control-do {
font-weight: bold; left: 45%;
} }
.m-btn-primary { // control - approve
.control-approve {
position: absolute; position: absolute;
bottom: ($baseline*1.5); right: ($baseline/2);
right: ($baseline*1.5); }
}
.msg {
@include clearfix();
margin-top: ($baseline*2);
.copy {
float: left;
width: flex-grid(8,12);
margin-right: flex-gutter();
}
.list-actions {
position: relative;
top: -($baseline/2);
float: left;
width: flex-grid(4,12);
text-align: right;
.action-retakephotos a {
@extend .btn-primary-gray;
}
}
}
.msg-followup {
border-top: ($baseline/10) solid $m-gray-t0;
padding-top: $baseline;
}
}
// indiv slides - photo
#wrapper-facephoto {
}
// indiv slides - ID
#wrapper-idphoto {
}
// indiv slides - review
#wrapper-review {
.review-task {
margin-bottom: ($baseline*1.5);
padding: ($baseline*0.75) $baseline;
border-radius: ($baseline/10);
background: $m-gray-l4;
&:last-child {
margin-bottom: 0;
}
> .title {
@extend .hd-lv3;
} }
.copy {
@extend .copy-base;
strong {
@extend .t-weight5;
color: $m-gray-d4;
}
}
} }
hr { // individual task - photos
margin: 1em 0 2em 0; .review-task-photos {
.wrapper-photos {
@include clearfix();
width: flex-grid(12,12);
margin: $baseline 0;
.wrapper-photo {
float: left;
width: flex-grid(6,12);
margin-right: flex-gutter();
&:last-child {
margin-right: 0;
}
.placeholder-photo {
@extend .ui-window;
padding: ($baseline*0.75) $baseline;
img {
display: block;
width: 100%;
margin: 0 auto;
}
}
}
.help-tips {
.title {
@extend .hd-lv5;
}
.copy {
@extend .copy-detail;
}
// help - general list
.list-tips {
.tip {
margin-bottom: ($baseline/4);
border-bottom: 1px solid $m-gray-t0;
padding-bottom: ($baseline/4);
&:last-child {
margin-bottom: 0;
border-bottom: none;
padding-bottom: 0;
}
}
}
}
}
} }
.more { // individual task - name
margin-top: ($baseline/2); .review-task-name {
border-top: 1px solid #ccc; @include clearfix();
.copy {
float: left;
width: flex-grid(8,12);
margin-right: flex-gutter();
}
.list-actions {
position: relative;
top: -($baseline);
float: left;
width: flex-grid(4,12);
text-align: right;
.action-editname a {
@extend .btn-primary-gray;
}
}
} }
.tips { // individual task - contribution
float: right; .review-task-contribution {
width: 32%;
p { .list-fields {
@extend .t-copy-sub1; @include clearfix();
margin: $baseline 0;
.field {
float: left;
margin-right: ($baseline/2);
padding: ($baseline/2) ($baseline*0.75);
background: $m-gray-t0;
&:last-child {
margin-right: 0;
}
}
.field-group-other {
.contribution-option {
display: inline-block;
vertical-align: middle;
margin-right: ($baseline/4);
&:last-child {
margin-right: 0;
}
}
.contribution-option-other1 label, .contribution-option-other2 label {
@extend .text-sr;
}
}
} }
} }
} }
} }
// UI: camera states
.cam {
.placeholder-cam {
@include size(500px 375px);
margin: $baseline auto;
background: $m-blue-d1;
}
.controls {
height: ($baseline*4);
}
}
// ==================== // ====================
// UI: deco - divider
.deco-divider {
position: relative;
display: block;
margin: $baseline 0 ($baseline*2) 0;
border-top: ($baseline/5) solid $m-gray-l4;
// VIEW: requirements .copy {
&.step-requirements { @extend .t-copy-lead1;
@extend .t-weight4;
position: absolute;
top: -($baseline*1.25);
left: 45%;
padding: ($baseline/2) ($baseline*1.5);
background: white;
text-align: center;
color: $m-gray-l2;
}
}
// ====================
// UI: nav - wizard
.nav-wizard {
@extend .ui-well;
@include clearfix;
width: flex-grid(12,12);
margin: $baseline 0;
border-radius: ($baseline/10);
background: $m-gray-l4;
.help-inline, .wizard-steps {
.section-head .title {
@extend .t-title4;
display: inline-block;
margin: ($baseline/4) 0;
} }
.reqs { .help-inline {
margin: $baseline $baseline ($baseline*1.5) $baseline; @extend .t-copy-sub1;
float: left;
width: flex-grid(6,12);
margin: ($baseline*0.75) flex-gutter() 0 0;
} }
.req { .wizard-steps {
height: 13em; float: right;
width: 27%; width: flex-grid(6,12);
display: inline-block; text-align: right;
margin-right: 1%; }
border: 1px solid #ddd;
padding: $baseline 2%;
text-align: center;
vertical-align: top;
[class^="icon-"] { // STATE: is ready
display: block; &.is-ready {
width: 150px; background: $m-blue-l4;
margin: $baseline auto; }
font-size: 75px;
&.icon-id { &.is-not-ready {
background: transparent url('../images/icon-id.png') no-repeat center center; background: $m-gray-l4;
height: 70px; }
} }
// ====================
// UI: forms - payment
.contribution-options {
.contribution-option {
border-radius: ($baseline/5);
.label, label, input {
display: inline-block;
vertical-align: middle;
} }
} .label, label {
margin-bottom: 0;
}
.next-step { input {
float: right; margin-right: ($baseline/4);
}
.tip { .deco-denomination, .label-value, .denomination-name {
margin-top: $baseline; display: inline-block;
vertical-align: middle;
}
.deco-denomination {
} }
.label-value {
@extend .t-weight4;
}
.denomination-name {
@include font-size(14);
color: $m-gray-l1;
}
// specific fields
#contribution-other-amt {
position: relative;
top: -($baseline/4);
width: ($baseline*3);
padding: ($baseline/4) ($baseline/2);
}
}
}
// ====================
// UI: main content
.wrapper-content-main {
}
.content-main {
width: flex-grid(12,12);
> .title {
@extend .hd-lv2;
color: $m-blue-d1;
} }
hr { .instruction {
margin: ($baseline*2); @extend .t-copy-lead1;
margin-bottom: $baseline;
} }
}
.steps-section { // ====================
.section-head { // UI: supplemental content
margin-bottom: ($baseline); .wrapper-content-supplementary {
} margin: ($baseline*1.5) 0;
border-top: ($baseline/4) solid $m-gray-l4;
}
.step { .content-supplementary {
width: 60%; width: flex-grid(12,12);
margin-left: 3%;
padding: ($baseline) ($baseline*1.5);
.step-title { .list-help {
@extend .t-title5; @include clearfix();
font-weight: bold;
}
.number { .help-item {
@extend .t-title6; width: flex-grid(4,12);
height: 2em; float: left;
width: 2em; margin-right: flex-gutter();
display: inline-block;
margin: 0 ($baseline/2) 0 0;
border: 3px solid #000;
border-radius: 30px;
font-weight: bold;
line-height: 2em;
text-align: center;
color: #000;
}
.copy { &:last-child {
@extend .t-copy-base; margin-right: 0
margin-left: 65px;
} }
} }
} }
} }
// ==================== // ====================
// VIEW: select a track
&.step-select-track {
.form-register-choose {
@include clearfix();
width: flex-grid(12,12);
margin: $baseline 0;
// VIEW: take and review photos .deco-divider {
&.step-photos { width: flex-grid(8,12);
float: left;
}
}
.register-choice, .help-register {
float: left;
}
.register-choice {
width: flex-grid(8,12);
margin: 0 flex-gutter() $baseline 0;
border-top: ($baseline/4) solid $m-gray-d4;
padding: $baseline ($baseline*1.5);
background: $m-gray-l4;
&:last-child {
margin-bottom: none;
}
.wrapper-copy, .list-actions {
display: inline-block;
vertical-align: middle;
}
.wrapper-copy {
width: flex-grid(8,8);
}
.list-actions {
width: flex-grid(8,8);
text-align: right;
}
.title {
@extend .t-title5;
@extend .t-weight5;
margin-bottom: ($baseline/2);
}
.copy {
@extend .t-copy-base;
}
.action-select input {
@extend .t-weight4;
}
}
.register-choice-audit {
border-color: $m-blue-d1;
// TEMP: for dev placement only .wrapper-copy {
.wrapper-cam, width: flex-grid(5,8);
.wrapper-photo { }
height: 375px;
width: 500px; .list-actions {
background-color: #eee; width: flex-grid(3,8);
}
.action-select input {
@extend .btn-primary-blue;
}
}
.register-choice-certificate {
border-color: $m-green-l1;
position: relative; position: relative;
p { .deco-ribbon {
position: absolute; position: absolute;
top: 40%; top: -($baseline*1.5);
left: 40%; right: $baseline;
color: #ccc; display: block;
width: ($baseline*3);
height: ($baseline*4);
background: transparent url('../images/vcert-ribbon-s.png') no-repeat 0 0;
}
.list-actions {
margin-top: $baseline;
border-top: ($baseline/10) solid $m-gray-t1;
padding-top: $baseline;
}
.action-intro, .action-select {
display: inline-block;
vertical-align: middle;
}
.action-intro {
@extend .copy-detail;
width: flex-grid(3,8);
text-align: left;
}
.action-select {
width: flex-grid(5,8);
}
.action-select input {
@extend .btn-primary-green;
}
.action-intro {
} }
} }
.block-photo { .help-register {
@include clearfix(); width: flex-grid(4,12);
background-color: $white;
.title { .title {
@extend .t-title4; @extend .hd-lv4;
@extend .t-weight4;
margin-bottom: ($baseline/2);
} }
.wrapper-up, .copy {
.wrapper-down { @extend .copy-detail;
@include clearfix(); }
}
// progress indicator
.progress-sts-value {
width: 0%;
}
.wrapper-content-supplementary .content-supplementary .help-item {
width: flex-grid(3,12);
}
// contribution selection
.field-certificate-contribution {
margin: $baseline 0;
.label {
@extend .hd-lv4;
@extend .t-weight4;
margin-bottom: ($baseline/2);
} }
}
.cam { .contribution-options {
width: 500px; @include clearfix();
margin: $baseline 0;
.field {
float: left; float: left;
padding-right: $baseline; margin-right: ($baseline/2);
padding: ($baseline/2) ($baseline*0.75);
background: $m-gray-t0;
input {
width: auto;
}
&:last-child {
margin-right: 0;
}
} }
.photo-controls { #contribution-other-amt {
background-color: #ddd; width: ($baseline*3);
padding: ($baseline/4) ($baseline/2);
}
.controls-list { .field-group-other {
@include clearfix();
position: relative;
margin: 0;
padding: ($baseline*.25) ($baseline*.75);
list-style-type: none;
height: 60px;
.control { .contribution-option {
display: inline-block; display: inline-block;
vertical-align: middle;
margin-right: ($baseline/4);
.action { &:last-child {
@extend .button-primary; margin-right: 0;
display: block; }
background-color: $blue; }
color: $white;
border: 3px solid #1A74A0;
border-radius: 40px;
padding: 10px 5px;
text-align: center;
i {
padding: ($baseline*.25) ($baseline*.5);
display: block;
}
&:hover { .contribution-option-other1 label, .contribution-option-other2 label {
@extend .text-sr;
}
}
}
}
} // VIEW: requirements
&.step-requirements {
} // progress indicator
.progress-sts-value {
width: 0%;
}
.list-reqs {
@include clearfix();
width: flex-grid(12,12);
&.is-hidden { .req {
visibility: hidden; @extend .ui-window;
} width: flex-grid(4,12);
min-height: ($baseline*15);
float: left;
margin-right: flex-gutter();
text-align: center;
&.is-shown { &:last-child {
visibility: visible; margin-right: 0;
} }
.title {
@extend .t-title5;
@extend .t-weight4;
padding: $baseline;
border-bottom: 1px solid $m-green-l2;
background: $m-green-l4;
&.control-do { }
position: relative;
left: 45%;
}
&.control-redo { .placeholder-art {
position: absolute; position: relative;
left: ($baseline/2); display: inline-block;
} margin: $baseline 0 ($baseline/2) 0;
padding: $baseline;
background: $m-green-l2;
border-radius: ($baseline*10);
*[class^="icon"] {
@extend .t-icon1;
color: $white;
}
&.control-approve { .icon-over, .icon-under {
position: absolute; position: relative;
right: ($baseline/2); }
}
&.approved a { .icon-under {
background-color: $green; @extend .ui-depth1;
} }
.icon-over {
@extend .ui-depth2;
@extend .t-icon5;
position: absolute;
left: 24px;
top: 34px;
background: $m-green-l2;
padding: 3px 5px;
} }
} }
}
.faq { .copy {
width: 45%; padding: ($baseline/2) $baseline;
float: left; }
padding-right: $baseline;
.copy-super, .copy-sub {
display: block;
}
.copy-super {
@extend .t-copy-base;
margin-bottom: ($baseline/2);
color: $m-green;
}
.copy-sub {
@extend .t-copy-sub2;
}
.actions {
padding: ($baseline/2) $baseline;
}
} }
} }
}
.photo-tips { // VIEW: take and review photos
@extend .t-copy-sub1; &.step-photos {
width: 45%;
float: left;
.title { }
@extend .t-title5;
border-bottom: 1px solid #ddd; // VIEW: take cam photo
padding-bottom: ($baseline/4); &.step-photos-cam {
font-weight: bold;
}
// progress indicator
.progress-sts-value {
width: 20%;
} }
}
.next-step { // VIEW: take id photo
margin-top: $baseline; &.step-photos-id {
.tip { // progress indicator
margin-top: $baseline; .progress-sts-value {
} width: 40%;
} }
}
.support { // VIEW: review photos
margin-top: ($baseline*2); &.step-review {
}
.review-photo { .nav-wizard {
width: 500px;
float: left;
.title { .help-inline {
@extend .t-title5; width: flex-grid(4,12);
margin-top: $baseline; margin-top: 0
}
.wizard-steps {
float: right;
width: flex-grid(8,12);
.wizard-step {
width: flex-grid(4,8);
margin-right: flex-gutter();
display: inline-block;
vertical-align: middle;
&:last-child {
margin-right: 0;
}
}
}
.step-match {
label {
@extend .t-copy-sub1;
}
} }
.step-proceed {
}
}
// progress indicator
.progress-sts-value {
width: 60%;
} }
}
#review-facephoto { // VIEW: take and review photos
margin-right: $baseline; &.step-confirmation {
// progress indicator
.progress-sts-value {
width: 100%;
} }
} }
} }
<%! from django.utils.translation import ugettext as _ %> <%! from django.utils.translation import ugettext as _ %>
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="../main.html" />
<%block name="bodyclass">register verification-process step-photos</%block> <%block name="bodyclass">register verification-process step-photos</%block>
<%block name="title"><title>${("Register for [Course Name] | Verification")}</title></%block>
<%block name="js_extra"> <%block name="js_extra">
<!-- please move link to js/vendor/responsive-carousel/responsive-carousel.js from main.html to here --> <!-- please move link to js/vendor/responsive-carousel/responsive-carousel.js from main.html to here -->
...@@ -168,9 +168,14 @@ ...@@ -168,9 +168,14 @@
<header class="page-header"> <header class="page-header">
<h2 class="title"> <h2 class="title">
<span class="status-track">(ID Verified)</span> <span class="wrapper-sts">
<span class="status">You are registering for</span> <span class="sts">You are registering for</span>
<span class="status-course">${course_id} </span> <span class="sts-course">${course_id} </span>
</span>
<span class="sts-track">
<span class="sts-track-label">Registering as: </span>
<span class="sts-track-value">ID Verified</span>
</span>
</h2> </h2>
</header> </header>
...@@ -178,41 +183,43 @@ ...@@ -178,41 +183,43 @@
<section class="progress"> <section class="progress">
<h3 class="sr title">Your Progress</h3> <h3 class="sr title">Your Progress</h3>
<span class="progress-status">
<span class="progress-status-value"></span>
</span>
<ol class="progress-steps"> <ol class="progress-steps">
<li class="progress-step is-completed" id="progress-step0"> <li class="progress-step is-completed" id="progress-step0">
<span class="step-number">0</span> <span class="wrapper-step-number"><span class="step-number">0</span></span>
<span class="step-name">Intro</span> <span class="step-name">Intro</span>
</li> </li>
<li class="progress-step" id="progress-step1"> <li class="progress-step is-current" id="progress-step1">
<span class="step-number">1</span> <span class="wrapper-step-number"><span class="step-number">1</span></span>
<span class="step-name"><span class="sr">Current Step: </span>Take Photo</span> <span class="step-name"><span class="sr">Current Step: </span>Take Photo</span>
</li> </li>
<li class="progress-step" id="progress-step2"> <li class="progress-step" id="progress-step2">
<span class="step-number">2</span> <span class="wrapper-step-number"><span class="step-number">2</span></span>
<span class="step-name">Intro</span> <span class="step-name">Take ID Photo</span>
</li> </li>
<li class="progress-step" id="progress-step3"> <li class="progress-step" id="progress-step3">
<span class="step-number">3</span> <span class="wrapper-step-number"><span class="step-number">3</span></span>
<span class="step-name">Intro</span> <span class="step-name">Review</span>
</li> </li>
<li class="progress-step" id="progress-step4"> <li class="progress-step" id="progress-step4">
<span class="step-number">4</span> <span class="wrapper-step-number"><span class="step-number">4</span></span>
<span class="step-name">Intro</span> <span class="step-name">Make Payment</span>
</li> </li>
<li class="progress-step" id="progress-step5"> <li class="progress-step" id="progress-step5">
<span class="step-number">5</span> <span class="wrapper-step-number"><span class="step-number">
<i class="icon-ok"></i>
</span></span>
<span class="step-name">Confirmation</span> <span class="step-name">Confirmation</span>
</li> </li>
</ol> </ol>
<span class="progress-sts">
<span class="progress-sts-value"></span>
</span>
</section> </section>
</div> </div>
...@@ -220,7 +227,7 @@ ...@@ -220,7 +227,7 @@
<article class="content-main"> <article class="content-main">
<section class="wrapper carousel" data-transition="slide"> <section class="wrapper carousel" data-transition="slide">
<div id="wrapper-view wrapper-facephoto" class="block-photo"> <div id="wrapper-facephoto" class="wrapper-view block-photo">
<div class="facephoto view"> <div class="facephoto view">
<h3 class="title">Take Your Photo</h3> <h3 class="title">Take Your Photo</h3>
<div class="instruction"> <div class="instruction">
...@@ -230,7 +237,7 @@ ...@@ -230,7 +237,7 @@
<div class="wrapper-task"> <div class="wrapper-task">
<div id="facecam" class="task cam"> <div id="facecam" class="task cam">
<div class="placeholder-cam"> <div class="placeholder-cam">
<video id="face_video" width="400" height="300" autoplay></video><br/> <video id="face_video" width="500" height="375" autoplay></video><br/>
<canvas id="face_canvas" style="display:none;" width="640" height="480"></canvas> <canvas id="face_canvas" style="display:none;" width="640" height="480"></canvas>
</div> </div>
...@@ -258,20 +265,20 @@ ...@@ -258,20 +265,20 @@
</div> </div>
<div class="wrapper-help"> <div class="wrapper-help">
<div class="help-task photo-tips facetips"> <div class="help help-task photo-tips facetips">
<h4 class="title">Tips on taking a successful photo</h4> <h4 class="title">Tips on taking a successful photo</h4>
<div class="copy"> <div class="copy">
<ul> <ul class="list-help">
<li>Make sure your face is well-lit</li> <li class="help-item">Make sure your face is well-lit</li>
<li>Be sure your entire face is inside the frame</li> <li class="help-item">Be sure your entire face is inside the frame</li>
<li>Can we match the photo you took with the one on your ID?</li> <li class="help-item">Can we match the photo you took with the one on your ID?</li>
<li>Click the checkmark once you are happy with the photo</li> <li class="help-item">Click the checkmark once you are happy with the photo</li>
</ul> </ul>
</div> </div>
</div> </div>
<div class="help-faq facefaq"> <div class="help help-faq facefaq">
<h4 class="sr title">Common Questions</h4> <h4 class="sr title">Common Questions</h4>
<div class="copy"> <div class="copy">
...@@ -292,7 +299,7 @@ ...@@ -292,7 +299,7 @@
<ol class="wizard-steps"> <ol class="wizard-steps">
<li class="wizard-step"> <li class="wizard-step">
<a class="next" id="face_next_button" href="#next" aria-hidden="true" title="Next">Go to Step 2: Take ID Photo</a> <a class="next action-primary" id="face_next_button" href="#next" aria-hidden="true" title="Next">Go to Step 2: Take ID Photo</a>
</li> </li>
</ol> </ol>
</nav> </nav>
...@@ -300,7 +307,7 @@ ...@@ -300,7 +307,7 @@
</div> <!-- /view --> </div> <!-- /view -->
</div> <!-- /wrapper-view --> </div> <!-- /wrapper-view -->
<div id="wrapper-view wrapper-idphoto" class="block-photo"> <div id="wrapper-idphoto" class="wrapper-view block-photo">
<div class="idphoto view"> <div class="idphoto view">
<h3 class="title">Show Us Your ID</h3> <h3 class="title">Show Us Your ID</h3>
<div class="instruction"> <div class="instruction">
...@@ -310,7 +317,7 @@ ...@@ -310,7 +317,7 @@
<div class="wrapper-task"> <div class="wrapper-task">
<div id="idcam" class="task cam"> <div id="idcam" class="task cam">
<div class="placeholder-cam"> <div class="placeholder-cam">
<video id="photo_id_video" width="400" height="300" autoplay></video><br/> <video id="photo_id_video" width="500" height="375" autoplay></video><br/>
<canvas id="photo_id_canvas" style="display:none;" width="640" height="480"></canvas> <canvas id="photo_id_canvas" style="display:none;" width="640" height="480"></canvas>
</div> </div>
...@@ -338,7 +345,7 @@ ...@@ -338,7 +345,7 @@
</div> </div>
<div class="wrapper-help"> <div class="wrapper-help">
<div class="help-task photo-tips facetips"> <div class="help help-task photo-tips facetips">
<h4 class="title">Tips on taking a successful photo</h4> <h4 class="title">Tips on taking a successful photo</h4>
<div class="copy"> <div class="copy">
...@@ -351,7 +358,7 @@ ...@@ -351,7 +358,7 @@
</div> </div>
</div> </div>
<div class="help-faq facefaq"> <div class="help help-faq facefaq">
<h4 class="sr title">Common Questions</h4> <h4 class="sr title">Common Questions</h4>
<div class="copy"> <div class="copy">
...@@ -372,14 +379,14 @@ ...@@ -372,14 +379,14 @@
<ol class="wizard-steps"> <ol class="wizard-steps">
<li class="wizard-step"> <li class="wizard-step">
<a class="next" id="photo_id_next_button" href="#next" aria-hidden="true" title="Next">Go to Step 3: Review Your Info</a> <a class="next action-primary" id="photo_id_next_button" href="#next" aria-hidden="true" title="Next">Go to Step 3: Review Your Info</a>
</li> </li>
</ol> </ol>
</nav> </nav>
</div> <!-- /view --> </div> <!-- /view -->
</div> <!-- /wrapper-view --> </div> <!-- /wrapper-view -->
<div id="wrapper-view wrapper-review"> <div id="wrapper-review" class="wrapper-view">
<div class="review view"> <div class="review view">
<h3 class="title">Verify Your Submission</h3> <h3 class="title">Verify Your Submission</h3>
<div class="instruction"> <div class="instruction">
...@@ -388,36 +395,36 @@ ...@@ -388,36 +395,36 @@
<div class="wrapper-task"> <div class="wrapper-task">
<ol class="review-tasks"> <ol class="review-tasks">
<li class="review-task"> <li class="review-task review-task-name">
<h4 class="title">Check Your Name</h4> <h4 class="title">Check Your Name</h4>
<div class="copy"> <div class="copy">
<p>Make sure your full name on your edX account, [User Name], matches your ID. We will also use this as the name on your certificate.</p> <p>Make sure your full name on your edX account, [User Name], matches your ID. We will also use this as the name on your certificate.</p>
</div> </div>
<ul class="actions"> <ul class="list-actions">
<li class="action action-editname"> <li class="action action-editname">
<a rel="modal" class="edit-name" href="#">Edit my name</a> <a rel="modal" class="edit-name" href="#">Edit my name</a>
</li> </li>
</ul> </ul>
</li> </li>
<li class="review-task"> <li class="review-task review-task-photos">
<h4 class="title">Review the Photos You've Taken</h4> <h4 class="title">Review the Photos You've Taken</h4>
<div class="copy"> <div class="copy">
<p>Make sure your full name on your edX account, [User Name], matches your ID. We will also use this as the name on your certificate.</p> <p>Make sure your full name on your edX account, <strong>[User Name]</strong>, matches your ID. We will also use this as the name on your certificate.</p>
</div> </div>
<ol class="wrapper-photos"> <ol class="wrapper-photos">
<li class="wrapper-photo"> <li class="wrapper-photo">
<div class="placeholder-photo"> <div class="placeholder-photo">
<img id="face_image" width="512" height="384" src=""/> <img id="face_image" src=""/>
</div> </div>
<div class="help-tips"> <div class="help-tips">
<h5>The photo above needs to meet the following requirements:</h5> <h5 class="title">The photo above needs to meet the following requirements:</h5>
<ul class="list-tips"> <ul class="list-help list-tips copy">
<li class="tip">Be well lit</li> <li class="tip">Be well lit</li>
<li class="tip">Show your whole face</li> <li class="tip">Show your whole face</li>
<li class="tip">Match your ID</li> <li class="tip">Match your ID</li>
...@@ -427,12 +434,12 @@ ...@@ -427,12 +434,12 @@
<li class="wrapper-photo"> <li class="wrapper-photo">
<div class="placeholder-photo"> <div class="placeholder-photo">
<img id="photo_id_image" width="512" height="384" src=""/> <img id="photo_id_image" src=""/>
</div> </div>
<div class="help-tips"> <div class="help-tips">
<h5>The photo above needs to meet the following requirements:</h5> <h5 class="title">The photo above needs to meet the following requirements:</h5>
<ul class="list-tips"> <ul class="list-help list-tips copy">
<li class="tip">Be readable (not too far away, no glare)</li> <li class="tip">Be readable (not too far away, no glare)</li>
<li class="tip">Show your name</li> <li class="tip">Show your name</li>
<li class="tip">Match the photo of your face and your name above</li> <li class="tip">Match the photo of your face and your name above</li>
...@@ -440,53 +447,69 @@ ...@@ -440,53 +447,69 @@
</div> </div>
</li> </li>
</ol> </ol>
<div class="msg msg-retake msg-followup">
<div class="copy">
<p>Photos don't meet the requirements?</p>
</div>
<ul class="list-actions">
<li class="action action-retakephotos">
<a class="retake-photos" href="#">Retake Your Photos</a>
</li>
</ul>
</div>
</li> </li>
<li class="review-task"> <li class="review-task review-task-contribution">
<h4 class="title">Check Your Contribution Level</h4> <h4 class="title">Check Your Contribution Level</h4>
<div class="copy"> <div class="copy">
<p>Please confirm your contribution for this course:</p> <p>Please confirm your contribution for this course:</p>
</div> </div>
<ul class="contribution-options"> <ul class="contribution-options list-fields">
<li class="contribution-option"> <li class="contribution-option field">
<input type="radio" id="contribution-25" name="contribution"> <input type="radio" id="contribution-25" name="contribution">
<label for="contribution-25"> <label for="contribution-25">
<span class="deco-denomination">$</span> <span class="deco-denomination">$</span>
<span class="label-value">25</span> <span class="label-value">25</span>
<span class="denomination-name">USD</span> <span class="denomination-name"><abbr title="United States Dollars"><abbr title="United States Dollars">USD</abbr></abbr></span>
</label> </label>
</li> </li>
<li class="contribution-option"> <li class="field contribution-option">
<input type="radio" id="contribution-50" name="contribution"> <input type="radio" id="contribution-50" name="contribution">
<label for="contribution-50"> <label for="contribution-50">
<span class="deco-denomination">$</span> <span class="deco-denomination">$</span>
<span class="label-value">50</span> <span class="label-value">50</span>
<span class="denomination-name">USD</span> <span class="denomination-name"><abbr title="United States Dollars">USD</abbr></span>
</label> </label>
</li> </li>
<li class="contribution-option"> <li class="field contribution-option">
<input type="radio" id="contribution-100" name="contribution"> <input type="radio" id="contribution-100" name="contribution">
<label for="contribution-100"> <label for="contribution-100">
<span class="deco-denomination">$</span> <span class="deco-denomination">$</span>
<span class="label-value">100</span> <span class="label-value">100</span>
<span class="denomination-name">USD</span> <span class="denomination-name"><abbr title="United States Dollars">USD</abbr></span>
</label> </label>
</li> </li>
<li class="contribution-option contribution-option-other1"> <li class="field">
<input type="radio" id="contribution-other" name="contribution"> <ul class="field-group field-group-other">
<label for="contribution-other"><span class="sr">Other</span></label> <li class="contribution-option contribution-option-other1">
</li> <input type="radio" id="contribution-other" name="contribution">
<li class="contribution-option contribution-option-other2"> <label for="contribution-other"><span class="sr">Other</span></label>
<label for="contribution-other-amt"> </li>
<span class="sr">Other Amount</span> <li class="contribution-option contribution-option-other2">
</label> <label for="contribution-other-amt">
<div class="wrapper"> <span class="sr">Other Amount</span>
<span class="deco-denomination">$</span> </label>
<input type="text" size="5" name="contribution-other-amt" id="contribution-other-amt" /> <div class="wrapper">
<span class="denomination-name">USD</span> <span class="deco-denomination">$</span>
</div> <input type="text" size="5" id="contribution-other-amt" name="contribution-other-amt" id="contribution-other-amt" />
<span class="denomination-name"><abbr title="United States Dollars">USD</abbr></span>
</div>
</li>
</ul>
</li> </li>
</ul> </ul>
</li> </li>
...@@ -497,19 +520,16 @@ ...@@ -497,19 +520,16 @@
<span class="help help-inline">Once you verify your details match the requirements, you can move on to step 4, payment on our secure server.</span> <span class="help help-inline">Once you verify your details match the requirements, you can move on to step 4, payment on our secure server.</span>
<ol class="wizard-steps"> <ol class="wizard-steps">
<li class="wizard-step"> <li class="wizard-step step-match">
<input type="checkbox" name="match" id="confirm_pics_good" />
<label for="confirm_pics_good">Yes! My details all match.</label>
</li>
<li class="wizard-step step-proceed">
<form id="pay_form" method="post" action="${purchase_endpoint}"> <form id="pay_form" method="post" action="${purchase_endpoint}">
<input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }"> <input type="hidden" name="csrfmiddlewaretoken" value="${ csrf_token }">
<input type="hidden" name="course_id" value="${course_id | h}" /> <input type="hidden" name="course_id" value="${course_id | h}" />
<button type="submit" class="action-primary" id="pay_button">Go to Step 4: Secure Payment</button>
<ul class="list-fields"> <!-- <input class="action-primary" type="button" id="pay_button" value="Go to Step 4: Secure Payment" name="payment"> -->
<li class="field field-match">
<input type="checkbox" name="match" id="confirm_pics_good" />
<label for="match">Yes! My details all match.</label>
</li>
</ul>
<input type="button" id="pay_button" value="Go to Step 4: Secure Payment" name="payment">
</form> </form>
</li> </li>
</ol> </ol>
...@@ -524,7 +544,7 @@ ...@@ -524,7 +544,7 @@
<aside class="content-supplementary"> <aside class="content-supplementary">
<ul class="list-help"> <ul class="list-help">
<li class="help-item"> <li class="help-item">
<h3 class="title"><i class="icon-question-sign"></i> Have questions?</h3> <h3 class="title">Have questions?</h3>
<div class="copy"> <div class="copy">
<p>Please read <a rel="external" href="">our FAQs to view common questions about our certificates</a>.</p> <p>Please read <a rel="external" href="">our FAQs to view common questions about our certificates</a>.</p>
</div> </div>
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
<%! from django.core.urlresolvers import reverse %> <%! from django.core.urlresolvers import reverse %>
<%inherit file="../main.html" /> <%inherit file="../main.html" />
<%block name="bodyclass">register verification-process step-requirements</%block> <%block name="bodyclass">register verification-process step-requirements</%block>
<%block name="title"><title>${("Register for [Course Name]")}</title></%block>
<%block name="content"> <%block name="content">
<div class="container"> <div class="container">
...@@ -9,9 +10,14 @@ ...@@ -9,9 +10,14 @@
<header class="page-header"> <header class="page-header">
<h2 class="title"> <h2 class="title">
<span class="status-track">(ID Verified)</span> <span class="wrapper-sts">
<span class="status">You are registering for</span> <span class="sts">You are registering for</span>
<span class="status-course">${course_id} </span> <span class="sts-course">${course_id}</span>
</span>
<span class="sts-track">
<span class="sts-track-label">Registering as: </span>
<span class="sts-track-value">ID Verified</span>
</span>
</h2> </h2>
</header> </header>
...@@ -19,41 +25,43 @@ ...@@ -19,41 +25,43 @@
<section class="progress"> <section class="progress">
<h3 class="sr title">Your Progress</h3> <h3 class="sr title">Your Progress</h3>
<span class="progress-status">
<span class="progress-status-value"></span>
</span>
<ol class="progress-steps"> <ol class="progress-steps">
<li class="progress-step is-completed" id="progress-step0"> <li class="progress-step is-current" id="progress-step0">
<span class="step-number">0</span> <span class="wrapper-step-number"><span class="step-number">0</span></span>
<span class="step-name">Intro</span> <span class="step-name">Intro</span>
</li> </li>
<li class="progress-step" id="progress-step1"> <li class="progress-step" id="progress-step1">
<span class="step-number">1</span> <span class="wrapper-step-number"><span class="step-number">1</span></span>
<span class="step-name"><span class="sr">Current Step: </span>Take Photo</span> <span class="step-name"><span class="sr">Current Step: </span>Take Photo</span>
</li> </li>
<li class="progress-step" id="progress-step2"> <li class="progress-step" id="progress-step2">
<span class="step-number">2</span> <span class="wrapper-step-number"><span class="step-number">2</span></span>
<span class="step-name">Intro</span> <span class="step-name">Take ID Photo</span>
</li> </li>
<li class="progress-step" id="progress-step3"> <li class="progress-step" id="progress-step3">
<span class="step-number">3</span> <span class="wrapper-step-number"><span class="step-number">3</span></span>
<span class="step-name">Intro</span> <span class="step-name">Review</span>
</li> </li>
<li class="progress-step" id="progress-step4"> <li class="progress-step" id="progress-step4">
<span class="step-number">4</span> <span class="wrapper-step-number"><span class="step-number">4</span></span>
<span class="step-name">Intro</span> <span class="step-name">Make Payment</span>
</li> </li>
<li class="progress-step" id="progress-step5"> <li class="progress-step" id="progress-step5">
<span class="step-number">5</span> <span class="wrapper-step-number"><span class="step-number">
<i class="icon-ok"></i>
</span></span>
<span class="step-name">Confirmation</span> <span class="step-name">Confirmation</span>
</li> </li>
</ol> </ol>
<span class="progress-sts">
<span class="progress-sts-value"></span>
</span>
</section> </section>
</div> </div>
...@@ -68,9 +76,10 @@ ...@@ -68,9 +76,10 @@
<ul class="list-reqs"> <ul class="list-reqs">
<li class="req req-1 req-id"> <li class="req req-1 req-id">
<h4>Identification</h4> <h4 class="title">Identification</h4>
<div class="placeholder-art"> <div class="placeholder-art">
<i class="icon-credit-card"></i> <i class="icon-list-alt icon-under"></i>
<i class="icon-user icon-over"></i>
</div> </div>
<div class="copy"> <div class="copy">
...@@ -82,7 +91,7 @@ ...@@ -82,7 +91,7 @@
</li> </li>
<li class="req req-2 req-webcam"> <li class="req req-2 req-webcam">
<h4>Webcam</h4> <h4 class="title">Webcam</h4>
<div class="placeholder-art"> <div class="placeholder-art">
<i class="icon-facetime-video"></i> <i class="icon-facetime-video"></i>
</div> </div>
...@@ -96,7 +105,7 @@ ...@@ -96,7 +105,7 @@
</li> </li>
<li class="req req-3 req-payment"> <li class="req req-3 req-payment">
<h4>Credit or Debit Card</h4> <h4 class="title">Credit or Debit Card</h4>
<div class="placeholder-art"> <div class="placeholder-art">
<i class="icon-credit-card"></i> <i class="icon-credit-card"></i>
</div> </div>
...@@ -111,11 +120,11 @@ ...@@ -111,11 +120,11 @@
</ul> </ul>
<nav class="nav-wizard"> <nav class="nav-wizard">
<span class="help help-inline">Once you verify your photo looks good, you can move on to step 2.</span> <span class="help help-inline">Missing something? You can always <a href="">audit this course instead</a></span>
<ol class="wizard-steps"> <ol class="wizard-steps">
<li class="wizard-step"> <li class="wizard-step">
<a class="next" id="face_next_button" href="${reverse('verify_student_verify') + '?course_id=' + course_id}">Go to Step 1: Take my Photo</a> <a class="next action-primary" id="face_next_button" href="${reverse('verify_student_verify') + '?course_id=' + course_id}">Go to Step 1: Take my Photo</a>
</li> </li>
</ol> </ol>
</nav> </nav>
...@@ -126,7 +135,7 @@ ...@@ -126,7 +135,7 @@
<aside class="content-supplementary"> <aside class="content-supplementary">
<ul class="list-help"> <ul class="list-help">
<li class="help-item"> <li class="help-item">
<h3 class="title"><i class="icon-question-sign"></i> Have questions?</h3> <h3 class="title">Have questions?</h3>
<div class="copy"> <div class="copy">
<p>Please read <a rel="external" href="">our FAQs to view common questions about our certificates</a>.</p> <p>Please read <a rel="external" href="">our FAQs to view common questions about our certificates</a>.</p>
</div> </div>
......
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