diff options
Diffstat (limited to 'template/overview.phtml')
-rw-r--r-- | template/overview.phtml | 60 |
1 files changed, 24 insertions, 36 deletions
diff --git a/template/overview.phtml b/template/overview.phtml index 39cca02..3332fb9 100644 --- a/template/overview.phtml +++ b/template/overview.phtml @@ -1,17 +1,11 @@ <? include("$assemblies/banner.phtml") ?> <div class="container"> - <div class="row headline"> - <div class="col-xs-12"> - <h1><?=h($title)?></h1> - </div> - </div> - <? $i = 0; foreach($overview->getGroups() as $group => $rooms): ?> <? if($group): ?> <div class="row"> <div class="col-xs-12"> - <h2><?=h($group)?></h2> + <h2><span><?=h($group)?></span></h2> </div> </div> <? endif ?> @@ -50,49 +44,43 @@ <? endif ?> "> - <div class="panel panel-default"> - <div class="panel-heading"> - <div class="panel-title"> - <a href="<?=h($room->getLink())?>"> + <a href="<?=h($room->getLink())?>"> + <div class="panel panel-default"> + <div class="panel-heading"> + <div class="panel-title"> <?=h($room->getDisplay())?> - </a> + </div> </div> - </div> - <div class="panel-body"> - <? if($room->hasPreview()): ?> + <div class="panel-body"> + <? if($room->hasPreview()): ?> - <a href="<?=h($room->getLink())?>"> <img class="preview" src="<?=h($room->getThumb())?>" alt="<?=h($room->getDisplay())?>" width="213" height="120" /> - </a> - <? endif ?> + <? endif ?> - <a href="<?=h($room->getLink())?>" class="title"> - <?=h($room->getDisplay())?> - </a> + <? if($room->hasSchedule()): ?> + <? $upcoming = @$upcomingTalksPerRoom[ $room->getScheduleName() ] ?: [] ?> + <div class="program-schedule"> + <div class="talk current-talk" title="<?=h(@$upcoming['current']['title'] ?: 'none') ?>"> + <strong>Now:</strong> + <span class="t"><?=h(@$upcoming['current']['title'] ?: 'none') ?></span> + </div> - <? if($room->hasSchedule()): ?> - <? $upcoming = @$upcomingTalksPerRoom[ $room->getScheduleName() ] ?: [] ?> - <div class="program-schedule"> - <div class="talk current-talk"> - <strong>Now:</strong> - <span class="t"><?=h(@$upcoming['current']['title'] ?: 'none') ?></span> + <div class="talk next-talk" title="<?=h(@$upcoming['next']['title'] ?: 'none') ?>"> + <strong>Next Talk:</strong> + <span class="t"><?=h(@$upcoming['next']['title'] ?: 'none') ?></span> + </div> </div> - - <div class="talk next-talk"> - <strong>Next Talk:</strong> - <span class="t"><?=h(@$upcoming['next']['title'] ?: 'none') ?></span> - </div> - </div> - <? endif ?> + <? endif ?> + </div> </div> - </div> + </a> </div> <? $idx++ ?> <? endforeach ?> @@ -111,7 +99,7 @@ <div class="row recordings"> <div class="col-xs-12"> - <h2>Recordings</h2> + <h2><span>Recordings</span></h2> </div> <? if($conference->hasReleases()): ?> |