diff options
author | MaZderMind | 2014-12-20 15:24:37 +0100 |
---|---|---|
committer | MaZderMind | 2014-12-20 15:24:37 +0100 |
commit | 48c00718d00136c44d2f92fe8c1732b43a89900e (patch) | |
tree | 3bd07f50b69af4cbf61863fd0ece8911c832c878 /template/rooms.phtml | |
parent | a51c188eb783b1f7b6cd0ba414252572babd8e53 (diff) |
build the frondpage using bootstrap grid
wrap to one col on phone
Diffstat (limited to 'template/rooms.phtml')
-rw-r--r-- | template/rooms.phtml | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/template/rooms.phtml b/template/rooms.phtml index 0a351e0..2d4b3b7 100644 --- a/template/rooms.phtml +++ b/template/rooms.phtml @@ -6,9 +6,9 @@ <div class="room-group lecture" data-offset="<?=h($GLOBALS['CONFIG']['SCHEDULE_OFFSET'])?>"> <h2>Lecture Rooms</h2> - <ul> + <ul class="row"> <? foreach(array('saal1', 'saal2', 'saalg', 'saal6') as $room): ?> - <li class="<?=h($room)?>"> + <li class="<?=h($room)?> col-sm-6"> <a href="<?=h(link_room($room))?>"> <div class="title"><?=h($rooms[$room])?></div> @@ -36,9 +36,9 @@ <div class="room-group"> <h2>Live DJ Sets</h2> - <ul> + <ul class="row"> <? foreach(array('lounge', 'ambient') as $room): ?> - <li class="<?=h($room)?>"> + <li class="<?=h($room)?> col-sm-6"> <a href="<?=h(link_room($room))?>" class="title"><?=h($rooms[$room])?></a> </li> <? endforeach ?> @@ -49,9 +49,9 @@ <div class="room-group"> <h2>Live Podcasts</h2> - <ul> + <ul class="row"> <? foreach(array('sendezentrum') as $room): ?> - <li class="<?=h($room)?> wide"> + <li class="<?=h($room)?> col-sm-12"> <a href="<?=h(link_room($room))?>" class="title"><?=h($rooms[$room])?></a> </li> <? endforeach ?> @@ -63,8 +63,8 @@ <div class="room-group"> <h2>Recordings</h2> - <ul> - <li class="recordings wide"> + <ul class="row"> + <li class="recordings col-sm-12"> <a href="//media.ccc.de/browse/congress/2014/index.html" class="title">Recordings</a> </li> </ul> |