Course.php: better DIV indentation.

Bug430-Eden2
Lan Hui 2023-08-29 19:47:29 +08:00
parent 623634ba30
commit de56d4bd6f
1 changed files with 11 additions and 8 deletions

View File

@ -161,18 +161,21 @@ include 'Header.php';
if($att3 != "") {
$full_link = $full_link."| <a href='~\..\Lab_Report_Assignments\\$att3'>$att3</a>";
}
if($att4 != "") {
$full_link = $full_link."| <a href='~\..\Lab_Report_Assignments\\$att4'>$att4</a>";
}
echo "<div class='card mt-md-2' style='word-wrap: break-word;'><div class='card-body'>
<h5 class='card-title'>$title</h5> <h6 class='card-subtitle''>($Marks Marks, $type)</h6> <br> <p class='card-text'> $ins </p>
echo "<div class='card mt-md-2' style='word-wrap: break-word;'>
<div class='card-body'>
<h5 class='card-title'>$title</h5>
<h6 class='card-subtitle''>($Marks Marks, $type)</h6><br>
<p class='card-text'> $ins </p>
<p> <small>Attachments</small>: $full_link </p>
<p class='card-text'> <small> Posted: $posted &nbsp;&nbsp; Deadline: $deadline </small> </p>
<div class='alert alert-warning'>Time left: $days_remaining</div>
<p><a href='~\..\SubmitLab.php?id=$labid&url=$url' class='btn btn-primary'>Submit</a></p>
</div></div>";
</div>
</div>";
}
}
echo "";