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:
1
modules/system/models/mailsetting/_drivers_hint.php
Normal file
1
modules/system/models/mailsetting/_drivers_hint.php
Normal file
@@ -0,0 +1 @@
|
||||
<?= trans('system::lang.mail.drivers_hint_content', ['url'=> 'https://wintercms.com/docs/services/mail#drivers']); ?>
|
||||
9
modules/system/models/mailsetting/_send_test_button.php
Normal file
9
modules/system/models/mailsetting/_send_test_button.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-success"
|
||||
data-request="onTest"
|
||||
data-request-data="redirect:0"
|
||||
data-load-indicator="<?= e(trans('system::lang.mail_templates.sending')) ?>"
|
||||
data-request-confirm="<?= e(trans('system::lang.settings.test_confirm', [ 'email' => e(BackendAuth::getUser()->email)])) ?>">
|
||||
<?= e(trans('system::lang.mail_templates.test_send')) ?>
|
||||
</button>
|
||||
98
modules/system/models/mailsetting/fields.yaml
Normal file
98
modules/system/models/mailsetting/fields.yaml
Normal file
@@ -0,0 +1,98 @@
|
||||
# ===================================
|
||||
# Field Definitions
|
||||
# ===================================
|
||||
|
||||
tabs:
|
||||
fields:
|
||||
sender_name:
|
||||
label: system::lang.mail.sender_name
|
||||
span: auto
|
||||
tab: system::lang.mail.general
|
||||
|
||||
sender_email:
|
||||
label: system::lang.mail.sender_email
|
||||
span: auto
|
||||
type: email
|
||||
tab: system::lang.mail.general
|
||||
|
||||
driver_hint:
|
||||
type: hint
|
||||
path: ~/modules/system/models/mailsetting/_drivers_hint.php
|
||||
tab: system::lang.mail.general
|
||||
|
||||
send_mode:
|
||||
label: system::lang.mail.method
|
||||
type: balloon-selector
|
||||
tab: system::lang.mail.general
|
||||
|
||||
smtp_address:
|
||||
label: system::lang.mail.smtp_address
|
||||
tab: system::lang.mail.general
|
||||
span: left
|
||||
trigger:
|
||||
action: show
|
||||
field: send_mode
|
||||
condition: value[smtp]
|
||||
|
||||
smtp_port:
|
||||
label: system::lang.mail.smtp_port
|
||||
type: number
|
||||
tab: system::lang.mail.general
|
||||
span: auto
|
||||
trigger:
|
||||
action: show
|
||||
field: send_mode
|
||||
condition: value[smtp]
|
||||
|
||||
smtp_authorization:
|
||||
type: checkbox
|
||||
label: system::lang.mail.smtp_authorization
|
||||
tab: system::lang.mail.general
|
||||
comment: system::lang.mail.smtp_authorization_comment
|
||||
trigger:
|
||||
action: show
|
||||
field: send_mode
|
||||
condition: value[smtp]
|
||||
|
||||
smtp_user:
|
||||
label: system::lang.mail.smtp_username
|
||||
tab: system::lang.mail.general
|
||||
span: left
|
||||
dependsOn:
|
||||
- send_mode
|
||||
- smtp_authorization
|
||||
|
||||
smtp_password:
|
||||
label: system::lang.mail.smtp_password
|
||||
tab: system::lang.mail.general
|
||||
type: sensitive
|
||||
span: right
|
||||
dependsOn:
|
||||
- send_mode
|
||||
- smtp_authorization
|
||||
|
||||
sendmail_path:
|
||||
label: system::lang.mail.sendmail_path
|
||||
commentAbove: system::lang.mail.sendmail_path_comment
|
||||
tab: system::lang.mail.general
|
||||
trigger:
|
||||
action: show
|
||||
field: send_mode
|
||||
condition: value[sendmail]
|
||||
|
||||
failover_mailers:
|
||||
label: system::lang.mail.failover_mailers
|
||||
placeholder: system::lang.mail.failover_mailers_placeholer
|
||||
type: taglist
|
||||
options: getFailoverMailersOptions
|
||||
customTags: false
|
||||
tab: system::lang.mail.general
|
||||
trigger:
|
||||
action: show
|
||||
field: send_mode
|
||||
condition: value[failover]
|
||||
|
||||
_send_test:
|
||||
type: partial
|
||||
path: ~/modules/system/models/mailsetting/_send_test_button.php
|
||||
tab: system::lang.mail.general
|
||||
Reference in New Issue
Block a user