From e1cba4b0b4927ad7b44876d472135cb191371976 Mon Sep 17 00:00:00 2001 From: marco Date: Fri, 9 Aug 2013 11:26:59 -0400 Subject: [PATCH] cleaned up html structure for various pages, style fixed for show/hide prompt item --- .../css/combinedopenended/display.scss | 4 + .../js/fixtures/combined-open-ended.html | 121 +++++++++--------- lms/static/sass/course/_rubric.scss | 1 + .../combined_open_ended.html | 3 +- .../combined_open_ended_results.html | 10 +- .../openended/open_ended_combined_rubric.html | 2 +- 6 files changed, 77 insertions(+), 64 deletions(-) diff --git a/common/lib/xmodule/xmodule/css/combinedopenended/display.scss b/common/lib/xmodule/xmodule/css/combinedopenended/display.scss index b63e04d20e..4565f73bc8 100644 --- a/common/lib/xmodule/xmodule/css/combinedopenended/display.scss +++ b/common/lib/xmodule/xmodule/css/combinedopenended/display.scss @@ -132,6 +132,10 @@ section.combined-open-ended-status { border-radius: 0 $baseline/4 $baseline/4 0; border-right: 0px; } + + &:only-child { + border-radius: $baseline/4; + } .show-results { margin-top: .3em; diff --git a/common/lib/xmodule/xmodule/js/fixtures/combined-open-ended.html b/common/lib/xmodule/xmodule/js/fixtures/combined-open-ended.html index abea783ae8..5cd1113103 100644 --- a/common/lib/xmodule/xmodule/js/fixtures/combined-open-ended.html +++ b/common/lib/xmodule/xmodule/js/fixtures/combined-open-ended.html @@ -1,75 +1,78 @@
-
+
- -

Problem 1

-
-

Status

-
-
- -
- - Step 1 (Problem complete) : 1 / 1 +

Problem 1

+
+

Status

+
+
+
+ Step 1 (Problem complete) : 1 / 1 - -
- -
- - Step 2 (Being scored) : None / 1 +
+
+ Step 2 (Being scored) : None / 1 - +
+
+
-
-
- -
- -
-

Problem

+
+

Problem

-
-
- - Some prompt. - -
-
-
- Submitted for grading. - -
- -
- - -
+
+
+
+
+
+ Some prompt. +
+ +
+
+ Submitted for grading. +
+ + +
+ +
- - - - +
+ +
- -
-
-
- - -
- -
- Edit / - +
+ +
+ + +
+ + +
+ + + + Edit + / + QA -
-
Staff Debug Info
+ })" id="i4x_MITx_6_002x_combinedopenended_CombinedOE_xqa_log">QA + + +
+ + Staff Debug Info + +