Some responsive

This commit is contained in:
Olivier PEREZ 2015-09-19 16:51:57 +02:00
parent c5236ec3b3
commit 2a6b8acfe1
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<header role="banner">
{if count($langs)>1}
<form method="post" action="" class="hidden-print">
<div class="input-group input-group-sm pull-right col-md-2 col-xs-4">
<div class="input-group input-group-sm pull-right col-xs-12 col-sm-2">
<select name="lang" class="form-control" title="{__('Language selector', 'Select the language')}" >
{foreach $langs as $lang_key=>$lang_value}
<option lang="{substr($lang_key, 0, 2)}" {if substr($lang_key, 0, 2)==$locale}selected{/if} value="{$lang_key|html}">{$lang_value|html}</option>
@ -14,7 +14,11 @@
</form>
{/if}
<h1><a href="{$SERVER_URL|html}" title="{__('Generic', 'Home')} - {$APPLICATION_NAME|html}"><img src="{$TITLE_IMAGE|resource}" alt="{$APPLICATION_NAME|html}"/></a></h1>
<h1>
<a href="{$SERVER_URL|html}" title="{__('Generic', 'Home')} - {$APPLICATION_NAME|html}" class="col-xs-12 col-sm-10">
<img src="{$TITLE_IMAGE|resource}" alt="{$APPLICATION_NAME|html}" class="img-responsive"/>
</a>
</h1>
{if !empty($title)}<h2 class="lead"><i>{$title|html}</i></h2>{/if}
<hr class="trait" role="presentation" />
</header>

View File

@ -2,7 +2,7 @@
{block name=main}
<div class="row">
<div class="col-md-6 text-center">
<div class="col-xs-12 col-md-6 text-center">
<p class="home-choice">
<a href="{$SERVER_URL}create_poll.php?type=date" class="opacity" role="button">
<img class="img-responsive center-block" src="{'images/date.png'|resource}" alt=""/>
@ -14,7 +14,7 @@
</a>
</p>
</div>
<div class="col-md-6 text-center">
<div class="col-xs-12 col-md-6 text-center">
<p class="home-choice">
<a href="{$SERVER_URL}create_poll.php?type=autre" class="opacity" role="button">
<img alt="" class="img-responsive center-block" src="{'images/classic.png'|resource}"/>
@ -26,7 +26,7 @@
</a>
</p>
</div>
<div class="col-md-6 col-md-offset-3 text-center">
<div class="col-xs-12 col-md-6 col-md-offset-3 text-center">
<p class="home-choice">
<a href="{$SERVER_URL}find_polls.php" class="opacity" role="button">
<span class="btn btn-warning btn-lg">