diff options
author | MaZderMind | 2015-03-02 14:55:37 +0100 |
---|---|---|
committer | MaZderMind | 2015-03-02 14:55:37 +0100 |
commit | 3b16385db8037630296947828f47b2c6b8a68cab (patch) | |
tree | 5141e7cb648b34d043ed7f061f05f4f321f1b2a3 /template | |
parent | 7f8942ef509ca3fa4e625beef00e023e25c6e94a (diff) |
Multitude of Smartphone-Fixes
Diffstat (limited to 'template')
-rw-r--r-- | template/overview.phtml | 11 | ||||
-rw-r--r-- | template/relive.phtml | 8 |
2 files changed, 15 insertions, 4 deletions
diff --git a/template/overview.phtml b/template/overview.phtml index fc9e80b..9210d47 100644 --- a/template/overview.phtml +++ b/template/overview.phtml @@ -16,13 +16,18 @@ <? $count = count($rooms); ?> <? foreach($rooms as $idx => $room): ?> <div class=" - room room-<?=h($room)?> + room room-<?=h($room)?> clearfix <? /* when the count is odd and this is the last item - make it full width */ ?> <? if($count % 2 == 1 && $idx == $count - 1): ?> - col-sm-12 wide + col-xs-12 wide <? else: ?> - col-md-6 col-sm-12 narrow + <? if(get("ROOMS.$room.PREVIEW") && get("ROOMS.$room.SCHEDULE") && has("SCHEDULE")): ?> + col-md-6 + <? else: ?> + col-sm-6 + <? endif ?> + narrow <? endif ?> <? if(get("ROOMS.$room.PREVIEW")): ?> diff --git a/template/relive.phtml b/template/relive.phtml index d263f8e..86b5b3f 100644 --- a/template/relive.phtml +++ b/template/relive.phtml @@ -1,6 +1,12 @@ <div class="container"> <h1><?=h($title)?></h1> - <h2 style="color: red;">Extreme Beta !!!</h1> + + <div class="row"> + <div class="alert alert-danger" role="alert"> + <i class="fa fa-exclamation-circle"></i> + <strong>Danger!</strong> Extreme Beta!!! + </div> + </div> <div class="event-previews relive"> |