adejs/controllers/total/templates/totalTableByCourse.pug

38 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-03 10:54:49 +02:00
table.table.table-bordered.table-striped.table-hover
thead
tr
th Course name
each type in types
th #{type}
th Total TD equivalent
tbody
each course in courses
tr(class=course.totalTdEquivalent === 0 ? "no-courses" : "")
2017-10-03 10:54:49 +02:00
td #{course.name}
each type in types
td #{course[type]}
td #{course.totalTdEquivalent}
tr#extend
td
a(href="#") ...
each type in types
td
a(href="#") ...
td
a(href="#") ...
2017-10-03 10:54:49 +02:00
tr.table-active
td
strong #{total.name}
each type in types
td
strong #{total[type]}
td
strong #{total.totalTdEquivalent}
p.
If you think there is a mistake in this table, feel free to
<a href="https://github.com/tforgione/adejs/issues/new">open an issue</a>
exaplaining what are the problem so we can fix it. Thanks!