Remove unused CSS class definitions. Make spacing better.

Bug430-Eden2
Lan Hui 2023-08-11 21:53:55 +08:00
parent fc6a1d0223
commit a7a33e1400
2 changed files with 3 additions and 10 deletions

View File

@ -163,7 +163,7 @@ include 'Header.php';
if($att4!=""){
$full_link= $full_link."| <a href='~\..\Lab_Report_Assignments\\$att4'>$att4</a>";
}
echo "<div class='card' style='word-wrap: break-word;'><div class='card-body'>
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>
@ -226,7 +226,7 @@ Lab_Report_ID not in (select Lab_Report_ID from lab_report_submissions where (St
$full_link= $full_link."| <a href='~\..\Lab_Report_Assignments\\$att4'>$att4</a>";
}
echo "<div class='card' style='word-wrap: break-word;'> <div class='card-body'> <span class='btn btn-sm btn-outline-danger'>MISSED</span> <h5 class='card-title'>$title</h5> <h6 class='card-subtitle'>($marks Marks)</h6> <br/> <p class='card-text'> $ins</p>
echo "<div class='card mt-md-2' style='word-wrap: break-word;'> <div class='card-body'> <span class='btn btn-sm btn-outline-danger'>MISSED</span> <h5 class='card-title'>$title</h5> <h6 class='card-subtitle'>($marks Marks)</h6> <br/> <p class='card-text'> $ins</p>
<br> <p class='card-text'> <small> Posted: $posted &nbsp;&nbsp;&nbsp; Deadline: $deadline &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br> Attachments: $full_link </small></p>
</div></div><br>";
@ -408,7 +408,7 @@ where Lab_Report_ID=$lab_repo_id and (lab_report_submissions.Student_id='$studen
}
echo "<div class='card' style='word-wrap:break-word;'> <div class='card-body'>
echo "<div class='card mt-md-2' style='word-wrap:break-word;'> <div class='card-body'>
<h5 class='card-title'>$title</h5> <h5 class='card-subtitle'>($marks marks out of $Originalmarks)</h6><br> <p class='card-text'>Lecturer feedback $notes &nbsp;&nbsp; $remarking</p> <small>Submitted files: ";
$Sub_result = mysqli_query($con,"SELECT `Submission_ID`, `Submission_Date`, lab_report_submissions.Lab_Report_ID,
lab_report_submissions.Student_id sub_std, lab_report_submissions.Course_Group_id, `Attachment1`,

View File

@ -35,13 +35,6 @@ if (mysqli_connect_errno()) {
<script src="./css/jquery.datetimepicker.min.js" type="text/javascript"></script>
<style>
.nav-item {
border-color: #00ff66;
}
.nav-tabs {
border-color: #00ff66;
}
.btn-default {
border: 1px solid #e6f2ff;