diff options
author | MaZderMind | 2014-11-10 23:03:20 +0100 |
---|---|---|
committer | MaZderMind | 2014-11-10 23:03:20 +0100 |
commit | 91837b1646f7071f793c6fc7a44d2c4b21d048fa (patch) | |
tree | 2c4449fc7314e08179cab16cc07549f94be07e9a /template/rooms.phtml | |
parent | 2ad3b1c61c4d2f11ad57840a091e4db397689405 (diff) |
show program teaser on the startpage
Diffstat (limited to '')
-rw-r--r-- | template/rooms.phtml | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/template/rooms.phtml b/template/rooms.phtml index 35b509a..e7375ae 100644 --- a/template/rooms.phtml +++ b/template/rooms.phtml @@ -3,13 +3,30 @@ <div class="container-fluid rooms"> <h1>Live-Streams</h1> - <div class="room-group lecture"> + <div class="room-group lecture" data-offset="<?=h($GLOBALS['CONFIG']['SCHEDULE_OFFSET'])?>"> <h2>Lecture Rooms</h2> <ul> <? foreach(array('saal1', 'saal2', 'saalg', 'saal6') as $room): ?> <li class="<?=h($room)?>"> - <a href="<?=h(link_room($room))?>"><?=h($rooms[$room])?></a> + <a href="<?=h(link_room($room))?>"> + <div class="title"><?=h($rooms[$room])?></div> + + <div class="program-teaser"> + + <span class="current-talk hidden"> + <strong>Current Talk:</strong> + <span class="t">none</span> + </span> + + <br /> + + <span class="next-talk hidden"> + <strong>Next Talk:</strong> + <span class="t">none</span> + </span> + </div> + </a> </li> <? endforeach ?> </ul> @@ -22,7 +39,7 @@ <ul> <? foreach(array('lounge', 'ambient') as $room): ?> <li class="<?=h($room)?>"> - <a href="<?=h(link_room($room))?>"><?=h($rooms[$room])?></a> + <a href="<?=h(link_room($room))?>" class="title"><?=h($rooms[$room])?></a> </li> <? endforeach ?> </ul> @@ -35,7 +52,7 @@ <ul> <? foreach(array('sendezentrum') as $room): ?> <li class="<?=h($room)?> wide"> - <a href="<?=h(link_room($room))?>"><?=h($rooms[$room])?></a> + <a href="<?=h(link_room($room))?>" class="title"><?=h($rooms[$room])?></a> </li> <? endforeach ?> </ul> @@ -48,7 +65,7 @@ <ul> <li class="recordings wide"> - <a href="//media.ccc.de/browse/congress/2014/index.html">Recordings</a> + <a href="//media.ccc.de/browse/congress/2014/index.html" class="title">Recordings</a> </li> </ul> </div> |