10
10
{% if load %}
11
11
12
12
< div class ="container ">
13
- < table class ="table table-borderless text-center " align =" center " style =" margin: 0px auto; ">
13
+ < table class ="table table-sm table-bordered text-center ">
14
14
< thead >
15
- < tr >
16
- < th scope ="col "> COURSE</ th >
17
- < th scope ="col "> PERCENTAGE</ th >
18
- < th scope ="col "> REMARK</ th >
15
+ < tr style ="font-family: 'Courier Prime', monospace;font-size: small; color: #00ADB5;text-shadow:2px 2px 4px #000000; ">
16
+ < th scope ="col " style ="width: 10% "> COURSE</ th >
17
+ < th scope ="col " style ="width: 10% "> PHYSICAL</ th >
18
+ < th scope ="col " style ="width: 10% "> WITH EXEMPTION</ th >
19
+ < th scope ="col " style ="width: 70% "> REMARK</ th >
19
20
</ tr >
20
21
</ thead >
21
22
< tbody >
22
23
{% for key in data %}
23
- < tr >
24
+ < tr style =" font-family: 'Courier Prime', monospace;font-size: small;color: #EEEEEE;text-shadow:2px 2px 4px #000000; " >
24
25
< td > {{ key['name'] }}</ td >
25
26
< td > {{key['percentage_of_attendance']}}</ td >
27
+
28
+ {% if key['percentage_of_attendance_with_exemp'] > key['percentage_of_attendance_with_med_exemp'] %}
29
+ < td > {{key['percentage_of_attendance_with_exemp']}}</ td >
30
+ {% else %}
31
+ < td > {{key['percentage_of_attendance_with_med_exemp']}}</ td >
32
+ {% endif %}
33
+
26
34
{% if key.get("class_to_bunk",0) != 0 %}
27
- < td > Take leave : {{key.get("class_to_bunk",0)}}</ td >
35
+ < td > Bunk : {{key.get("class_to_bunk",0)}}</ td >
28
36
{% else %}
29
37
< td > Attend : {{key.get("class_to_attend",0)}}</ td >
30
38
{% endif %}
34
42
</ table >
35
43
</ div >
36
44
< br >
45
+ < div class ="card " style ="background-color: #222831;border-radius: 25px;padding: 10px; ">
46
+ < center >
47
+ < h4 style ="font-family: 'Anton', sans-serif;color: #EEEEEE;text-shadow:2px 2px 4px #000000; "> It is best to have a physical attendance of more than 75%.</ h4 >
48
+ </ center >
49
+ </ div >
37
50
< br >
38
51
39
52
{% if cgpa.get("error", "") == "" %}
40
- < hr style ="width:50%;height:2px;border: width 6px; ">
53
+ < hr style ="width:50%;height:2px;border: width 6px;background-color: #EEEEEE; ">
41
54
< center class ="container ">
42
- < h3 style ="color:blue ;font-family: 'Bebas Neue ', cursive ; "> CGPA upto {{ cgpa.get("lastest_sem") }} sem : {{ cgpa.get("latest_sem_cgpa") }}</ h5 >
55
+ < h3 style ="color: #00ADB5 ;font-family: 'Anton ', sans-serif;text-shadow:2px 2px 4px #000000 ; "> CGPA upto {{ cgpa.get("lastest_sem") }} sem : {{ cgpa.get("latest_sem_cgpa") }}</ h5 >
43
56
{% endif %}
44
57
</ center >
45
58
46
59
47
- < hr style ="width:50%;height:2px;border: width 6px; ">
48
- {% for key in data %}
49
- < br >
50
- < center >
51
- < h1 style ="font-family: 'Bebas Neue', cursive; "> Course Code - {{ key['name'] }}</ h1 >
52
- {% if time_table.get(key['name'],"") != "" %}
53
- < h3 style ="font-family: 'Bebas Neue', cursive; "> {{ time_table.get(key['name'],"") }}</ h3 >
54
- {% endif %}
55
-
56
- < hr style ="width:50%;height:2px;border: width 4px; ">
57
- < h4 style ="font-family: 'Bebas Neue', cursive; "> Updated date : {{key['attendance_to']}}</ h4 >
58
-
59
- < h4 style ="font-family: 'Bebas Neue', cursive; "> Total Hours : {{key['total_hours']}}</ h4 >
60
- < h4 style ="font-family: 'Bebas Neue', cursive; "> Total Present : {{key['total_present']}}</ h4 >
61
- < h4 style ="font-family: 'Bebas Neue', cursive; "> Percentage of Attendance : {{key['percentage_of_attendance']}}</ h4 >
62
- {% if key.get("class_to_bunk",0) != 0 %}
63
- < h2 style ="color:green;font-family: 'Bebas Neue', cursive; "> Class To Take leave : {{key.get("class_to_bunk",0)}} 👍
64
- </ h2 >
65
- {% else %}
66
- < h2 style ="color:red;font-family: 'Bebas Neue', cursive; "> Class To Attend : {{key.get("class_to_attend",0)}} 👎</ h2 >
67
- {% endif %}
60
+ < hr style ="width:50%;height:2px;border: width 6px;background-color: #EEEEEE; ">
68
61
62
+ {% for key in data %}
63
+ < br >
64
+ < div class ="card " style ="background-color: #222831;border-radius: 25px; ">
65
+ < center >
66
+ < h1 style ="font-family: 'Anton', sans-serif;color: #00ADB5;text-shadow:2px 2px 4px #000000; "> Course Code - {{ key['name'] }}</ h1 >
67
+ {% if time_table.get(key['name'],"") != "" %}
68
+ < h3 style ="font-family: 'Anton', sans-serif;color: #00ADB5;text-shadow:2px 2px 4px #000000; "> {{ time_table.get(key['name'],"") }}</ h3 >
69
+ {% endif %}
70
+
71
+ < h4 style ="font-family: 'Bebas Neue', cursive;color: #EEEEEE; "> Updated date : {{key['attendance_to']}}</ h4 >
72
+ < h4 style ="font-family: 'Bebas Neue', cursive;color: #EEEEEE; "> Total Hours : {{key['total_hours']}}</ h4 >
73
+ < h4 style ="font-family: 'Bebas Neue', cursive;color: #EEEEEE; "> Total Present : {{key['total_present']}}</ h4 >
74
+ < h4 style ="font-family: 'Bebas Neue', cursive;color: #EEEEEE; "> Percentage of Attendance : {{key['percentage_of_attendance']}}</ h4 >
75
+
76
+ {% if key['percentage_of_attendance_with_exemp'] > key['percentage_of_attendance_with_med_exemp'] %}
77
+ < h4 style ="font-family: 'Bebas Neue', cursive;color: #EEEEEE; "> Percentage of Attendance with exemption : {{key['percentage_of_attendance_with_exemp']}}</ h4 >
78
+ {% else %}
79
+ < h4 style ="font-family: 'Bebas Neue', cursive;color: #EEEEEE; "> Percentage of Attendance with exemption : {{key['percentage_of_attendance_with_med_exemp']}}</ h4 >
80
+ {% endif %}
81
+
82
+ {% if key.get("class_to_bunk",0) != 0 %}
83
+ < h2 style ="color:green;font-family: 'Bebas Neue', cursive;text-shadow:2px 2px 4px #000000; "> Class To Take leave : {{key.get("class_to_bunk",0)}} 👍
84
+ </ h2 >
85
+ {% else %}
86
+ < h2 style ="color:red;font-family: 'Bebas Neue', cursive;text-shadow:2px 2px 4px #000000; "> Class To Attend : {{key.get("class_to_attend",0)}} 👎</ h2 >
87
+ {% endif %}
88
+ </ center >
89
+ </ div >
69
90
70
- </ center >
91
+ < br >
71
92
72
- < br >
93
+ {% endfor %}
73
94
74
- {% endfor %}
75
- < br >
76
- < hr style ="width:100%;height:4px;border: width 8px; ">
95
+ < hr style ="width:100%;height:2px;border: width 6px;background-color: #EEEEEE; ">
77
96
<!--
78
97
<center>
79
98
<h1 style="font-family: 'Press Start 2P', cursive;">
@@ -95,7 +114,7 @@ <h1 style="font-family: 'Press Start 2P', cursive;">
95
114
</center> -->
96
115
97
116
< center >
98
- < h4 style ="font-family: 'Press Start 2P', cursive; ">
117
+ < h4 style ="font-family: 'Press Start 2P', cursive;color: #00ADB5; ">
99
118
App in development!!
100
119
</ h4 >
101
120
</ center >
0 commit comments