Better code indentation. Better style for listings.

Bug430-Eden2
Lan Hui 2023-08-13 21:30:56 +08:00
parent 6a840566d2
commit 1c4acbf31b
2 changed files with 12 additions and 12 deletions

View File

@ -395,14 +395,12 @@ where course_ta.Course_ID=$id");
}
echo"
<a href='~\..\Courses.php?course=$url'> <div class='btn btn-default'>
($code) - $name
<br> <span style='font-size:8pt'>Faculty : $faculty &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Year : $academic &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lecturer :$lecturer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TA:$ta </span>
</div></a>
";
echo" <a href='~\..\Courses.php?course=$url'>
<div class='btn btn-default'>
($code) - $name
<p class='text-muted'><small> Faculty: $faculty &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Year: $academic &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Lecturer:$lecturer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TA:$ta </small></p>
</div>
</a>";
}}?>
</div>

View File

@ -37,12 +37,14 @@ if (mysqli_connect_errno()) {
<style>
.btn-default {
border: 1px solid #e6f2ff;
border: 2px solid #f8f8f8;
width: 100%;
text-align: left;
margin: 2px auto;
font-weight: bold;
font-size: 14pt;
margin: 4px auto;
}
.btn-default:hover {
background: #f8f8f8;
}
h1,