feat: VivesPOS landing on Winter CMS 1.2 — theme + plugin + Dockerfile
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
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
This commit is contained in:
4
modules/system/partials/_settings_menu.php
Normal file
4
modules/system/partials/_settings_menu.php
Normal file
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
$systemItems = System\Classes\SettingsManager::instance()->listItems('system');
|
||||
?>
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu_items.php', ['items' => $systemItems]); ?>
|
||||
33
modules/system/partials/_settings_menu_items.php
Normal file
33
modules/system/partials/_settings_menu_items.php
Normal file
@@ -0,0 +1,33 @@
|
||||
<?php
|
||||
$context = System\Classes\SettingsManager::instance()->getContext();
|
||||
|
||||
$collapsedGroups = explode(
|
||||
'|',
|
||||
isset($_COOKIE['sidenav_treegroupStatus']) ? $_COOKIE['sidenav_treegroupStatus'] : null
|
||||
);
|
||||
?>
|
||||
|
||||
<ul class="top-level">
|
||||
<?php foreach ($items as $category => $items):
|
||||
$collapsed = in_array($category, $collapsedGroups);
|
||||
?>
|
||||
|
||||
<li data-group-code="<?= e($category) ?>" <?= $collapsed ? 'data-status="collapsed"' : null ?>>
|
||||
<div class="group">
|
||||
<h3><?= e(trans($category)) ?></h3>
|
||||
</div>
|
||||
|
||||
<ul <?= $collapsed ? 'style="overflow: visible; height: 0px; display: none;"' : null ?>>
|
||||
<?php foreach ($items as $item): ?>
|
||||
<li class="<?= strtolower($item->owner) == $context->owner && strtolower($item->code) == $context->itemCode ? 'active' : false ?>" data-keywords="<?= e(trans($item->keywords)) ?>">
|
||||
<a href="<?= $item->url ?>" ontouchstart="">
|
||||
<i class="<?= $item->icon ?>"></i>
|
||||
<span class="header"><?= e(trans($item->label)) ?></span>
|
||||
<span class="description"><?= e(trans($item->description)) ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
</li>
|
||||
<?php endforeach ?>
|
||||
</ul>
|
||||
14
modules/system/partials/_settings_menu_toolbar.php
Normal file
14
modules/system/partials/_settings_menu_toolbar.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<div class="layout control-toolbar">
|
||||
<div class="layout-cell">
|
||||
<div class="relative toolbar-item loading-indicator-container size-input-text">
|
||||
<input placeholder="<?= e(trans('system::lang.settings.search')) ?>" type="text" name="search" value=""
|
||||
class="form-control icon search"
|
||||
id="settings-search-input"
|
||||
autocomplete="off"
|
||||
data-track-input
|
||||
data-load-indicator
|
||||
data-load-indicator-opaque
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
23
modules/system/partials/_system_sidebar.php
Normal file
23
modules/system/partials/_system_sidebar.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<div class="layout-cell sidenav-tree bg-p" data-control="sidenav-tree" data-search-input="#settings-search-input">
|
||||
<a class="back-link" href="<?= Backend::url('system/settings') ?>"><i class="icon-angle-left"></i><?= e(trans('system::lang.settings.menu_label')) ?></a>
|
||||
|
||||
<div class="layout">
|
||||
<div class="layout-row min-size">
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu_toolbar.php') ?>
|
||||
</div>
|
||||
|
||||
<div class="layout-row">
|
||||
<div class="layout-cell">
|
||||
<div class="layout-relative">
|
||||
|
||||
<div class="layout-absolute">
|
||||
<div class="control-scrollbar" data-control="scrollbar">
|
||||
<?= $this->makePartial('~/modules/system/partials/_settings_menu.php') ?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user