diff --git a/#**scratch**# b/#**scratch**# new file mode 100644 index 0000000..7f52490 --- /dev/null +++ b/#**scratch**# @@ -0,0 +1,28 @@ + function mark(id, title, marks) { + + try { + + $('
' + + title + ' (' + marks + ' marks)' + + '\n\
Marks \n\ + Comments \n\ +
').dialog({ + modal: true, + title: 'Mark submission', + buttons: { + 'Submit': function() { + $('#submit-form').submit(); + $(this).dialog('close'); + }, + 'Cancel': function() { + $(this).dialog('close'); + } + + } + }); + + } catch (e) { + alert(e); + } + } + \ No newline at end of file diff --git a/.#**scratch** b/.#**scratch** new file mode 120000 index 0000000..66d8b5f --- /dev/null +++ b/.#**scratch** @@ -0,0 +1 @@ +root@lenovo-xiaoxin-2019.49005:1690466109 \ No newline at end of file diff --git a/Footer.php b/Footer.php index de442d2..9dd24d1 100644 --- a/Footer.php +++ b/Footer.php @@ -1,4 +1,2 @@








-
- -
\ No newline at end of file +
diff --git a/Header.php b/Header.php index e483351..d29f199 100644 --- a/Header.php +++ b/Header.php @@ -26,8 +26,7 @@ if (mysqli_connect_errno()) { * The reason is to make the css code reusable. * the css file is used by submissions.php --> - - + diff --git a/Submissions.php b/Submissions.php index 3df7614..99172f6 100644 --- a/Submissions.php +++ b/Submissions.php @@ -93,22 +93,22 @@ echo "
$title
by: $submitted_by -
Submitted : $posted
Attachments : $full_link
+
Submitted : $posted
Attachments : $full_link
"; } } @@ -268,8 +268,8 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Marked' Order by lab echo "
- $title
by : $submitted_by        [ Marked $Marks ]   Visibility : $Visibility -
Lecturer/TA notes : $notes
Submitted : $posted
Attachments : $full_link
+ $title
by : $submitted_by        [ Marks: $Marks ]   +
Marking notes: $notes
Submitted : $posted
Attachments : $full_link
"; } } @@ -349,7 +349,7 @@ where Lab_Report_ID=$id and lab_report_submissions.Status='Remarking'"); echo "
$title
by : $submitted_by        [ Marked $Marks ]
Remarking Reason : $remarking_reason
Submitted : $posted " - . "" + . "" . "       Ignore Request " . "
Attachments : $full_link
"; @@ -412,31 +412,34 @@ where course_group_members_table.Course_Group_id=$id"); include 'Footer.php'; ?> - - - - - - + + +