Better code indentation. Better style for listings.
parent
6a840566d2
commit
1c4acbf31b
12
Courses.php
12
Courses.php
|
@ -395,14 +395,12 @@ where course_ta.Course_ID=$id");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
echo" <a href='~\..\Courses.php?course=$url'>
|
||||||
echo"
|
<div class='btn btn-default'>
|
||||||
|
|
||||||
<a href='~\..\Courses.php?course=$url'> <div class='btn btn-default'>
|
|
||||||
($code) - $name
|
($code) - $name
|
||||||
<br> <span style='font-size:8pt'>Faculty : $faculty Year : $academic Lecturer :$lecturer TA:$ta </span>
|
<p class='text-muted'><small> Faculty: $faculty Year: $academic Lecturer:$lecturer TA:$ta </small></p>
|
||||||
</div></a>
|
</div>
|
||||||
";
|
</a>";
|
||||||
|
|
||||||
}}?>
|
}}?>
|
||||||
</div>
|
</div>
|
||||||
|
|
10
Header.php
10
Header.php
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue