131 lines
4.6 KiB
Smarty
131 lines
4.6 KiB
Smarty
{**
|
|
* ISC License
|
|
*
|
|
* Copyright (c) 2024 idnovate.com
|
|
* idnovate is a Registered Trademark & Property of idnovate.com, innovación y desarrollo SCP
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
* OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*
|
|
* @author idnovate
|
|
* @copyright 2024 idnovate
|
|
* @license https://www.isc.org/licenses/ https://opensource.org/licenses/ISC ISC License
|
|
*}
|
|
<div class="col-lg-12 idnovate-modules-ad">
|
|
<div class="panel clearfix">
|
|
<div class="panel-heading">
|
|
<i class="icon-cogs"></i> {l s='Recommended Modules' mod='cookiesplus'}
|
|
</div>
|
|
|
|
{*foreach from=$modules key=k item=module*}
|
|
<div class="module-item">
|
|
<div class="module-item-heading">
|
|
<div class="module-logo-thumb">
|
|
<img src="{$this_path|escape:'htmlall':'UTF-8'}views/img/company/{$modules['id']|escape:'htmlall':'UTF-8'}.png" alt="{$modules['name']|escape:'htmlall':'UTF-8'}">
|
|
</div>
|
|
<h3 title="{$modules['name']|escape:'htmlall':'UTF-8'}" class="text-ellipsis module-name">
|
|
<span>{$modules['name']|escape:'htmlall':'UTF-8'}</span>
|
|
</h3>
|
|
</div>
|
|
<div class="module-item-description">
|
|
{$modules['description']|escape:'htmlall':'UTF-8'}
|
|
</div>
|
|
<div class="module-item-badge">
|
|
<img src="{$this_path|escape:'htmlall':'UTF-8'}views/img/company/round_logo.png">
|
|
<span>{l s='Developed by idnovate.com' mod='cookiesplus'}</span>
|
|
</div>
|
|
<div class="module-item-buton">
|
|
<a href="https://addons.prestashop.com/en/{$modules['id']|escape:'htmlall':'UTF-8'}-.html" title="{$modules['name']|escape:'htmlall':'UTF-8'}" target="_blank" class="btn btn-primary">
|
|
<i class="icon-thumbs-o-up"></i>
|
|
{l s='Learn more' mod='cookiesplus'}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
{*/foreach*}
|
|
|
|
</div>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
|
|
<style type="text/css">
|
|
.bootstrap .idnovate-modules-ad .module-item-heading {
|
|
position: relative;
|
|
text-align: center;
|
|
}
|
|
.bootstrap .idnovate-modules-ad .module-logo-thumb {
|
|
width: 55px;
|
|
height: 55px;
|
|
text-align: center;
|
|
margin: 0 auto;
|
|
border-radius: 0;
|
|
}
|
|
.bootstrap .idnovate-modules-ad .module-logo-thumb img {
|
|
max-width: 55px;
|
|
max-height: 55px;
|
|
}
|
|
#content.bootstrap .idnovate-modules-ad h3.module-name {
|
|
border: none;
|
|
font-size: 1.2em;
|
|
padding: 0 0 0 5px;
|
|
position: relative;
|
|
text-align: center;
|
|
font-weight: bolder;
|
|
margin: 1rem 0 .5rem;
|
|
min-height: 24px;
|
|
font-family: Open Sans,Helvetica,Arial,sans-serif;
|
|
line-height: 1.2;
|
|
color: #363a41;
|
|
text-transform: none;
|
|
border-bottom: none;
|
|
height: inherit;
|
|
}
|
|
.bootstrap .idnovate-modules-ad .module-item-description {
|
|
margin: 15px 0;
|
|
text-align: center;
|
|
}
|
|
.bootstrap .idnovate-modules-ad .module-read-more {
|
|
display: inline-block;
|
|
}
|
|
.bootstrap .idnovate-modules-ad .module-price {
|
|
right: auto;
|
|
bottom: auto;
|
|
position: relative;
|
|
margin-right: 5px;
|
|
float: right;
|
|
font-size: 14px;
|
|
}
|
|
.bootstrap .idnovate-modules-ad hr {
|
|
margin-top: 1.875rem;
|
|
margin-bottom: 1.875rem;
|
|
border: 0;
|
|
border-top: 1px solid #bbcdd2;
|
|
}
|
|
.bootstrap .idnovate-modules-ad .module-item-buton {
|
|
text-align: center;
|
|
}
|
|
|
|
.bootstrap .idnovate-modules-ad .module-item-badge {
|
|
font-size: 14px;
|
|
text-align: center;
|
|
margin: 15px 0;
|
|
}
|
|
|
|
.bootstrap .idnovate-modules-ad .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.bootstrap .idnovate-modules-ad .module-item-badge img {
|
|
display: inline-block;
|
|
padding-right: 5px;
|
|
}
|
|
</style>
|