Better code indentation. Better style for listings.
parent
6a840566d2
commit
1c4acbf31b
14
Courses.php
14
Courses.php
|
@ -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 Year : $academic Lecturer :$lecturer 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 Year: $academic Lecturer:$lecturer TA:$ta </small></p>
|
||||
</div>
|
||||
</a>";
|
||||
|
||||
}}?>
|
||||
</div>
|
||||
|
|
10
Header.php
10
Header.php
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue