-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpython-finals.php
More file actions
59 lines (55 loc) · 2.07 KB
/
Copy pathpython-finals.php
File metadata and controls
59 lines (55 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<?php
include 'config.php';
include 'header.php';
?>
<style>
/* Ensure proper layout for content pages */
html, body {
height: auto;
min-height: 100%;
}
body {
position: relative;
padding-bottom: 0;
}
main {
padding-bottom: 3em;
}
/* Override global footer positioning for this page */
footer#footer-override {
position: relative !important;
margin-top: 3em !important;
bottom: auto !important;
}
body > footer {
position: relative !important;
margin-top: 3em !important;
bottom: auto !important;
}
</style>
<main>
<h2>Python Finals</h2>
<div class="cards-grid">
<?php
$finals = [
["title" => "Comprehensive Python Assessment", "description" => "Test your knowledge of Python fundamentals, data structures, and programming concepts.", "canvas_link" => "https://canvas.instructure.com/courses/11879011/finals/1"],
["title" => "Advanced Python Problem Solving", "description" => "Apply advanced Python techniques to solve complex programming challenges.", "canvas_link" => "https://canvas.instructure.com/courses/11879011/finals/2"],
["title" => "Final Coding Project", "description" => "Demonstrate your programming skills with a comprehensive final project.", "canvas_link" => "https://canvas.instructure.com/courses/11879011/finals/3"]
];
foreach ($finals as $final) {
echo "<div class='course-card'>";
echo "<div class='course-card__top'></div>";
echo "<div class='course-card__body'>";
echo "<h3 class='course-card__title'>{$final['title']}</h3>";
echo "<ul class='course-card__meta'>";
echo "<li>Created 3 weeks ago</li>";
echo "<li>Updated 3 weeks ago</li>";
echo "</ul>";
echo "<a href='{$final['canvas_link']}' class='btn' target='_blank'>Start Final on Canvas</a>";
echo "</div>";
echo "</div>";
}
?>
</div>
</main>
<?php include 'footer.php'; ?>