Files
hudozka/pages/schedule/schedule.jade
T
tmshv 8784043f1d = schedule page added;
+ clients dir for browser code;
+ some models (course);
= other (main style, etc);
2014-03-18 23:16:45 +04:00

43 lines
1.4 KiB
Plaintext

extends ../layout
block custom_head
link(rel='stylesheet', href='/s/animate.min.css')
link(rel='stylesheet', href='/s/schedule.css')
script(src='http://code.jquery.com/jquery-2.1.0.min.js')
script(src='/c/schedule.js')
block content
include ../menu
.schedule
ul
li
a(href='') 2012, осень
li
a(href='') 2013, весна
li
a(href='') 2013, осень
li.current 2014, весна
table
thead
- var days = ["Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота"];
th.group Гр.
for day in days
//- th.current.first
//- th.weekend
th
p.day #{day}
p.date
tbody
for group in groups
tr
td.group
p #{group.name}
for day in group.days
td
if day
p.lesson
a(href='') #{day.lesson}
p.teacher
a(href='') #{day.teacher}
for time in day.time
p.time #{time}