From 5704b424074db1f023d79efe0ee5b1fbfead314a Mon Sep 17 00:00:00 2001
From: Miles Steele
Date: Tue, 2 Jul 2013 15:50:55 -0400
Subject: [PATCH] add danger buttons
---
.../sass/course/instructor/_instructor_2.scss | 23 ++++++++++++++-----
.../instructor_dashboard_2/student_admin.html | 6 ++---
2 files changed, 20 insertions(+), 9 deletions(-)
diff --git a/lms/static/sass/course/instructor/_instructor_2.scss b/lms/static/sass/course/instructor/_instructor_2.scss
index 5649ec1e83..9917d5f0ad 100644
--- a/lms/static/sass/course/instructor/_instructor_2.scss
+++ b/lms/static/sass/course/instructor/_instructor_2.scss
@@ -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 {
diff --git a/lms/templates/courseware/instructor_dashboard_2/student_admin.html b/lms/templates/courseware/instructor_dashboard_2/student_admin.html
index 52e8cf3f74..bb1b463d4c 100644
--- a/lms/templates/courseware/instructor_dashboard_2/student_admin.html
+++ b/lms/templates/courseware/instructor_dashboard_2/student_admin.html
@@ -29,7 +29,7 @@
You may also delete the entire state of a student for the specified module:
-
+
@@ -61,8 +61,8 @@
Then select an action:
-
-
+
+
These actions run in the background, and status for active tasks will appear in a table below.