Added day names to the schedule view
This commit is contained in:
parent
3f138bf055
commit
5d2508ed55
|
@ -3,9 +3,13 @@
|
|||
include header
|
||||
include search
|
||||
|
||||
- var days = ['Maandag', 'Dinsdag', 'Woensdag', 'Donderdag', 'Vrijdag', 'Zaterdag', 'Zondag'];
|
||||
|
||||
div.schedule
|
||||
each day in match.json
|
||||
div.day
|
||||
div.hour.title
|
||||
span= days[match.json.indexOf(day)]
|
||||
each hour in day
|
||||
if hour.teacher != 'vrij\r'
|
||||
div.hour(class=hour.changed == 'true' ? 'changed' : '')
|
||||
|
|
|
@ -90,6 +90,17 @@ div.schedule {
|
|||
color: red !important;
|
||||
}
|
||||
|
||||
&.title {
|
||||
text-align: center;
|
||||
background-color: #E1E1E1;
|
||||
border-color: #E1E1E1;
|
||||
|
||||
span {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.free {
|
||||
.changed;
|
||||
text-align: center;
|
||||
|
|
Loading…
Reference in a new issue