Commit 5ae6ce9d by Vik Paruchuri

Add in css borders

parent 579b66d9
...@@ -36,28 +36,40 @@ div.name{ ...@@ -36,28 +36,40 @@ div.name{
} }
section.combined-open-ended { section.combined-open-ended {
@include clearfix; @include clearfix;
}
div.problemwrapper {
border: 1px solid;
border-color: lightgray;
-webkit-border-radius: 20px;
-moz-border-radius: 20px;
border-radius: 20px;
padding: 5px;
.status-bar .status-bar
{ {
float: right; float: right;
display: inline-block; display: inline-block;
padding: 5px;
.problemtype{ .problemtype{
display: inline; display: inline;
margin-right: 140px; margin-right: 135px;
} }
.status-container .status-container
{ {
padding-bottom: 5px; padding-bottom: 5px;
display: inline-block; display: inline-block;
padding-right: 20px
} }
border-bottom: 1px solid;
border-color: lightgray;
} }
.item-container .item-container
{ {
padding-bottom: 10px; padding-bottom: 10px;
display: inline-block; display: inline-block;
padding: 15px;
} }
.result-container .result-container
...@@ -66,10 +78,6 @@ section.combined-open-ended { ...@@ -66,10 +78,6 @@ section.combined-open-ended {
width: 100%; width: 100%;
position:relative; position:relative;
} }
h4
{
margin-bottom:10px;
}
} }
section.legend-container { section.legend-container {
...@@ -694,4 +702,8 @@ section.open-ended-child { ...@@ -694,4 +702,8 @@ section.open-ended-child {
} }
} }
div.prompt{
padding: 10px;
background-color:white;
}
} }
...@@ -140,8 +140,6 @@ class @CombinedOpenEnded ...@@ -140,8 +140,6 @@ class @CombinedOpenEnded
@accept_file_upload = @coe.data('accept-file-upload') @accept_file_upload = @coe.data('accept-file-upload')
@location = @coe.data('location') @location = @coe.data('location')
console.log(@child_state)
# set up handlers for click tracking # set up handlers for click tracking
Rubric.initialize(@location,@coe) Rubric.initialize(@location,@coe)
@is_ctrl = false @is_ctrl = false
...@@ -174,8 +172,6 @@ class @CombinedOpenEnded ...@@ -174,8 +172,6 @@ class @CombinedOpenEnded
console.log(@results_container) console.log(@results_container)
@combined_rubric_container = @$(@combined_rubric_sel) @combined_rubric_container = @$(@combined_rubric_sel)
@legend_container= @$(@legend_sel)
@show_legend_current()
# Where to put the rubric once we load it # Where to put the rubric once we load it
console.log("started child") console.log("started child")
...@@ -205,6 +201,10 @@ class @CombinedOpenEnded ...@@ -205,6 +201,10 @@ class @CombinedOpenEnded
else if @task_number==1 and @child_state!='initial' else if @task_number==1 and @child_state!='initial'
@prompt_hide() @prompt_hide()
if @child_state!="initial"
@show_legend_current()
@legend_container= @$(@legend_sel)
@find_assessment_elements() @find_assessment_elements()
@find_hint_elements() @find_hint_elements()
...@@ -339,6 +339,7 @@ class @CombinedOpenEnded ...@@ -339,6 +339,7 @@ class @CombinedOpenEnded
if @task_number==1 and @task_count==1 if @task_number==1 and @task_count==1
@grader_status = @$(@grader_status_sel) @grader_status = @$(@grader_status_sel)
@grader_status.html("<p>Response submitted for scoring.</p>") @grader_status.html("<p>Response submitted for scoring.</p>")
@legend_container.hide()
else if @child_state == 'post_assessment' else if @child_state == 'post_assessment'
if @child_type=="openended" if @child_type=="openended"
@skip_button.show() @skip_button.show()
......
...@@ -5,34 +5,36 @@ ...@@ -5,34 +5,36 @@
Progress: ${human_state} Progress: ${human_state}
</div> </div>
</div> </div>
<div class="status-bar"> <div class="problemwrapper">
<div class="problemtype"> <div class="status-bar">
Open Response Assessment <div class="problemtype">
Open Response Assessment
</div>
Assessments: <div class="status-container">
${status|n}
</div>
</div> </div>
Assessments: <div class="status-container">
${status|n}
</div>
</div>
<div class="item-container"> <div class="item-container">
<h4>Prompt <a href="#" class="question-header">(Hide)</a> </h4> <h4>Prompt <a href="#" class="question-header">(Hide)</a> </h4>
<div class="problem-container"> <div class="problem-container">
% for item in items: % for item in items:
<div class="item">${item['content'] | n}</div> <div class="item">${item['content'] | n}</div>
% endfor % endfor
</div> </div>
<input type="button" value="Reset" class="reset-button" name="reset"/> <input type="button" value="Reset" class="reset-button" name="reset"/>
<input type="button" value="Next Step" class="next-step-button" name="reset"/> <input type="button" value="Next Step" class="next-step-button" name="reset"/>
</div> </div>
<div class="combined-rubric-container"> <div class="combined-rubric-container">
</div> </div>
<section class="legend-container"> <section class="legend-container">
</section> </section>
<div class="result-container"> <div class="result-container">
</div>
</div> </div>
</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