// Module List + some design WIP
This commit is contained in:
@@ -25,45 +25,40 @@
|
||||
|
||||
<div id="productBox">
|
||||
{include file='controllers/modules/header.tpl'}
|
||||
{include file='controllers/modules/filters.tpl'}
|
||||
|
||||
{include file='controllers/modules/login_addons.tpl'}
|
||||
|
||||
|
||||
{if $upgrade_available|@count}
|
||||
<div class="alert alert-info" style="display:block;">
|
||||
{l s='An upgrade is available for some of your modules!'}
|
||||
<ul>
|
||||
{foreach from=$upgrade_available item='module'}
|
||||
<li> » <a href="{$currentIndex|escape:htmlall}&token={$token|escape:htmlall}&anchor=anchor{$module.anchor|escape:htmlall}"><b>{$module.name|escape:htmlall}</b></a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="alert alert-info">
|
||||
{l s='An upgrade is available for some of your modules!'}
|
||||
<ul>
|
||||
{foreach from=$upgrade_available item='module'}
|
||||
<li> » <a href="{$currentIndex|escape:htmlall}&token={$token|escape:htmlall}&anchor=anchor{$module.anchor|escape:htmlall}"><b>{$module.name|escape:htmlall}</b></a></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="btn-group pull-right">
|
||||
<a class="btn btn-default" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}">
|
||||
<i class="icon-list"></i>
|
||||
{l s='Normal view'}
|
||||
</a>
|
||||
<a class="btn btn-default" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}&select=favorites">
|
||||
<i class="icon-star"></i>
|
||||
{l s='Favorites view'}
|
||||
</a>
|
||||
|
||||
|
||||
<div class="panel">
|
||||
<div class="panel-heading">
|
||||
<i class="icon-list-ul"></i>
|
||||
{l s='Modules list'}
|
||||
</div>
|
||||
</div>
|
||||
<div id="container">
|
||||
{include file='controllers/modules/filters.tpl'}
|
||||
<!--start sidebar module-->
|
||||
<div class="row-fluid">
|
||||
<div class="categorieTitle col-lg-3">
|
||||
<div class="row">
|
||||
|
||||
<div class="categorieTitle col col-lg-3">
|
||||
<div class="list-group">
|
||||
<h3>
|
||||
<i class="icon-reorder"></i>
|
||||
{l s='Categories'}
|
||||
</h3>
|
||||
|
||||
<a class="list-group-item {if isset($categoryFiltered.favorites)}active{/if}" href="{$currentIndex}&token={$token}&filterCategory=favorites">
|
||||
{l s='Favorites'} <span class="badge pull-right">{$nb_modules_favorites}</span>
|
||||
<i class="icon-star"></i> {l s='Favorites'} <span class="badge pull-right">{$nb_modules_favorites}</span>
|
||||
</a>
|
||||
|
||||
<a class="list-group-item {if count($categoryFiltered) lte 0}active{/if}" href="{$currentIndex}&token={$token}&unfilterCategory=yes">
|
||||
{l s='Total'} <span class="badge pull-right">{$nb_modules}</span>
|
||||
{l s='All'} <span class="badge pull-right">{$nb_modules}</span>
|
||||
</a>
|
||||
{foreach from=$list_modules_categories item=module_category key=module_category_key}
|
||||
<a class="list-group-item {if isset($categoryFiltered[$module_category_key])}active{/if}" href="{$currentIndex}&token={$token}&{if isset($categoryFiltered[$module_category_key])}un{/if}filterCategory={$module_category_key}">
|
||||
@@ -72,13 +67,10 @@
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="moduleContainer" class="col-lg-9">
|
||||
<h3>
|
||||
<i class="icon-list-ul"></i>
|
||||
{l s='Modules list'}
|
||||
</h3>
|
||||
{include file='controllers/modules/list.tpl'}
|
||||
|
||||
<div id="moduleContainer" class="col col-lg-9">
|
||||
{include file='controllers/modules/list.tpl'}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user