add danger buttons
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
@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.
|
||||
|
||||
Reference in New Issue
Block a user