Commit c195fe65 by Vik Paruchuri

Restyle rubric list, submission container

parent 198885f7
...@@ -401,7 +401,7 @@ section.open-ended-child { ...@@ -401,7 +401,7 @@ section.open-ended-child {
div.short-form-response { div.short-form-response {
background: #F6F6F6; background: #F6F6F6;
border: 1px solid #ddd; border: 1px solid #ddd;
margin-bottom: 20px; margin-bottom: 0px;
overflow-y: auto; overflow-y: auto;
height: 200px; height: 200px;
@include clearfix; @include clearfix;
...@@ -475,14 +475,17 @@ section.open-ended-child { ...@@ -475,14 +475,17 @@ section.open-ended-child {
margin-left: .75rem; margin-left: .75rem;
} }
ul.rubric-list ul.rubric-list{
{ list-style-type: none;
list-style-type: none; padding:0;
padding:0; margin:0;
margin:0; li {
float:left; &.rubric-list-item{
display: block; margin-bottom: 0px;
} padding: 0px;
}
}
}
ol { ol {
list-style: decimal outside none; list-style: decimal outside none;
......
...@@ -323,7 +323,7 @@ class @PeerGradingProblem ...@@ -323,7 +323,7 @@ class @PeerGradingProblem
if response.success if response.success
# load in all the data # load in all the data
@submission_container.html("<h3>Training Essay</h3>") @submission_container.html("")
@render_submission_data(response) @render_submission_data(response)
# TODO: indicate that we're in calibration mode # TODO: indicate that we're in calibration mode
@calibration_panel.addClass('current-state') @calibration_panel.addClass('current-state')
...@@ -350,7 +350,7 @@ class @PeerGradingProblem ...@@ -350,7 +350,7 @@ class @PeerGradingProblem
render_submission: (response) => render_submission: (response) =>
if response.success if response.success
@submit_button.hide() @submit_button.hide()
@submission_container.html("<h3>Submitted Essay</h3>") @submission_container.html("")
@render_submission_data(response) @render_submission_data(response)
@calibration_panel.removeClass('current-state') @calibration_panel.removeClass('current-state')
......
...@@ -5,6 +5,18 @@ div.peer-grading{ ...@@ -5,6 +5,18 @@ div.peer-grading{
margin: 0px; margin: 0px;
} }
ul.rubric-list{
list-style-type: none;
padding:0;
margin:0;
li {
&.rubric-list-item{
margin-bottom: 0px;
padding: 0px;
}
}
}
h1 { h1 {
margin : 0 0 0 10px; margin : 0 0 0 10px;
} }
...@@ -18,6 +30,10 @@ div.peer-grading{ ...@@ -18,6 +30,10 @@ div.peer-grading{
div { div {
margin: 0px; margin: 0px;
&.submission-container{
overflow-y: auto;
height: 200px;
}
} }
label { label {
...@@ -132,7 +148,6 @@ div.peer-grading{ ...@@ -132,7 +148,6 @@ div.peer-grading{
padding: 2px; padding: 2px;
margin-bottom: 5px; margin-bottom: 5px;
background: #eee; background: #eee;
height: 10em;
width:47.6%; width:47.6%;
h3 h3
{ {
......
...@@ -15,9 +15,9 @@ ...@@ -15,9 +15,9 @@
% for j in range(len(category['options'])): % for j in range(len(category['options'])):
<% option = category['options'][j] %> <% option = category['options'][j] %>
%if option['selected'] and not view_only: %if option['selected'] and not view_only:
<li class="selected-grade"> <li class="selected-grade rubric-list-item">
%else: %else:
<li> <li class="rubric-list-item">
% endif % endif
% if view_only: % if view_only:
% if option['selected']: % if option['selected']:
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
</div> </div>
<div class="prompt-wrapper"> <div class="prompt-wrapper">
<h2>Question <a href="#" class="question-header">(Hide)</a> </h2> <h2>Prompt <a href="#" class="question-header">(Hide)</a> </h2>
<div class="prompt-information-container"> <div class="prompt-information-container">
<section> <section>
<div class="prompt-container"> <div class="prompt-container">
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<section class="grading-wrapper"> <section class="grading-wrapper">
<h2>Grading</h2> <h2>Student Response</h2>
<div class="grading-container"> <div class="grading-container">
<div class="submission-wrapper"> <div class="submission-wrapper">
......
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