change payment list style

This commit is contained in:
Manuel Raynaud
2014-04-18 17:08:53 +02:00
parent 2a50fd1f8a
commit cb16b534d1
3 changed files with 11 additions and 9 deletions

File diff suppressed because one or more lines are too long

View File

@@ -46,6 +46,12 @@
}
}
#payment-method {
.list-group-item {
border: none;
}
}
.js #payment-method {
.radio {
.active > img,

View File

@@ -262,23 +262,19 @@
{/if}
<div class="panel-body">
<ul class="list-payment">
<ul class="list-group">
{loop type="payment" name="payments" force_return="true"}
{assign "paymentModuleId" $ID}
<li>
<div class="radio">
<li class="list-group-item text-left">
<label for="payment_{$paymentModuleId}">
<input type="radio" name="{$name}" id="payment_{$paymentModuleId}" value="{$paymentModuleId}">
<input type="radio" name="{$name}" id="payment_{$paymentModuleId}" value="{$paymentModuleId}" {if $LOOP_TOTAL ==1 && $LOOP_COUNT == 1}checked{/if}>
{loop type="image" name="paymentspicture" source="module" source_id=$ID force_return="true" width="100" height="72"}
<img src="{$IMAGE_URL}" alt="{intl l="Pay with %module_title" module_title={$TITLE}}">
{/loop}
{elseloop rel="paymentspicture"}
{intl l="Pay with %module_title" module_title={$TITLE}}
{/elseloop}
</label>
</div>
</li>
{/loop}
</ul>