Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
- Base: wintercms/winter branch 1.2 (full framework) - Theme vivespos: Canvas 7 + Bootstrap 5 CDN, custom CSS - Layout: deferred GTM/GA4 tracking, JSON-LD SoftwareApplication - Partials: hero (offline-first), features, modes (offline/nube toggle), screenshots, pricing (3 planes), comparison, FAQ, CTA - Plugin VivesPOS.Site with ContactForm - Dockerfile: PHP 8.2 Apache, port 80, healthcheck - Added winter/wn-pages, blog, sitemap, seo plugins - Active theme set to vivespos
105 lines
3.8 KiB
PHP
105 lines
3.8 KiB
PHP
<div>
|
|
|
|
<!-- Search -->
|
|
<form
|
|
role="form"
|
|
id="installPluginsForm"
|
|
data-handler="onInstallPlugin"
|
|
onsubmit="$.wn.installProcess.searchSubmit(this); return false">
|
|
<div class="product-search">
|
|
<input
|
|
name="code"
|
|
id="pluginSearchInput"
|
|
class="product-search-input search-input-lg typeahead"
|
|
placeholder="<?= e(trans('system::lang.plugins.search')) ?>"
|
|
data-search-type="plugins"
|
|
/>
|
|
<i class="icon icon-search"></i>
|
|
<i class="icon loading" style="display: none"></i>
|
|
</div>
|
|
</form>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-7">
|
|
|
|
<!-- Installed plugins -->
|
|
<div id="pluginList"
|
|
class="product-list-manager">
|
|
|
|
<h4 class="section-header">
|
|
<a href="<?= Backend::url('system/updates') ?>"><?= e(trans('system::lang.plugins.installed')) ?></a>
|
|
<small>(<span class="product-counter"><?= count($installedPlugins) ?></span>)</small>
|
|
</h4>
|
|
|
|
<?php if (!count($installedPlugins)): ?>
|
|
<div class="product-list-empty">
|
|
<p><?= e(trans('system::lang.plugins.no_plugins')) ?></p>
|
|
</div>
|
|
<?php else: ?>
|
|
<ul class="product-list plugin-list">
|
|
<?php foreach ($installedPlugins as $plugin): ?>
|
|
|
|
<li data-code="<?= $plugin['code'] ?>">
|
|
<div class="image">
|
|
<img src="<?= $plugin['image'] ?>" alt="">
|
|
</div>
|
|
<div class="details">
|
|
<h4><?= $plugin['name'] ?></h4>
|
|
<p><?= e(trans('system::lang.plugin.by_author', ['name' => $plugin['author']])) ?></p>
|
|
</div>
|
|
<button
|
|
type="button"
|
|
class="close"
|
|
aria-hidden="true"
|
|
data-request="onRemovePlugin"
|
|
data-request-data="code: '<?= $plugin['code'] ?>'"
|
|
data-request-confirm="<?= e(trans('system::lang.plugins.remove_confirm')) ?>"
|
|
data-stripe-load-indicator>
|
|
×
|
|
</button>
|
|
</li>
|
|
|
|
<?php endforeach ?>
|
|
</ul>
|
|
<?php endif ?>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<div class="col-md-5">
|
|
|
|
<!-- Recommended extras -->
|
|
<div class="suggested-products-container">
|
|
<h4 class="section-header"><?= e(trans('system::lang.plugins.recommended')) ?></h4>
|
|
<div class="scroll-panel">
|
|
<div
|
|
id="suggestedPlugins"
|
|
class="suggested-products suggested-plugins"
|
|
data-handler="onGetPopularPlugins"
|
|
data-view="plugin/suggestion"></div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<script type="text/template" data-partial="plugin/suggestion">
|
|
<div class="product">
|
|
<a
|
|
data-control="popup"
|
|
data-handler="onInstallPlugin"
|
|
data-request-data="code: '{{code}}'"
|
|
href="javascript:;">
|
|
<div class="image"><img src="{{image}}" alt=""></div>
|
|
<div class="details">
|
|
<h5 class="text-overflow">{{code}}</h5>
|
|
<p>{{description}}</p>
|
|
</div>
|
|
</a>
|
|
</div>
|
|
</script>
|