Course.php: more space under tab and change message color to yellow.
parent
4f7cf62a24
commit
53cdccf8d7
|
@ -131,7 +131,7 @@ include 'Header.php';
|
|||
$result1 = mysqli_query($con, $sql_stmt);
|
||||
|
||||
if(mysqli_num_rows($result1) == 0) {
|
||||
echo "<div class='alert alert-info'>No active assignments now.</div>";
|
||||
echo "<br><div class='alert alert-warning'>No active assignments now.</div>";
|
||||
} else {
|
||||
while($row = mysqli_fetch_assoc($result1)) {
|
||||
$title=$row['Title'];
|
||||
|
@ -257,7 +257,7 @@ include 'Header.php';
|
|||
|
||||
$resultx = mysqli_query($con, $sql_stmt);
|
||||
if(mysqli_num_rows($resultx) == 0) {
|
||||
echo '<div class="alert alert-info">You have no unmarked submissions. Check the Marked tab for your marked submissions (if any).</div>';
|
||||
echo '<br><div class="alert alert-warning">You have no unmarked submissions. Check the Marked tab for your marked submissions (if any).</div>';
|
||||
} else {
|
||||
while($row = mysqli_fetch_assoc($resultx)) {
|
||||
$lab_repo_id=$row['Lab_Report_ID'];
|
||||
|
@ -379,7 +379,7 @@ where Lab_Report_ID=$lab_repo_id and (lab_report_submissions.Student_id='$studen
|
|||
. " where (Status='Marked' or Status='Remarking') and (Student_id=$student_id or Course_Group_id=$group_id) and Course_ID=$course_id) ORDER by Submission_ID DESC");
|
||||
|
||||
if (mysqli_num_rows($resultx) == 0) {
|
||||
echo '<div class="alert alert-info">You have no marked submissions.</div>';
|
||||
echo '<br><div class="alert alert-warning">You have no marked submissions.</div>';
|
||||
} else {
|
||||
while($row = mysqli_fetch_assoc($resultx)) {
|
||||
$title = $row['Lab_Title'];
|
||||
|
|
Loading…
Reference in New Issue