Merge branch 'bootstrap' of https://github.com/PrestaShop/PrestaShop into bootstrap

This commit is contained in:
Jerome Nadaud
2013-10-21 12:36:02 +02:00
@@ -24,27 +24,41 @@
*}
{if count($groups) && isset($groups)}
<table class="table">
<thead>
<th class="fixed-width-xs">
<span class="title_box"><input type="checkbox" name="checkme" id="checkme" class="noborder" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" /></span>
</th>
<th class="fixed-width-xs"><span class="title_box">{l s='ID'}</span></th>
<th><span class="title_box">{l s='Group name'}</span></th>
</thead>
<tbody>
{foreach $groups as $key => $group}
<tr>
<td>
{assign var=id_checkbox value=groupBox|cat:'_'|cat:$group['id_group']}
<input type="checkbox" name="groupBox[]" class="groupBox" id="{$id_checkbox}" value="{$group['id_group']}" {if $fields_value[$id_checkbox]}checked="checked"{/if} />
</td>
<td>{$group['id_group']}</td>
<td><label for="{$id_checkbox}" class="t">{$group['name']}</label></td>
</tr>
{/foreach}
</tbody>
</table>
<div class="row">
<div class="col-lg-6">
<table class="table table-bordered">
<thead>
<th class="fixed-width-xs">
<span class="title_box">
<input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" />
</span>
</th>
<th class="fixed-width-xs"><span class="title_box">{l s='ID'}</span></th>
<th>
<span class="title_box">
{l s='Group name'}
</span>
</th>
</thead>
<tbody>
{foreach $groups as $key => $group}
<tr>
<td>
{assign var=id_checkbox value=groupBox|cat:'_'|cat:$group['id_group']}
<input type="checkbox" name="groupBox[]" class="groupBox" id="{$id_checkbox}" value="{$group['id_group']}" {if $fields_value[$id_checkbox]}checked="checked"{/if} />
</td>
<td>{$group['id_group']}</td>
<td>
<label for="{$id_checkbox}">{$group['name']}</label>
</td>
</tr>
{/foreach}
</tbody>
</table>
</div>
</div>
{else}
<p>{l s='No group created'}</p>
<p>
{l s='No group created'}
</p>
{/if}