Files
avives 1f72193a64
Some checks are pending
Module sub-split / Sub-split (push) Waiting to run
feat: VivesPOS landing on Winter CMS 1.2 — theme + plugin + Dockerfile
- 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
2026-08-21 19:29:00 -06:00

55 lines
1.3 KiB
Plaintext

<?php
namespace {{ plugin_namespace }}\Controllers;
use Backend\Classes\Controller;
use Backend\Facades\BackendMenu;
/**
* {{ title_name }} Backend Controller
*/
class {{ studly_name }} extends Controller
{
/**
* @var array Behaviors that are implemented by this controller.
*/
public $implement = [
\Backend\Behaviors\FormController::class,
\Backend\Behaviors\ListController::class,
];
/**
* @var array Permissions required to view this page.
*/
protected $requiredPermissions = [
'{{ lower_author }}.{{ lower_plugin }}.{{ lower_name }}.manage_all',
];
{% if sidebar %}
/**
* @var string The form layout to use. One of standard, sidebar, fancy
*/
protected $formLayout = 'sidebar';
{% if stubs %}
/**
* @var string Classes to be added to the body element
*/
public $bodyClass = 'compact-container';
{% endif -%}
{% elseif fancy %}
/**
* @var string The form layout to use. One of standard, sidebar, fancy
*/
protected $formLayout = 'fancy';
{% if stubs %}
/**
* @var string Classes to be added to the body element
*/
public $bodyClass = 'fancy-layout compact-container breadcrumb-flush breadcrumb-fancy';
{% endif -%}
{% endif -%}
}