Skip to content
Snippets Groups Projects
Commit 2a6b8acf authored by Olivier PEREZ's avatar Olivier PEREZ
Browse files

Some responsive

parent c5236ec3
No related branches found
No related tags found
No related merge requests found
<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>
......
......@@ -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">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment