// fix Modules page
This commit is contained in:
1 parent
f8f2c99d28
commit
a972de046e
1 file changed
+35
-15
@@ -23,7 +23,7 @@
|
|||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
{if count($modules)}
|
|
||||||
<table id="module-list" class="table">
|
<table id="module-list" class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -46,6 +46,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
</thead>
|
||||||
|
{if count($modules)}
|
||||||
<tbody>
|
<tbody>
|
||||||
{foreach from=$modules item=module}
|
{foreach from=$modules item=module}
|
||||||
<tr>
|
<tr>
|
||||||
@@ -173,20 +175,38 @@
|
|||||||
</tr>
|
</tr>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</tbody>
|
</tbody>
|
||||||
|
<tfoot>
|
||||||
|
<tr>
|
||||||
|
<td colspan="4">
|
||||||
|
<div class="btn-group pull-left">
|
||||||
|
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||||
|
{l s='bulk actions'}
|
||||||
|
<span class="caret"></span>
|
||||||
|
</button>
|
||||||
|
<ul class="dropdown-menu">
|
||||||
|
<li>
|
||||||
|
<a href="#" onclick="modules_management('install')">
|
||||||
|
<i class="icon-plus-sign-alt"></i>
|
||||||
|
{l s='Install the selection'}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a href="#" onclick="modules_management('uninstall')">
|
||||||
|
<i class="icon-minus-sign-alt"></i>
|
||||||
|
{l s='Uninstall the selection'}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tfoot>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
<div class="row-fluid">
|
|
||||||
<span class="pull-right">
|
|
||||||
<button type="button" class="btn btn-default" onclick="modules_management('install')">
|
|
||||||
<i class="icon-plus-sign-alt"></i>
|
|
||||||
{l s='Install the selection'}
|
|
||||||
</button>
|
|
||||||
<button type="button" class="btn btn-default" onclick="modules_management('uninstall')">
|
|
||||||
<i class="icon-minus-sign-alt"></i>
|
|
||||||
{l s='Uninstall the selection'}
|
|
||||||
</button>
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{else}
|
{else}
|
||||||
<p class="help-block">{l s='No modules available in this section.'}</p>
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td colspan="4" class="text-center"><i class="icon-warning-sign"></i> {l s='No modules available in this section.'}</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
{/if}
|
{/if}
|
||||||
Reference in new issue
Block a user