From 3987120496750a0d6050f41c22cee035e2cf3bef Mon Sep 17 00:00:00 2001 From: Brian Talbot Date: Fri, 21 Dec 2012 13:04:22 -0500 Subject: [PATCH] test center registration - further UI design and styling on form and dashboard tweaks --- lms/static/sass/multicourse/_dashboard.scss | 5 + lms/templates/dashboard.html | 2 +- lms/templates/test_center_register.html | 351 ++++++++++++++------ 3 files changed, 253 insertions(+), 105 deletions(-) diff --git a/lms/static/sass/multicourse/_dashboard.scss b/lms/static/sass/multicourse/_dashboard.scss index 8383b01a54..90a9d7239b 100644 --- a/lms/static/sass/multicourse/_dashboard.scss +++ b/lms/static/sass/multicourse/_dashboard.scss @@ -478,9 +478,14 @@ .exam-registration-number { font-family: $sans-serif; font-size: 18px; + + a { + font-family: $sans-serif; + } } &.exam-register { + .message-copy { margin-top: 5px; } diff --git a/lms/templates/dashboard.html b/lms/templates/dashboard.html index 1f1553d90c..384ffec0ac 100644 --- a/lms/templates/dashboard.html +++ b/lms/templates/dashboard.html @@ -247,7 +247,7 @@
Schedule Pearson exam -

Registration number: edx00015879548

+

Registration number: edx00015879548

Write this down! You’ll need it to schedule your exam.

% endif diff --git a/lms/templates/test_center_register.html b/lms/templates/test_center_register.html index 8d5f7cb206..e9e9539d2f 100644 --- a/lms/templates/test_center_register.html +++ b/lms/templates/test_center_register.html @@ -123,117 +123,260 @@ exam_info = course.testcenter_info

${get_course_about_section(course, 'university')} ${course.number} ${course.title}

+ + % if len(registrations) > 0: +

Your Pearson VUE Proctored Exam Registration

+ % else:

Register for a Pearson VUE Proctored Exam

-
- - - % if course.has_ended(): - Course Completed: ${course.end_date_text} - % elif course.has_started(): - Course Started: ${course.start_date_text} - % else: # hasn't started yet - Course Starts: ${course.start_date_text} % endif - +
+ + +
-
- + +
+

Your registration data has been updated and saved.

+
+ + + + % if message: +
+

${message}

+
+ % endif + + +
+

We're Sorry, but there was an error with the information you provided below:

- - - % if message: -
-

${message}

-
- % endif - -
- - - - - - -
- - -
- - -
- - -
- - -
- - -
-
- -
- - -
- - -
- - -
- - - - - -
- - - - -
- -
- - - - - - -
- - - - -
- - -
-
- -

The following is included here just so it can be input within the form. But it is not part of the demographics, and it is not something that can be changed once input.

-
- - -
+
+
+ +
+ + + % if len(registrations) > 0: +

+ Please complete the following form to update your demographic information used in your Pearson VUE Porctored Exam. Required fields are noted by bold text and an asterisk (*). +

+ % else: +

+ Please provide the following demographic information to register for a Pearson VUE Porctored Exam. Required fields are noted by bold text and an asterisk (*). +

+ % endif + + + + + -% if len(registrations) > 0: -
- -
- % else: -
- -
- % endif +
+
+ + +
    +
  1. + + +
  2. + +
  3. + + +
  4. +
  5. + + +
  6. +
  7. + + +
  8. +
  9. + + +
  10. +
+
+ +
+ + +
    +
  1. + + +
  2. +
  3. +
    + + +
    +
    + + +
    +
  4. +
  5. +
    + + +
    +
    + + +
    +
    + + +
    +
  6. +
+
+ +
+ + +
    +
  1. +
    + + +
    +
    + + +
    +
    + + +
    +
  2. +
  3. +
    + + +
    +
    + + +
    +
  4. +
  5. + + +
  6. +
+
+
+ +
+ + % if len(registrations) > 0: +

Fields below this point are not part of the demographics, and are not editable currently.

+ % else: +

Fields below this point are not part of the demographics, and cannot be changed once submitted.

+ % endif + +
+ + +
    + % if len(registrations) > 0: +
  1. + + +
  2. + % else: +
  3. + + +
  4. + % endif +
+
+
+ +
+ % if len(registrations) > 0: + + % else: + + % endif +
+ +
- - + + \ No newline at end of file