[-] BO: improve module payment page
This commit is contained in:
1 parent
4ce88468df
commit
ae9b78dc0f
3 files changed
+65
-56
No files matched your search
@@ -525,15 +525,17 @@ form#product_form h4 { font-size:18px; font-weight:normal;}
|
|||||||
margin:0;
|
margin:0;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
height: 335px;
|
||||||
}
|
}
|
||||||
#modules_list_container_tab #modules_list_container_content li{display:inline-block;}
|
#modules_list_container_tab #modules_list_container_content li{display:inline-block;}
|
||||||
|
#modules_list_container_tab table{ margin-bottom:15px}
|
||||||
#modules_list_container_tab table tr th { height:40px;}
|
#modules_list_container_tab table tr th { height:40px;}
|
||||||
#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 { 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 td tr td {border: none}
|
||||||
#modules_list_container_tab table tr:first-child {border-top:1px solid #ccc}
|
#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 table td.tab_modules_actions_row {border-top:1px solid #ccc}
|
||||||
#modules_list_container_tab .imgm {width:32px;}
|
#modules_list_container_tab .imgm {width:32px;}
|
||||||
#modules_list_container_tab .moduleDesc { font-size:12px;width: 240px;}
|
#modules_list_container_tab .moduleDesc { font-size:12px;width: 238px;}
|
||||||
#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 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 { float:left; display:block; margin:5px 0;}
|
||||||
#modules_list_container_tab .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;}
|
#modules_list_container_tab .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;}
|
||||||
|
|||||||
@@ -25,57 +25,58 @@
|
|||||||
*}
|
*}
|
||||||
|
|
||||||
<tr class="{$class_row}">
|
<tr class="{$class_row}">
|
||||||
<td>
|
<td>
|
||||||
<table border="0" cellpadding="0" cellspacing="5">
|
<table width="100%" border="0" cellpadding="0" cellspacing="5">
|
||||||
<tr>
|
<tr>
|
||||||
<td height="60" valign="top" width="75" align="center">
|
<td height="60" valign="top" width="75" align="center">
|
||||||
<img class="imgm" alt="" src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}">
|
<img class="imgm" alt="" src="{if isset($module->image)}{$module->image}{else}../modules/{$module->name}/{$module->logo}{/if}">
|
||||||
</td>
|
</td>
|
||||||
<td height="60" width="100" valign="top">
|
<td height="60" width="100" valign="top">
|
||||||
<div class="moduleDesc" id="anchor{$module->name|ucfirst}">
|
<div class="moduleDesc" id="anchor{$module->name|ucfirst}">
|
||||||
<h3>{$module->displayName|truncate:40:'…'} {$module->version}
|
<h3>{$module->displayName|truncate:40:'…'} {$module->version}
|
||||||
|
|
||||||
</h3>
|
</h3>
|
||||||
<p class="desc">
|
<p class="desc">
|
||||||
{if isset($module->description) && $module->description ne ''}
|
{if isset($module->description) && $module->description ne ''}
|
||||||
{$module->description|truncate:100:'…'}
|
{$module->description|truncate:100:'…'}
|
||||||
|
{else}
|
||||||
|
|
||||||
|
{/if}
|
||||||
|
</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}
|
{else}
|
||||||
|
<span class="setup off">{l s='Disabled'}</span>
|
||||||
{/if}
|
{/if}
|
||||||
</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}
|
{else}
|
||||||
<span class="setup off">{l s='Disabled'}</span>
|
{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}
|
{/if}
|
||||||
{else}
|
</td>
|
||||||
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
<td class="tab_modules_actions_row" height="20" border="0" width="100" valign="bottom">
|
||||||
<span class="setup must-have">{l s='Must Have'}</span>
|
<div style="float:right">
|
||||||
{else}
|
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
||||||
<span class="setup off">{l s='Not installed'}</span>
|
<a href="{$module->addons_buy_url}" target="_blank" class="button updated">
|
||||||
{/if}
|
<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)}
|
||||||
{/if}
|
{$module->optionsHtml}
|
||||||
</td>
|
<a href="#" class="button action_tab_module" data-option="select_{$module->name}" class="button">Valider</a>
|
||||||
<td class="tab_modules_actions_row" height="20" border="0" width="100" valign="bottom">
|
{else}
|
||||||
<div style="float:right">
|
<a href="{$module->options.install_url}" class="button action_tab_module">{l s='Install'}</a>
|
||||||
{if isset($module->type) && $module->type == 'addonsMustHave'}
|
{/if}
|
||||||
<a href="{$module->addons_buy_url}" target="_blank" class="button updated">
|
</div>
|
||||||
<span><img src="../img/admin/cart_addons.png"> {displayPrice price=$module->price currency=$module->id_currency}</span></a>
|
</td>
|
||||||
{else if !isset($module->not_on_disk)}
|
</tr>
|
||||||
{$module->optionsHtml}
|
</table>
|
||||||
<a href="#" class="button action_tab_module" data-option="select_{$module->name}" class="button">Valider</a>
|
</td>
|
||||||
{else}
|
</tr>
|
||||||
<a href="{$module->options.install_url}" class="button action_tab_module">{l s='Install'}</a>
|
|
||||||
{/if}
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
@@ -27,11 +27,17 @@
|
|||||||
<div id="modules_list_container_tab" class="default_modules_list_display_type">
|
<div id="modules_list_container_tab" class="default_modules_list_display_type">
|
||||||
<ul id="modules_list_container_content">
|
<ul id="modules_list_container_content">
|
||||||
{if count($modules_list)}
|
{if count($modules_list)}
|
||||||
{foreach from=$modules_list item=module}
|
<li>
|
||||||
<li>
|
{counter start=1 assign="count"}
|
||||||
{include file='controllers/modules/tab_module_line.tpl' class_row={cycle values=",row alt"}}
|
{foreach from=$modules_list item=module}
|
||||||
</li>
|
{include file='controllers/modules/tab_module_line.tpl' class_row={cycle values=",row alt"}}
|
||||||
{/foreach}
|
{if $count %2 == 0}
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
{/if}
|
||||||
|
{counter}
|
||||||
|
{/foreach}
|
||||||
|
</li>
|
||||||
{else}
|
{else}
|
||||||
<tr><td><b>{l s='No modules available in this section.'}</b></td></tr>
|
<tr><td><b>{l s='No modules available in this section.'}</b></td></tr>
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user