-
Notifications
You must be signed in to change notification settings - Fork 0
/
assignment-intro.php
107 lines (91 loc) · 3.06 KB
/
assignment-intro.php
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<?php
require_once "includes/dashboard-header.php"; ?>
<body>
<style>
.feed{
margin-top: 2rem;
}
.feed-wrapper p{
font-size: 1.6rem;
}
h5{
font-size: 1.6rem;
line-height: 1.5;
font-weight: 700;
}
h5 span{
opacity: .7;
}
#assignment-pdf{
background-color: rgb(214, 78, 101);
padding: 1rem 3rem;
color: #fff;
border-radius: 25px;
}
</style>
<section class="container-fluid index-wrapper" style="margin-bottom: 5rem;">
<?php require_once "includes/teacher-nav.php"; ?>
<!-- ================= Navigation ================== -->
<nav class="nav d-flex-sb">
<div>
<ul class="d-flex-sa">
<li class="">
<a href="dashboard.php">
<i class="bi bi-house-door-fill" style="color: rgb(214, 78, 101);"></i>
</a>
</li>
<li>
<a href="search.html">
<i class="bi bi-search"></i>
</a>
</li>
</ul>
</div>
<a href="create-post.php" class="nav-add-btn">
<i class="bi bi-plus-circle-fill"></i>
</a>
<div>
<ul class="d-flex-sa">
<li>
<a href="notification.html">
<i class="bi bi-bell"></i>
</a>
</li>
<li>
<a href="followers.php">
<i class="bi bi-people"></i>
</li>
</a>
</ul>
</div>
</nav>
<!-- End Navigation -->
<!-- ================= Feeds ================== -->
<div class="assignment" style="padding-top: 4rem; width: 90%; margin: auto;">
<h3 style="padding-bottom: 1rem;">Pick an Assignment</h3>
<p style="padding-bottom: 3rem;">The following are list of assignments you can pick from based on your department and school. <br /><br />
When you pick an assignment you can enter a price and after the student pays, you can solve the assignment and get your pay.</p>
<div class="assignment-student" style="padding-bottom: 4rem;">
</div>
</div>
</div>
</section>
</body>
<?php require_once "includes/dashboard-footer.php"; ?>
<script>
$(document).ready(function(){
fetch_user();
setInterval(function(){
fetch_user();
}, 5000);
function fetch_user(){
$.ajax({
url:"backend/teacher-dashboard.php",
method: "POST",
success: function(data){
$(".assignment-student").html(data);
}
});
}
});
</script>