lpschedule-generator

libreplanet schedule generator - ricketyspace.net/lpschedule-generator
git clone git://git.ricketyspace.net/lpschedule-generator.git
Log | Files | Refs

commit 598d33b19e1e293cd304a20355598a4ab6d7d58e
parent 209db125634cb6e681492ee8a4e2c35770ede044
Author: rsiddharth <rsd@gnu.org>
Date:   Sat, 19 Dec 2015 13:13:17 -0500

Updated templates/lp-sch-2016.jinja2

Added styling for collapsing individual sessions.

Diffstat:
templates/lp-sch-2016.jinja2 | 13+++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/templates/lp-sch-2016.jinja2 b/templates/lp-sch-2016.jinja2 @@ -95,8 +95,17 @@ <section id="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}" class="program-session"> {{ mk_session_header(session) }} {{ mk_speakers(session_info['speakers']) }} - {{ mk_room(session_info['room']) }} - {{ desc(session_info['desc']) }} + <button class="btn btn-default btn-xs" + data-toggle="collapse" aria-expanded="false" + aria-controls="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse" + data-target="#day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse"> + Details + </button> + <div class="collapse in" + id="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse"> + {{ mk_room(session_info['room']) }} + {{ desc(session_info['desc']) }} + </div> <!-- day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}-collapse end --> </section> <!-- day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }} end --> {% endfor %} {# session end #} {% endmacro %}