Commit 5704b424 by Miles Steele

add danger buttons

parent fd1cfab0
@mixin idashbutton ($color) {
@include button(simple, $color);
@extend .button-reset;
font-size: em(13);
margin-bottom: 1em;
line-height: 1.3em;
padding: 8px 17px 8px 17px;
}
.instructor-dashboard-wrapper-2 {
// @extend .table-wrapper;
// display: table;
......@@ -21,7 +31,7 @@
// }
.request-response-error {
color: red;
color: $error-red;
margin-top: 1em;
margin-bottom: 1em;
}
......@@ -50,11 +60,12 @@
padding-bottom: 0;
}
input {
// display: block;
margin-bottom: 1em;
line-height: 1.3em;
padding: 8px 17px 8px 17px;
input[type="button"] {
@include idashbutton(#eee);
&.molly-guard {
@include idashbutton($red)
}
}
.instructor_dash_glob_info {
......
......@@ -29,7 +29,7 @@
</p>
<input type="button" name="reset-attempts-single" value="Reset Student Attempts" data-endpoint="${ section_data['reset_student_attempts_url'] }">
<p> You may also delete the entire state of a student for the specified module: </p>
<input type="button" name="delete-state-single" value="Delete Student State for Module" data-endpoint="${ section_data['reset_student_attempts_url'] }">
<input type="button" class="molly-guard" name="delete-state-single" value="Delete Student State for Module" data-endpoint="${ section_data['reset_student_attempts_url'] }">
<input type="button" name="rescore-problem-single" value="Rescore Student Submission" data-endpoint="${ section_data['rescore_problem_url'] }">
......@@ -61,8 +61,8 @@
</p>
<p>
Then select an action:
<input type="button" name="reset-attempts-all" value="Reset ALL students' attempts" data-endpoint="${ section_data['reset_student_attempts_url'] }">
<input type="button" name="rescore-problem-all" value="Rescore ALL students' problem submissions" data-endpoint="${ section_data['rescore_problem_url'] }">
<input type="button" class="molly-guard" name="reset-attempts-all" value="Reset ALL students' attempts" data-endpoint="${ section_data['reset_student_attempts_url'] }">
<input type="button" class="molly-guard" name="rescore-problem-all" value="Rescore ALL students' problem submissions" data-endpoint="${ section_data['rescore_problem_url'] }">
</p>
<p>
<p>These actions run in the background, and status for active tasks will appear in a table below.
......
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