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:
39
modules/system/tests/fixtures/plugins/winter/tester/models/TestModel.php
vendored
Normal file
39
modules/system/tests/fixtures/plugins/winter/tester/models/TestModel.php
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
<?php namespace Winter\Tester\Models;
|
||||
|
||||
use Model;
|
||||
|
||||
class TestModel extends Model
|
||||
{
|
||||
use \Winter\Storm\Database\Traits\Sortable;
|
||||
|
||||
public $table = 'winter_tester_test_model';
|
||||
|
||||
public $jsonable = [
|
||||
'data',
|
||||
];
|
||||
|
||||
public $belongsTo = [
|
||||
'user' => TestUser::class
|
||||
];
|
||||
|
||||
public $hasOne = [
|
||||
'phone' => TestPhone::class
|
||||
];
|
||||
|
||||
public $morphTo = [
|
||||
'taggable' => []
|
||||
];
|
||||
|
||||
public $rules = [
|
||||
'uint' => 'required',
|
||||
'range' => 'required|integer|between:1,10',
|
||||
];
|
||||
}
|
||||
|
||||
class TestUser extends Model
|
||||
{
|
||||
}
|
||||
|
||||
class TestPhone extends Model
|
||||
{
|
||||
}
|
||||
57
modules/system/tests/fixtures/plugins/winter/tester/models/testmodel/fields.yaml
vendored
Normal file
57
modules/system/tests/fixtures/plugins/winter/tester/models/testmodel/fields.yaml
vendored
Normal file
@@ -0,0 +1,57 @@
|
||||
fields:
|
||||
cb:
|
||||
label: Checkbox
|
||||
type: checkbox
|
||||
|
||||
switch:
|
||||
label: Switch
|
||||
type: switch
|
||||
|
||||
int:
|
||||
label: Integer
|
||||
type: number
|
||||
step: 1
|
||||
|
||||
uint:
|
||||
label: Unsigned Integer
|
||||
type: number
|
||||
step: 1
|
||||
min: 0
|
||||
|
||||
double:
|
||||
label: Double
|
||||
type: number
|
||||
|
||||
range:
|
||||
label: Range
|
||||
type: range
|
||||
min: 1
|
||||
max: 10
|
||||
|
||||
datetime:
|
||||
label: Datetime
|
||||
type: datepicker
|
||||
|
||||
date:
|
||||
label: Date
|
||||
type: datepicker
|
||||
mode: date
|
||||
required: true
|
||||
|
||||
time:
|
||||
label: Time
|
||||
type: datepicker
|
||||
mode: time
|
||||
|
||||
md:
|
||||
label: Markdown
|
||||
type: markdown
|
||||
|
||||
textarea:
|
||||
label: Textarea
|
||||
type: textarea
|
||||
|
||||
text:
|
||||
label: Text
|
||||
required: true
|
||||
|
||||
Reference in New Issue
Block a user