Merge remote-tracking branch 'origin/feature/vik/oe-ui' into feature/vik/oe-ui
This commit is contained in:
@@ -39,56 +39,74 @@ section.combined-open-ended {
|
||||
}
|
||||
|
||||
div.problemwrapper {
|
||||
padding: $baseline/4;
|
||||
border: 1px solid;
|
||||
border-color: lightgray;
|
||||
border-radius: 10px;
|
||||
border: 1px solid lightgray;
|
||||
border-radius: $baseline/2;
|
||||
|
||||
.status-bar {
|
||||
display: inline-block;
|
||||
float: right;
|
||||
padding: 5px;
|
||||
|
||||
.problemtype{
|
||||
display: inline;
|
||||
float: left;
|
||||
padding: $baseline/2;
|
||||
border-radius: 5px;
|
||||
background-color: #d4d4d4;
|
||||
}
|
||||
background-color: #eee;
|
||||
border-radius: $baseline/2 $baseline/2 0 0;
|
||||
border-bottom: 1px solid lightgray;
|
||||
|
||||
.statustable {
|
||||
width: 750px;
|
||||
width: 100%;
|
||||
padding: $baseline;
|
||||
}
|
||||
|
||||
.status-container {
|
||||
display: inline-block;
|
||||
padding-bottom: $baseline/4;
|
||||
display: table-cell;
|
||||
text-align: center;
|
||||
|
||||
.status-elements {
|
||||
border-radius: $baseline/4;
|
||||
border: 1px solid lightgray;
|
||||
}
|
||||
}
|
||||
|
||||
.problemtype-container {
|
||||
width: 40%;
|
||||
padding-top: 12px;
|
||||
padding: $baseline/2;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.problemtype{
|
||||
padding: $baseline/2;
|
||||
}
|
||||
|
||||
.assessments-container {
|
||||
width: 30%;
|
||||
padding: $baseline/2 $baseline $baseline/2 $baseline/2;
|
||||
float: right;
|
||||
|
||||
.assessment-text {
|
||||
display: inline-block;
|
||||
display: table-cell;
|
||||
padding-right: $baseline/2;
|
||||
}
|
||||
}
|
||||
}
|
||||
.item-container {
|
||||
@clearfix
|
||||
padding-bottom: 10px;
|
||||
display: inline-block;
|
||||
margin: 0px 15px 0px 15px;
|
||||
padding-bottom: $baseline/2;
|
||||
margin: 15px;
|
||||
|
||||
h4 {
|
||||
.visibility-control-prompt {
|
||||
display: block;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
|
||||
.inner {
|
||||
float: left;
|
||||
height: 5px;
|
||||
margin-top: 17px;
|
||||
border-top: 1px dotted #ddd;
|
||||
width: 85%;
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
text-align: center;
|
||||
width: 15%;
|
||||
float: right;
|
||||
padding-top: $baseline/2;
|
||||
border-top: 1px solid;
|
||||
border-color: lightgray;
|
||||
font-size: .9em;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -101,33 +119,36 @@ div.problemwrapper {
|
||||
|
||||
section.legend-container {
|
||||
margin: 15px;
|
||||
border-radius: $baseline/4;
|
||||
|
||||
.legenditem {
|
||||
display: inline;
|
||||
padding: 2px;
|
||||
padding: $baseline/2;
|
||||
width: 20%;
|
||||
background-color : #d4d4d4;
|
||||
background-color : #eee;
|
||||
font-size: .9em;
|
||||
}
|
||||
}
|
||||
|
||||
section.combined-open-ended-status {
|
||||
padding: $baseline $baseline $baseline 0;
|
||||
vertical-align: center;
|
||||
|
||||
.statusitem {
|
||||
display: inline;
|
||||
display: table-cell;
|
||||
padding: $baseline/2;
|
||||
width: 20%;
|
||||
background-color : #d4d4d4;
|
||||
width: 30px;
|
||||
background-color: #eee;
|
||||
color: #2c2c2c;
|
||||
font-size: .9em;
|
||||
border-right: 1px solid lightgray;
|
||||
|
||||
&:first-child {
|
||||
border-bottom-left-radius: 10px;
|
||||
border-radius: $baseline/4 0 0 $baseline/4;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-top-right-radius: 10px;
|
||||
border-radius: 0 $baseline/4 $baseline/4 0;
|
||||
border-right: 0px;
|
||||
}
|
||||
|
||||
.show-results {
|
||||
@@ -141,8 +162,9 @@ section.combined-open-ended-status {
|
||||
}
|
||||
|
||||
.statusitem-current {
|
||||
background-color: #B2B2B2;
|
||||
color: #222;
|
||||
background-color: #fff;
|
||||
box-shadow: inset 0 1px 1px gray;
|
||||
color: #222;
|
||||
}
|
||||
|
||||
span {
|
||||
@@ -187,15 +209,29 @@ div.combined-rubric-container {
|
||||
padding-top: 10px;
|
||||
|
||||
ul.rubric-list {
|
||||
margin: 4px;
|
||||
margin: 0 $baseline $baseline/2 $baseline;
|
||||
padding: 0;
|
||||
list-style-type: none;
|
||||
|
||||
li {
|
||||
|
||||
&.rubric-list-item {
|
||||
margin-bottom: 2px;
|
||||
padding: 0px;
|
||||
}
|
||||
}
|
||||
|
||||
.score-selection {
|
||||
//display: inline-block;
|
||||
//padding-right: $baseline/2;
|
||||
//width: 5%;
|
||||
//vertical-align: center;
|
||||
}
|
||||
|
||||
.wrappable {
|
||||
//display: inline-block;
|
||||
//width: 94%;
|
||||
}
|
||||
}
|
||||
h4 {
|
||||
padding-top: 10px;
|
||||
@@ -204,8 +240,11 @@ div.combined-rubric-container {
|
||||
}
|
||||
|
||||
span.rubric-category {
|
||||
font-size: .9em;
|
||||
display: block;
|
||||
width: 100%;
|
||||
border-bottom: 1px solid lightgray;
|
||||
font-weight: bold;
|
||||
font-size: .9em;
|
||||
}
|
||||
|
||||
label.choicegroup_correct {
|
||||
@@ -525,6 +564,7 @@ section.open-ended-child {
|
||||
@include clearfix;
|
||||
overflow-y: auto;
|
||||
margin-bottom: 0;
|
||||
padding: $baseline/2;
|
||||
height: 200px;
|
||||
border: 1px solid #ddd;
|
||||
background: #f6f6f6;
|
||||
@@ -535,8 +575,8 @@ section.open-ended-child {
|
||||
margin-bottom: $baseline;
|
||||
padding: 9px;
|
||||
border: 1px solid #ddd;
|
||||
border-top: 0px;
|
||||
background: #F6F6F6;
|
||||
border-top: 0;
|
||||
background: #f6f6f6;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
@@ -756,8 +796,6 @@ section.open-ended-child {
|
||||
}
|
||||
|
||||
h4 {
|
||||
padding-top: $baseline/2;
|
||||
border-color: lightgray;
|
||||
border-top: 1px solid;
|
||||
padding: $baseline/2 0;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -561,11 +561,11 @@ class @CombinedOpenEnded
|
||||
@prompt_container.slideToggle()
|
||||
@prompt_container.toggleClass('open')
|
||||
if @question_header.text() == "(Hide)"
|
||||
new_text = "(Show)"
|
||||
new_text = "↧ Show Prompt"
|
||||
Logger.log 'oe_hide_question', {location: @location}
|
||||
else
|
||||
Logger.log 'oe_show_question', {location: @location}
|
||||
new_text = "(Hide)"
|
||||
new_text = "↥ Hide Prompt"
|
||||
@question_header.text(new_text)
|
||||
return false
|
||||
|
||||
@@ -573,13 +573,13 @@ class @CombinedOpenEnded
|
||||
if @prompt_container.is(":hidden")==true
|
||||
@prompt_container.slideToggle()
|
||||
@prompt_container.toggleClass('open')
|
||||
@question_header.text("(Hide)")
|
||||
@question_header.text("↥ Hide Prompt")
|
||||
|
||||
prompt_hide: () =>
|
||||
if @prompt_container.is(":visible")==true
|
||||
@prompt_container.slideToggle()
|
||||
@prompt_container.toggleClass('open')
|
||||
@question_header.text("(Show)")
|
||||
@question_header.text("↧ Show Prompt")
|
||||
|
||||
log_feedback_click: (event) ->
|
||||
link_text = @$(event.target).html()
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<tr>
|
||||
<td class="problemtype-container">
|
||||
<div class="problemtype">
|
||||
Open Response Assessment
|
||||
Open Response
|
||||
</div>
|
||||
</td>
|
||||
<td class="assessments-container">
|
||||
@@ -27,7 +27,11 @@
|
||||
</div>
|
||||
|
||||
<div class="item-container">
|
||||
<h4>Prompt <a href="#" class="question-header">(Hide)</a> </h4>
|
||||
<div class="visibility-control visibility-control-prompt">
|
||||
<div class="inner">
|
||||
</div>
|
||||
<a href="" class="question-header">↥ Hide Prompt</a>
|
||||
</div>
|
||||
<div class="problem-container">
|
||||
% for item in items:
|
||||
<div class="item">${item['content'] | n}</div>
|
||||
|
||||
Reference in New Issue
Block a user