-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschedule.html
100 lines (81 loc) · 2.06 KB
/
schedule.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
---
layout: default
title: Schedule
---
<h1 class="page-header">{{ page.title }}</h1>
<div class="panel panel-default">
<table class="table table-hover">
<thead>
<tr>
<th>Week</th>
<th colspan="2">Monday</th>
<th colspan="2">Wednesday</th>
<th colspan="2">Friday</th>
</thead>
<tbody>
{% for row in site.data.schedule %}
<tr>
<td class="nowrap text-muted text-center">{{ row.week }}</td>
{% for day in row.days %}
<td class="nowrap text-muted text-center">
{% if day.class %}
<small>{{ day.class | date: "%m/%d" }}</small>
{% else %}
<small> </small>
{% endif %}
</td>
<td class="fill33">
{% if day.notes %}
<strong class="small text-uppercase more-muted">Lectures & Notes</strong>
{% if day.other %}
<ul class="fa-ul">
{% else %}
<ul class="fa-ul" style="margin-bottom: 0px;">
{% endif %}
{% for item in day.notes %}
{% if item.type %}
<li class="{{ item.type }}">
{% else %}
<li>
{% endif %}
{% if item.icon %}
<i class="fa fa-li {{ item.icon }}"></i>
{% else %}
<i class="fa fa-li fa-file-o"></i>
{% endif %}
{% if item.link %}<a href="{{ item.link }}">{% endif %}
{{ item.name }}
{% if item.link %}</a>{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
{% if day.other %}
<strong class="small text-uppercase more-muted">Dates & Assignments</strong>
<ul class="fa-ul" style="margin-bottom: 0px;">
{% for item in day.other %}
{% if item.type %}
<li class="{{ item.type }}">
{% else %}
<li>
{% endif %}
{% if item.icon %}
<i class="fa fa-li {{ item.icon }}"></i>
{% else %}
<i class="fa fa-li fa-file-o"></i>
{% endif %}
{% if item.note %}<small><span class="label label-default">{{ item.note }}</span></small>{% endif %}
{% if item.link %}<a href="{{ item.link }}">{% endif %}
{{ item.name }}
{% if item.link %}</a>{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</td>
{% endfor #day %}
</tr>
{% endfor #row %}
</tbody>
</table>
</div>