Use Bootstrap's card class to make things look better.
parent
965540c522
commit
632ee82e7b
22
Courses.php
22
Courses.php
|
@ -311,16 +311,18 @@ include 'Header.php';
|
||||||
|
|
||||||
$header="Courses > ".$name."($code) > Assignments > ".$title;
|
$header="Courses > ".$name."($code) > Assignments > ".$title;
|
||||||
|
|
||||||
echo " <div class='break-word btn btn-default' style='word-wrap: break-word;border-color:grey;'>
|
echo " <div class='card mt-md-2'>
|
||||||
$title ($marks Marks, $as_type) <br> $ins
|
<div class='card-body'>
|
||||||
|
<h5 class='card-title'>$title ($marks Marks, $as_type)</h5>
|
||||||
<br> <span style='font-size:8pt'>Posted: $posted Deadline: $deadline"
|
<h6 class='card-subtitle'>$ins</h6>
|
||||||
. "<br>"
|
<p class='card-text text-muted'><small>Posted: $posted Deadline: $deadline</small></p>
|
||||||
. "<span class='btn-default'> $count_subs Submissions ( $count_marked Marked ) <a href='Courses.php?course=".$url."&act=edit&cid=".$id."'>Edit</a> | <a href='~\..\Submissions.php?id=$id&header=$header&total=$marks' onclick=''> View </a> | <a href='#' onclick='extendDeadline($id)'> Extend Deadline </a> </span> <hr> Attachments : $full_link </span>"
|
<p class='card-text'>$count_subs Submissions ( $count_marked Marked )</p>
|
||||||
. " </div>
|
<a class='card-link' href='Courses.php?course=".$url."&act=edit&cid=".$id."'> Edit </a>
|
||||||
";
|
<a class='card-link' href='~\..\Submissions.php?id=$id&header=$header&total=$marks' onclick=''> View </a>
|
||||||
|
<a class='card-link' href='#' onclick='extendDeadline($id)'> Extend Deadline </a>
|
||||||
|
<p class='card-text'> Attachments: $full_link</p>
|
||||||
|
</div>
|
||||||
|
</div>";
|
||||||
|
|
||||||
}}
|
}}
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
|
|
Loading…
Reference in New Issue