// Fixed group display

This commit is contained in:
Damien Metzger
2013-11-05 16:13:52 +01:00
parent e4fe5f6df6
commit 0e4a900d3d
5 changed files with 2 additions and 3 deletions
@@ -169,7 +169,6 @@
</div> </div>
{elseif $input['type'] == 'modules'} {elseif $input['type'] == 'modules'}
<div style="{if !$form_id}display:none{/if}"> <div style="{if !$form_id}display:none{/if}">
<div class="margin-form">
<script type="text/javascript"> <script type="text/javascript">
$(document).ready(function() { $(document).ready(function() {
$('#authorized-modules').find('[value="0"]').click(function() { $('#authorized-modules').find('[value="0"]').click(function() {
@@ -185,7 +184,7 @@
<div class="col-lg-9" id="authorized-modules"> <div class="col-lg-9" id="authorized-modules">
{foreach $input['values']['auth_modules'] key=key item=module } {foreach $input['values']['auth_modules'] key=key item=module }
<div class="form-group"> <div class="form-group">
<label class="control-label col-lg-2"><img src="../modules/{$module->name}/logo.gif"> {$module->displayName}</label> <label class="control-label col-lg-4"><img src="../modules/{$module->name}/logo.gif"> {$module->displayName}</label>
<div class="input-group col-lg-2"> <div class="input-group col-lg-2">
<span class="switch prestashop-switch"> <span class="switch prestashop-switch">
<input type="radio" name="{$module->name}" id="{$module->name}_on" value="1" checked="checked"> <input type="radio" name="{$module->name}" id="{$module->name}_on" value="1" checked="checked">
@@ -200,7 +199,7 @@
{/foreach} {/foreach}
{foreach $input['values']['unauth_modules'] key=key item=module } {foreach $input['values']['unauth_modules'] key=key item=module }
<div class="form-group"> <div class="form-group">
<label class="control-label col-lg-2"><img src="../modules/{$module->name}/logo.gif"> {$module->displayName}</label> <label class="control-label col-lg-4"><img src="../modules/{$module->name}/logo.gif"> {$module->displayName}</label>
<div class="input-group col-lg-2"> <div class="input-group col-lg-2">
<span class="switch prestashop-switch"> <span class="switch prestashop-switch">
<input type="radio" name="{$module->name}" id="{$module->name}_on" value="1"> <input type="radio" name="{$module->name}" id="{$module->name}_on" value="1">
Binary file not shown.

After

Width:  |  Height:  |  Size: 1018 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 964 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 973 B