Permalink
Browse files

MDL-41379 core_outcome: added some CSS to the course outcome table to…

… make it display nice
  • Loading branch information...
andyjdavis committed Oct 10, 2013
1 parent 22084d5 commit 9d7c75bb3a89bc31d083ad383bb79125786be5fa
@@ -2,7 +2,7 @@
<form action="course.php" method="post">
<div>
-<table style="margin-left:auto;margin-right:auto">
+<table class="courseoutcomes">
<tr>
<td>
<label for="removeoutcomes"><?php print_string('outcomescourse', 'grades'); ?></label>
View
@@ -65,4 +65,14 @@
#page-grade-grading-pick .singlebutton,
.path-grade-report-user h2.main {
clear:both;
-}
+}
+
+/** pre-2.6 outcomes **/
+#page-grade-edit-outcome-course .courseoutcomes {
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
+}
+#page-grade-edit-outcome-course .courseoutcomes td {
+ text-align:center;
+}
@@ -326,6 +326,14 @@ div.backup-section + form,
#page-admin-grade-edit-scale-edit.dir-rtl .error input#id_name {
margin-right: 170px;
}
+#page-grade-edit-outcome-course .courseoutcomes {
+ margin-left: auto;
+ margin-right: auto;
+ width: 100%;
+}
+#page-grade-edit-outcome-course .courseoutcomes td {
+ text-align:center;
+}
/* Install Process' text fields Forms, should always be justified to the left */
#installform #id_wwwroot,
#installform #id_dirroot,

Large diffs are not rendered by default.

Oops, something went wrong.

0 comments on commit 9d7c75b

Please sign in to comment.