Commit 5bdf91e8 by Diana Huang

Merge branch 'diana/peer-grading-improvements' into diana/peer-grading-views

parents 7fcfe035 d0e00af6
...@@ -146,6 +146,8 @@ class PeerGradingProblem ...@@ -146,6 +146,8 @@ class PeerGradingProblem
@interstitial_page_button = $('.interstitial-page-button') @interstitial_page_button = $('.interstitial-page-button')
Collapsible.setCollapsibles(@content_panel) Collapsible.setCollapsibles(@content_panel)
# Set up the click event handlers
@action_button.click -> history.back() @action_button.click -> history.back()
@calibration_feedback_button.click => @calibration_feedback_button.click =>
@calibration_feedback_panel.hide() @calibration_feedback_panel.hide()
...@@ -358,6 +360,7 @@ class PeerGradingProblem ...@@ -358,6 +360,7 @@ class PeerGradingProblem
@calibration_feedback_panel.hide() @calibration_feedback_panel.hide()
@error_container.html(error_message) @error_container.html(error_message)
@content_panel.hide() @content_panel.hide()
@action_button.show()
show_submit_button: () => show_submit_button: () =>
@submit_button.show() @submit_button.show()
......
...@@ -120,29 +120,22 @@ div.peer-grading{ ...@@ -120,29 +120,22 @@ div.peer-grading{
.calibration-panel .calibration-panel
{ {
float:left; float:left;
width:47%; width:48%;
} }
.grading-panel .grading-panel
{ {
float:right; float:right;
width: 47%; width: 48%;
} }
.current-state .current-state
{ {
background: #0F6B8A; background: #1D9DD9;
h3, p h3, p
{ {
color: white; color: white;
} }
} }
&:after @include clearfix;
{
content:".";
display:block;
height:0;
visibility: hidden;
clear:both;
}
} }
......
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