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