aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy E. Mikhailov <evgmik@gmail.com>2020-02-12 15:36:02 -0500
committerEugeniy E. Mikhailov <evgmik@gmail.com>2020-02-12 15:36:02 -0500
commita3c223ba7921e5c8da338573e81b055fb8aa7cda (patch)
treeb6e564cf7228696144653b57960315fcc158ba25
parentf704eda583a930195bb0e5725aebd329d32a67fe (diff)
downloadGradeBook-a3c223ba7921e5c8da338573e81b055fb8aa7cda.tar.gz
GradeBook-a3c223ba7921e5c8da338573e81b055fb8aa7cda.zip
added new column categories Note, Info, AdmissionScore
-rw-r--r--GradeBook.scss9
-rwxr-xr-xGradeBook_lib.tcl8
2 files changed, 16 insertions, 1 deletions
diff --git a/GradeBook.scss b/GradeBook.scss
index f3e0ef8..4ad5b6e 100644
--- a/GradeBook.scss
+++ b/GradeBook.scss
@@ -34,6 +34,9 @@ $FinalExam: #f08ab6;
$Participation: #cccc99;
$LogBook: #00e6ac;
$Presentation: #00ccff;
+$Note: #1affc6;
+$AdmissionScore: #b3d9ff;
+$Info: #ccffe6;
$Unset: #cccccc;
$Deleted: #aaaaaa;
@@ -197,6 +200,9 @@ body {
@include gradestable_td(FinalExam, $FinalExam);
@include gradestable_td(Participation, $Participation);
@include gradestable_td(Presentation, $Presentation);
+ @include gradestable_td(Note, $Note);
+ @include gradestable_td(AdmissionScore, $AdmissionScore);
+ @include gradestable_td(Info, $Info);
@include gradestable_td(LogBook, $LogBook);
@include gradestable_td(unset, $Unset);
@include gradestable_td(deleted, $Deleted);
@@ -214,6 +220,9 @@ body {
@include gradestable_th(FinalExam, $FinalExam);
@include gradestable_th(Participation, $Participation);
@include gradestable_th(Presentation, $Presentation);
+ @include gradestable_th(Note, $Note);
+ @include gradestable_th(Info, $Info);
+ @include gradestable_th(AdmissionScore, $AdmissionScore);
@include gradestable_th(LogBook, $LogBook);
@include gradestable_th(unset, $Unset);
@include gradestable_th(deleted, $Deleted);
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index bcfb235..270c7a1 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -204,6 +204,9 @@ proc default_grades_category {} {
Presentation\
MidTerm\
FinalExam\
+ Note\
+ Info\
+ AdmissionScore\
]
return $grades_category
}
@@ -546,7 +549,10 @@ proc grade_Category2html_name { category } {
Participation {set html_name Participation}
MidTerm {set html_name MidTerm}
FinalExam {set html_name FinalExam}
- default {set html_name unknown}
+ Note {set html_name Note}
+ AdmissionScore {set html_name AdmissionScore}
+ Info {set html_name Info}
+ default {set html_name $category}
}
return $html_name
}