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:
102
modules/system/assets/ui/docs/checkbox.md
Normal file
102
modules/system/assets/ui/docs/checkbox.md
Normal file
@@ -0,0 +1,102 @@
|
||||
# Checkbox
|
||||
|
||||
### Checkbox
|
||||
|
||||
Allows a user to select from a small set of binary options.
|
||||
|
||||
<div class="checkbox custom-checkbox">
|
||||
<input name="checkbox" value="1" type="checkbox" id="checkbox1" />
|
||||
<label for="checkbox1">Checkbox</label>
|
||||
</div>
|
||||
|
||||
### Checkbox lists
|
||||
|
||||
Allows a user to select from a list of binary options.
|
||||
|
||||
<div class="form-group checkboxlist-field">
|
||||
<label>Checkbox list (hard-coded) example</label>
|
||||
<div class="field-checkboxlist">
|
||||
<!-- Quick selection (start) -->
|
||||
<div class="checkboxlist-controls">
|
||||
<div>
|
||||
<a href="javascript:;" data-field-checkboxlist-all><i class="icon-check-square"></i> <?= e(trans('backend::lang.form.select_all')) ?></a>
|
||||
</div>
|
||||
<div>
|
||||
<a href="javascript:;" data-field-checkboxlist-none><i class="icon-eraser"></i> <?= e(trans('backend::lang.form.select_none')) ?></a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Quick selection (end) -->
|
||||
<div class="field-checkboxlist-container">
|
||||
<p class="help-block before-field">What cars would you like in your garage?</p>
|
||||
<div class="checkbox custom-checkbox" tabindex="0">
|
||||
<input id="checkbox-example1" name="checkbox" value="1" type="checkbox" checked="checked" aria-checked="true" />
|
||||
<label for="checkbox-example1"> Dodge Viper </label>
|
||||
<p class="help-block">Do not send new comment notifications.</p>
|
||||
</div>
|
||||
<div class="checkbox custom-checkbox" tabindex="0">
|
||||
<input id="checkbox-example2" name="checkbox" value="2" type="checkbox" aria-checked="false" />
|
||||
<label for="checkbox-example2"> GM Corvette </label>
|
||||
<p class="help-block">Send new comment notifications only to post author.</p>
|
||||
</div>
|
||||
<div class="checkbox custom-checkbox" tabindex="0">
|
||||
<input id="checkbox-example3" name="checkbox" value="3" type="checkbox" aria-checked="mixed" />
|
||||
<label for="checkbox-example3"> Porsche Boxter </label>
|
||||
<p class="help-block">Notify all users who have permissions to receive blog notifications.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
### Indeterminate checkboxes
|
||||
|
||||
<div class="checkbox custom-checkbox is-indeterminate">
|
||||
<input name="checkbox" value="1" type="checkbox" id="checkbox1" data-checked="1" />
|
||||
<label for="checkbox1">Checkbox</label>
|
||||
</div>
|
||||
|
||||
The `data-checked` attribute may have one of three values: 0 (off), 1 (indeterminate) or 2 (on).
|
||||
|
||||
### Radio
|
||||
|
||||
<div class="radio custom-radio">
|
||||
<input name="radio" value="1" type="radio" id="radio_1" />
|
||||
<label for="radio_1">Paris</label>
|
||||
</div>
|
||||
<div class="radio custom-radio">
|
||||
<input checked="checked" name="radio" value="2" type="radio" id="radio_2" />
|
||||
<label for="radio_2">Dubai</label>
|
||||
</div>
|
||||
<div class="radio custom-radio">
|
||||
<input name="radio" value="3" type="radio" id="radio_3" />
|
||||
<label for="radio_3">New Zealand</label>
|
||||
</div>
|
||||
|
||||
### Slider
|
||||
|
||||
<label class="custom-switch">
|
||||
<input type="checkbox" />
|
||||
<span><span>On</span><span>Off</span></span>
|
||||
<a class="slide-button"></a>
|
||||
</label>
|
||||
|
||||
### Balloon selector
|
||||
|
||||
<div data-control="balloon-selector" class="control-balloon-selector">
|
||||
<ul>
|
||||
<li data-value="1" class="active">One</li>
|
||||
<li data-value="2">Two</li>
|
||||
<li data-value="3">Three</li>
|
||||
</ul>
|
||||
|
||||
<input type="hidden" name="balloonValue" value="1" />
|
||||
</div>
|
||||
|
||||
If you don't define `data-control="balloon-selector"` then the control will act as a static list of labels.
|
||||
|
||||
<div class="control-balloon-selector">
|
||||
<ul>
|
||||
<li>Monday</li>
|
||||
<li>Tuesday</li>
|
||||
<li>Happy days!</li>
|
||||
</ul>
|
||||
</div>
|
||||
Reference in New Issue
Block a user