@@ -59,46 +59,20 @@ <h2>Schedule - {{conference}}</h2>
59
59
< p > A list of the sessions can be found < a href ="/events/sessions/{{conference.urlname}}/ "> here</ a > .
60
60
</ p >
61
61
</ section >
62
- <!-- Secondary Header
63
- {%for day in days%}
64
- <section class="section">
65
- <hr>
66
- <h2>{{day.day|date:"l, F d"}}</h2>
67
- <div class="schedwrap" style="height: {{day.schedule_height}}px; width: {{day.schedule_width}}px;">
68
- {%for room in day.rooms%}
69
- <div class="sessblock roomheader" style="left: {{room.leftpos}}px; width: {{room.widthpos}}px; height: 100px;">
70
- {{room.name}}
71
- </div>
72
- {%endfor%}
73
- {%for session in day.sessions%}
74
- <div class="sessblock track{{session.track.id}}">-->
75
- <!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
76
- <!--{%if session.id%}
77
- <a href="session/{{session.id}}-{{session.title|slugify}}/">{{session.timeslot}}<br/><b>{{session.title}}</b></a>
78
- {%else%}
79
- {{session.timeslot}} - <b>{{session.title}}</b>
80
- {%endif%}
81
- {%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}<i><a href="speaker/{{speaker.id}}-{{speaker.name|slugify}}/">{{speaker.name}}</a></i>{%endfor%}
82
- </div>
83
- {%endfor%}
84
- </div>
85
- <br>
86
- </section>
87
- {%endfor%}
88
- -->
89
62
{%for day in days%}
90
63
< section class ="section ">
91
64
< div class ="container ">
92
65
< h2 > {{day.day|date:"l, F d"}}</ h2 >
93
66
< div class ="row ">
67
+ {%for room in day.rooms%}
94
68
< div class ="4u 12u$(medium) ">
95
69
< section class ="box ">
96
- {%for room in day.rooms%}
97
70
< h4 > < div class ="sessblock roomheader ">
98
71
{{room.name}}
99
72
</ div > </ h4 >
100
73
< br >
101
74
{%for session in day.sessions%}
75
+ {%if session.leftpos == room.leftpos%}
102
76
< div class ="sessblock track{{session.track.id}} ">
103
77
<!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
104
78
{%if session.id%}
@@ -108,52 +82,11 @@ <h4><div class="sessblock roomheader">
108
82
{%endif%}
109
83
{%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}< i > < a href ="speaker/{{speaker.id}}-{{speaker.name|slugify}}/ "> {{speaker.name}}</ a > </ i > {%endfor%}
110
84
</ div >
111
- {%endfor%}
112
- {%endfor%}
113
- </ section >
114
- </ div >
115
- < div class ="4u 12u$(medium) ">
116
- < section class ="box ">
117
- {%for room in day.rooms%}
118
- < div class ="sessblock roomheader " style ="left: {{room.leftpos}}px; width: {{room.widthpos}}px; height: 100px; ">
119
- {{room.name}}
120
- </ div >
121
- {%endfor%}
122
- < br >
123
- {%for session in day.sessions%}
124
- < div class ="sessblock track{{session.track.id}} ">
125
- <!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
126
- {%if session.id%}
127
- < a href ="session/{{session.id}}-{{session.title|slugify}}/ "> {{session.timeslot}}< br /> < b > {{session.title}}</ b > </ a >
128
- {%else%}
129
- {{session.timeslot}} - < b > {{session.title}}</ b >
130
85
{%endif%}
131
- {%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}< i > < a href ="speaker/{{speaker.id}}-{{speaker.name|slugify}}/ "> {{speaker.name}}</ a > </ i > {%endfor%}
132
- </ div >
133
86
{%endfor%}
134
87
</ section >
135
88
</ div >
136
- < div class ="4u 12u$(medium) ">
137
- < section class ="box ">
138
- {%for room in day.rooms%}
139
- < div class ="sessblock roomheader " style ="left: {{room.leftpos}}px; width: {{room.widthpos}}px; height: 100px; ">
140
- {{room.name}}
141
- </ div >
142
89
{%endfor%}
143
- < br >
144
- {%for session in day.sessions%}
145
- < div class ="sessblock track{{session.track.id}} ">
146
- <!--style="top: {{session.toppos}}px; left: {{session.leftpos}}px; width: {{session.widthpos}}px; height: {{session.heightpos}}px;-->
147
- {%if session.id%}
148
- < a href ="session/{{session.id}}-{{session.title|slugify}}/ "> {{session.timeslot}}< br /> < b > {{session.title}}</ b > </ a >
149
- {%else%}
150
- {{session.timeslot}} - < b > {{session.title}}</ b >
151
- {%endif%}
152
- {%for speaker in session.speakers %}{%if forloop.first%}{%else%}, {%endif%}< i > < a href ="speaker/{{speaker.id}}-{{speaker.name|slugify}}/ "> {{speaker.name}}</ a > </ i > {%endfor%}
153
- </ div >
154
- {%endfor%}
155
- </ section >
156
- </ div >
157
90
</ div >
158
91
</ div >
159
92
</ section >
0 commit comments