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:
54
modules/backend/console/scaffold/controller/controller.stub
Normal file
54
modules/backend/console/scaffold/controller/controller.stub
Normal file
@@ -0,0 +1,54 @@
|
||||
<?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 -%}
|
||||
}
|
||||
Reference in New Issue
Block a user