// Fixed module list
This commit is contained in:
@@ -249,12 +249,11 @@ a.module_toggle_all{color: #268CCD;}
|
||||
display: block;
|
||||
float: right;
|
||||
height: auto;
|
||||
width: 300px;
|
||||
width: 500px;
|
||||
position: absolute;
|
||||
right: 13px;
|
||||
top: 63px;
|
||||
z-index: 100;
|
||||
padding: 10px;
|
||||
box-shadow: 1px 5px 5px #CCCCCC;
|
||||
-moz-box-shadow: 1px 5px 10px #CCCCCC;
|
||||
-webkit-box-shadow: 1px 5px 10px #CCCCCC;
|
||||
@@ -271,7 +270,7 @@ a.module_toggle_all{color: #268CCD;}
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab {margin-top: 10px;width: auto;height: auto; }
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab table {width: 100%;border-spacing: 0px; }
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab tr { height: auto}
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab tr.rowalt {background-color: #EEE}
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab tr.rowalt {background-color: #F0F7FF}
|
||||
.toolbarBox #modules_list_container #modules_list_container_tab #tab_module_switch {margin-bottom: 10px;}
|
||||
.toolbarBox #modules_list_container #modules_list_loader {margin-top: 10px}
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules:after {clear: both;}
|
||||
@@ -304,7 +303,7 @@ a.module_toggle_all{color: #268CCD;}
|
||||
.toolbarBox #modules_list_container .nav-tabs-modules > .active > a:hover {
|
||||
color: #555555;
|
||||
cursor: default;
|
||||
background-color: #EEE;
|
||||
background-color: #F8F8F8;
|
||||
border: 1px solid #ddd;
|
||||
border-bottom-color: transparent;
|
||||
}
|
||||
@@ -540,9 +539,8 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
|
||||
#modules_list_container_tab table tr td { font-size:12px; padding: 3px 3px 3px; border-top:1px solid #ccc; border-bottom:none;}
|
||||
#modules_list_container_tab table tr td tr td {border: none}
|
||||
#modules_list_container_tab table tr:first-child {border-top:1px solid #ccc}
|
||||
#modules_list_container_tab table td.tab_modules_actions_row {border-top:1px solid #ccc}
|
||||
#modules_list_container_tab .imgm {width:32px;}
|
||||
#modules_list_container_tab .moduleDesc { font-size:12px;width: 238px;}
|
||||
#modules_list_container_tab .moduleDesc {font-size:12px}
|
||||
#modules_list_container_tab .moduleDesc h3 { color:#3A6EA7;margin: 0;font-size: 1.1em;text-align: left;white-space: normal;}
|
||||
#modules_list_container_tab .moduleDesc .metadata { float:left; display:block; margin:5px 0;}
|
||||
#modules_list_container_tab .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;}
|
||||
@@ -565,7 +563,7 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
|
||||
|
||||
.default_modules_list_display_type #modules_list_container_content li table tr td{border: none}
|
||||
.default_modules_list_display_type #modules_list_container_content li table {border: solid 1px #ccc; height: 140px;width: 100%;margin-bottom:15px}
|
||||
#modules_list_container_tab ul li {margin:5px;height:140px}
|
||||
#modules_list_container_tab ul li {height:140px}
|
||||
|
||||
/******** ie7 ******/
|
||||
.ie7 #modules_list_container_tab #modules_list_container_content li{zoom:1;display:inline;}
|
||||
|
||||
@@ -28,13 +28,27 @@
|
||||
<td>
|
||||
<table border="0" cellpadding="0" cellspacing="5">
|
||||
<tr>
|
||||
<td height="60" valign="top" width="75" align="center">
|
||||
<td valign="top" width="32" align="center">
|
||||
<img class="imgm" alt="" src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}">
|
||||
</td>
|
||||
<td height="60" width="100" valign="top">
|
||||
<td height="60" valign="top">
|
||||
<div class="moduleDesc" id="anchor{$module->name|ucfirst}">
|
||||
<h3>{$module->displayName|truncate:40:'…'} {$module->version}
|
||||
|
||||
<h3>
|
||||
{$module->displayName|truncate:40:'…'} {$module->version}
|
||||
{if isset($module->id) && $module->id gt 0 }
|
||||
{if $module->active}
|
||||
<span class="setup">{l s='Enabled'}</span>
|
||||
{else}
|
||||
<span class="setup off">{l s='Disabled'}</span>
|
||||
{/if}
|
||||
{else}
|
||||
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
||||
<span class="setup must-have">{l s='Must Have'}</span>
|
||||
{else}
|
||||
<span class="setup off">{l s='Not installed'}</span>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
</h3>
|
||||
<p class="desc">
|
||||
{if isset($module->description) && $module->description ne ''}
|
||||
@@ -45,38 +59,19 @@
|
||||
</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td border="0" height="20" width="75" align="left" valign="bottom">
|
||||
{if isset($module->id) && $module->id gt 0 }
|
||||
{if $module->active}
|
||||
<span class="setup">{l s='Enabled'}</span>
|
||||
{else}
|
||||
<span class="setup off">{l s='Disabled'}</span>
|
||||
{/if}
|
||||
<td border="0" valign="middle" align="right">
|
||||
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
||||
<a href="{$module->addons_buy_url}" target="_blank" class="button updated">
|
||||
<span><img src="../img/admin/cart_addons.png"> {displayPrice price=$module->price currency=$module->id_currency}</span></a>
|
||||
{else if !isset($module->not_on_disk)}
|
||||
{$module->optionsHtml}
|
||||
<div class="clear"> </div>
|
||||
<a href="#" class="button action_tab_module" data-option="select_{$module->name}" class="button">Valider</a>
|
||||
{else}
|
||||
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
||||
<span class="setup must-have">{l s='Must Have'}</span>
|
||||
{else}
|
||||
<span class="setup off">{l s='Not installed'}</span>
|
||||
{/if}
|
||||
|
||||
<a href="{$module->options.install_url}" class="button">{l s='Install'}</a>
|
||||
{/if}
|
||||
</td>
|
||||
<td class="tab_modules_actions_row" height="20" border="0" valign="bottom" align="right">
|
||||
<div class="btn_right">
|
||||
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
||||
<a href="{$module->addons_buy_url}" target="_blank" class="button updated">
|
||||
<span><img src="../img/admin/cart_addons.png"> {displayPrice price=$module->price currency=$module->id_currency}</span></a>
|
||||
{else if !isset($module->not_on_disk)}
|
||||
{$module->optionsHtml}
|
||||
<a href="#" class="button action_tab_module" data-option="select_{$module->name}" class="button">Valider</a>
|
||||
{else}
|
||||
|
||||
<a href="{$module->options.install_url}" class="button">{l s='Install'}</a>
|
||||
{/if}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
{include file='controllers/modules/tab_module_line.tpl' class_row={cycle values=",rowalt"}}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td><b>{l s='No modules available in this section.'}</b></td></tr>
|
||||
<tr><td><div style="font-weight:700;margin-top:20px">{l s='No modules available in this section.'}</b></td></tr>
|
||||
{/if}
|
||||
</table>
|
||||
<table id="tab_modules_list_not_installed" style="display:none;clear:both">
|
||||
@@ -80,9 +80,9 @@
|
||||
{include file='controllers/modules/tab_module_line.tpl' class_row={cycle values=",rowalt"}}
|
||||
{/foreach}
|
||||
{else}
|
||||
<tr><td><b>{l s='No modules available in this section.'}</b></td></tr>
|
||||
<tr><td><div style="font-weight:700;margin-top:20px">{l s='No modules available in this section.'}</b></td></tr>
|
||||
{/if}
|
||||
</table>
|
||||
</div>
|
||||
{/if}
|
||||
<p style="text-align:right;text-decoration:underline"><a href="{$admin_module_favorites_view}" style="color:#666">{l s='More options'}</a></p>
|
||||
<p style="text-align:right;text-decoration:underline;padding-right:10px"><a href="{$admin_module_favorites_view}" style="color:#666">{l s='More options'}</a></p>
|
||||
@@ -39,7 +39,7 @@
|
||||
{/foreach}
|
||||
</li>
|
||||
{else}
|
||||
<tr><td><b>{l s='No modules available in this section.'}</b></td></tr>
|
||||
<tr><td><div style="font-weight:700;margin-top:20px">{l s='No modules available in this section.'}</b></td></tr>
|
||||
{/if}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
</a>
|
||||
{if $k == 'modules-list'}
|
||||
<div id="modules_list_container" style="display:none">
|
||||
<div style="float:right;top:-5px">
|
||||
<div style="float:right;margin:5px">
|
||||
<a href="#" onclick="$('#modules_list_container').slideUp();return false;"><img alt="X" src="../img/admin/close.png"></a>
|
||||
</div>
|
||||
<div id="modules_list_loader"><img src="../img/loader.gif" alt="" border="0"></div>
|
||||
|
||||
Reference in New Issue
Block a user