aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2011-01-22 15:54:56 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2011-01-22 15:54:56 -0500
commit3d512abe4f681edc8e1da617be786f08d190ac94 (patch)
tree3a5cbcc77fa84c56884824e819095bef07689f00
parent3df335c5d5e53732bfb90ebac8f47e0bfa136109 (diff)
downloadGradeBook-3d512abe4f681edc8e1da617be786f08d190ac94.tar.gz
GradeBook-3d512abe4f681edc8e1da617be786f08d190ac94.zip
added css use in change grade page
Ignore-this: def21fd1ca13d62041161a3c47e1af4d darcs-hash:20110122205456-067c0-6e0e70d4e8764cea0a27427e684125e57e6707e8.gz
-rw-r--r--GradeBook.css7
-rwxr-xr-xGradeBook.tcl4
2 files changed, 11 insertions, 0 deletions
diff --git a/GradeBook.css b/GradeBook.css
index ee8ce6f..7a10fde 100644
--- a/GradeBook.css
+++ b/GradeBook.css
@@ -59,6 +59,13 @@ div.add_new_column {
margin-bottom: 15px;
}
+div.changegrades {
+ /*border-bottom: 2px solid black;*/
+ background-color: #8f0000;
+ padding: 5px;
+ margin-bottom: 5px;
+}
+
div.gradestable {
/*border-bottom: 2px solid black;*/
background-color: #ffcc99;
diff --git a/GradeBook.tcl b/GradeBook.tcl
index a92a9ef..6aa7963 100755
--- a/GradeBook.tcl
+++ b/GradeBook.tcl
@@ -536,6 +536,8 @@ proc ChangeGrades { permission_list user } {
lappend column_list FirstName LastName UserName
lappend column_list \"$columnname\"
set sql_column_list [join $column_list ","]
+ puts {<div class="changegrades">}
+ puts {<div class="gradestable">}
puts "<form name=\"input\" action=\"$script_name\" method=\"post\" />"
# output only selected columns
set eval_str "SELECT $sql_column_list FROM GradesTable WHERE UserName<>'_Col_Category_' AND UserName<>'_Max_Points_' AND GroupName='student' ORDER BY LastName"
@@ -576,6 +578,8 @@ proc ChangeGrades { permission_list user } {
puts {<input type="submit" name="subaction" value="Submit" />}
puts {<input type="submit" name="subaction" value="Cancel" />}
puts {</form>}
+ puts {</div>}
+ puts {</div>}
#puts "<a href=\"$script_name\">Cancel changes</a>"
} else {