Added links to teachers and chambers
This commit is contained in:
parent
d81c27550f
commit
3ed79099f8
|
@ -11,11 +11,13 @@ div.schedule
|
||||||
div.hour.title
|
div.hour.title
|
||||||
span= days[match.json.indexOf(day)]
|
span= days[match.json.indexOf(day)]
|
||||||
each hour in day
|
each hour in day
|
||||||
if hour.teacher != 'vrij\r'
|
if hour.teacher != 'vrij\r' && hour.teacher != 'vrij'
|
||||||
div.hour(class=hour.changed == 'true' ? 'changed' : '')
|
div.hour(class=hour.changed == 'true' ? 'changed' : '')
|
||||||
each subhour in hour.teacher
|
each subhour in hour.teacher
|
||||||
span.teacher(class='sub_' + hour.teacher.length)= hour.teacher[hour.teacher.indexOf(subhour)]
|
span.teacher(class='sub_' + hour.teacher.length)
|
||||||
span.chamber(class='sub_' + hour.teacher.length)= hour.chamber[hour.teacher.indexOf(subhour)]
|
a(href=hour.teacher[hour.teacher.indexOf(subhour)])= hour.teacher[hour.teacher.indexOf(subhour)]
|
||||||
|
span.chamber(class='sub_' + hour.teacher.length)
|
||||||
|
a(href=hour.chamber[hour.teacher.indexOf(subhour)])= hour.chamber[hour.teacher.indexOf(subhour)]
|
||||||
span.course(class='sub_' + hour.teacher.length)= hour.course[hour.teacher.indexOf(subhour)]
|
span.course(class='sub_' + hour.teacher.length)= hour.course[hour.teacher.indexOf(subhour)]
|
||||||
|
|
||||||
if match.json.indexOf(day) == 0
|
if match.json.indexOf(day) == 0
|
||||||
|
|
|
@ -70,6 +70,11 @@ div.schedule {
|
||||||
border-left: 1px solid #FFF;
|
border-left: 1px solid #FFF;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
span {
|
span {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
width: 33%;
|
width: 33%;
|
||||||
|
|
Loading…
Reference in a new issue