function get_scalehtml() {
$scalehtml = '';
if ($this->get_pref('showranges')) {
- $scalehtml = '<tr><td>'.$this->get_lang_string('range','grade').'</td>';
+ $scalehtml = '<tr><th class="range">'.$this->get_lang_string('range','grades').'</th>';
foreach ($this->items as $item) {
- $scalehtml .= '<td>'. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).'</td>';
+ $scalehtml .= '<th class="range">'. $this->get_grade_clean($item->grademin).'-'. $this->get_grade_clean($item->grademax).'</th>';
}
$scalehtml .= '</tr>';
}
text-align: center;
}
+.backup-form-instances {
+ margin:0px 20px 0px 20px;
+}
+.restore-form-instances {
+ margin:0px 20px 0px 20px;
+}
+
+
/***
*** Header
***/
*** Grades
***/
-body#grade-index .grades {
- border-width:1px;
- border-style:solid;
- border-collapse: separate;
-}
-
-body#grade-index .grades td {
- border-width:0 1px 0 1px;
- border-style:solid;
- border-collapse: collapse;
-}
-
-body#grade-index .grades .header {
- vertical-align: top;
-}
-
-body#grade-index .grades .points,
-body#grade-index .grades .percent,
-body#grade-index .grades .weighted {
- text-align: right;
-}
-
-.backup-form-instances {
- margin:0px 20px 0px 20px;
-}
-.restore-form-instances {
- margin:0px 20px 0px 20px;
-}
-
-
-/* new grades CSS */
#grade-report table {
border-width:1px;
margin-right:auto;
}
+#grade-report .gradestable th.user {
+ text-align:left;
+}
+
+#grade-report .gradestable td {
+ text-align:right;
+}
+
+#grade-report th.range {
+ border-width:1px 1px 1px 1px;
+ border-style:solid;
+}
+
+
/* gradebook edit tree */
#grade-edit-edit_tree .gradetreebox {
text-align:center;
}
+