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'>
echo" <div class='btn btn-default'>
($code) - $name
<a href='~\..\Courses.php?course=$url'> <div class='btn btn-default'> <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>
($code) - $name </div>
<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> </a>";
</div></a>
";
}}?> }}?>
</div> </div>

View File

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