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)} {if count($groups) && isset($groups)}
<table class="table"> <div class="row">
<thead> <div class="col-lg-6">
<th class="fixed-width-xs"> <table class="table table-bordered">
<span class="title_box"><input type="checkbox" name="checkme" id="checkme" class="noborder" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" /></span> <thead>
</th> <th class="fixed-width-xs">
<th class="fixed-width-xs"><span class="title_box">{l s='ID'}</span></th> <span class="title_box">
<th><span class="title_box">{l s='Group name'}</span></th> <input type="checkbox" name="checkme" id="checkme" onclick="checkDelBoxes(this.form, 'groupBox[]', this.checked)" />
</thead> </span>
<tbody> </th>
{foreach $groups as $key => $group} <th class="fixed-width-xs"><span class="title_box">{l s='ID'}</span></th>
<tr> <th>
<td> <span class="title_box">
{assign var=id_checkbox value=groupBox|cat:'_'|cat:$group['id_group']} {l s='Group name'}
<input type="checkbox" name="groupBox[]" class="groupBox" id="{$id_checkbox}" value="{$group['id_group']}" {if $fields_value[$id_checkbox]}checked="checked"{/if} /> </span>
</td> </th>
<td>{$group['id_group']}</td> </thead>
<td><label for="{$id_checkbox}" class="t">{$group['name']}</label></td> <tbody>
</tr> {foreach $groups as $key => $group}
{/foreach} <tr>
</tbody> <td>
</table> {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} {else}
<p>{l s='No group created'}</p> <p>
{l s='No group created'}
</p>
{/if} {/if}