blob: e745ee2496a45a0e8b20f029e65d30b216203984 (
plain) (
blame)
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
108
109
110
111
112
113
114
115
116
117
118
|
/* Lessons pages styles */
.lessons-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1.5em;
}
/* Filter form */
.lessons-filter {
background: white;
padding: 1em;
border-radius: 8px;
margin-bottom: 1.5em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.lessons-filter form {
display: flex;
gap: 1em;
flex-wrap: wrap;
align-items: flex-end;
margin: 0;
}
.lessons-filter label {
margin-bottom: 0.25em;
}
.lessons-filter input,
.lessons-filter select {
margin-bottom: 0;
width: auto;
min-width: 150px;
}
/* Lesson card */
.lesson-card {
background: white;
padding: 1.5em;
border-radius: 8px;
margin-bottom: 1em;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.lesson-description {
color: #666;
margin: 1em 0;
}
.lesson-details {
margin: 1.5em 0;
}
.lesson-details p {
margin: 0.5em 0;
}
/* Students section */
.lesson-students {
margin-top: 1.5em;
}
.lesson-student {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0.75em 0;
border-bottom: 1px solid #eee;
}
.lesson-student:last-child {
border-bottom: none;
}
.lesson-student-info small {
display: block;
color: #666;
}
.lesson-student-status {
display: flex;
gap: 0.5em;
align-items: center;
}
.status-present {
color: #28a745;
}
.status-absent {
color: #dc3545;
}
.score-badge {
background: #0066cc;
color: white;
padding: 0.25em 0.5em;
border-radius: 4px;
font-size: 0.875em;
}
/* Attendance modal */
.attendance-options {
margin: 1em 0;
}
.attendance-options label {
display: inline;
margin-left: 0.5em;
font-weight: normal;
}
.attendance-options div {
margin: 0.5em 0;
}
|