silverstrap Git Change Log

Age Message
3 years 4 months Merge branch 'dev'
3 years 4 months Allow disabling of SelectionGroup

When a SilverstrapSelectionGroup is disabled, add the class .disabled to
all the <li> items.
4 years 19 days Merge branch 'master' into dev
4 years 19 days Make $messageType compatible with bootstrap

SilverStripe typically sets it to good, bad of warning but Bootstrap
expects the class alert-success, alert-danger or alert-warning.
4 years 9 months Added standard .editorconfig file
4 years 8 months Added standard Scrutinizer config
4 years 28 days Add HiddenField template
4 years 2 months Merge branch 'dev'
4 years 2 months Add support for SelectionGroup form fields

SelectionGroup should be created with the SilverstrapSelectionGroup
class provided by entidi/silverstrap-module (to avoid pulling in
conflicting javascript code).

They are rendered as togglable tabs with pill navigation:

The value is submitted as an hidden input.
4 years 2 months Use all attributes in CompositeField template
4 years 2 months Merge branch 'dev'
4 years 2 months Remove silverstripe/framework dependency from composer

This is already pulled in by entidi/silverstrap-module.
4 years 2 months Add reponsive form screenshots
4 years 2 months Place tooltip below on sm and xs devices
4 years 2 months Remove bogus div.row around action field group
4 years 2 months Avoid to forcibly insert <form> inside a div.row

If needed, this can be easily done from the master template.
4 years 2 months Dynamicize form > div classes

Those will typically be only .form-group but... just in case.
4 years 2 months Use custom classes provided by the entidi/silverstrap-module
4 years 2 months Render help description as tooltip on form fields
4 years 3 months Merge branch 'dev'
4 years 3 months Update
4 years 3 months Allow to override javascript settings

Add a global object (silverstrap) where default settings of all
javascript modules used by silverstrap are stored. To override, you
should change silverstrap after including silverstrap.js, e.g.:

<script src="themes/silverstrap/js/silverstrap.js></script>
// Disable fotorama fullscreen
silverstrap.fotorama.allowfullscreen = false;
// Colorbox zoom to 50% max
silverstrap.colorbox.maxWidth = '50%';
silverstrap.colorbox.maxHeight = '50%';
4 years 3 months Include generator in
4 years 3 months Simplify .zoom CSS rules

This should make colorbox customization easier.
4 years 3 months Add margin to button insidie legend