-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstudent_dashboard.html
59 lines (44 loc) · 1.02 KB
/
student_dashboard.html
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
{% extends 'school/studentbase.html' %}
{% load static %}
{% block content %}
<head>
<style media="screen">
.alert {
margin-left: 25%;
margin-right: 25%;
padding: 20px;
background-color: #f44336;
color: white;
}
.w3-panel p {
padding-top: 10px;
}
.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}
.closebtn:hover {
color: black;
}
</style>
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
</head>
<br>
{%include 'school/student_dashboard_cards.html'%}
<br><br>
<div class="w3-panel w3-black ">
<p>Notice Board</p>
</div><br>
{%for n in notice%}
<div class="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">×</span>
<strong>Posted on {{n.date}} </strong><br><b>By : {{n.by}}</b><br> {{n.message}}
</div>
{%endfor%}
{% endblock content %}