https://github.com/atlasoflivingaustralia/ala-bootstrap3
ALA styles with bootstrap 3
https://github.com/atlasoflivingaustralia/ala-bootstrap3
ala-product-styling bootstrap grails-plugin
Last synced: 12 months ago
JSON representation
ALA styles with bootstrap 3
- Host: GitHub
- URL: https://github.com/atlasoflivingaustralia/ala-bootstrap3
- Owner: AtlasOfLivingAustralia
- Created: 2015-02-10T23:38:20.000Z (over 11 years ago)
- Default Branch: develop
- Last Pushed: 2024-09-19T02:20:17.000Z (almost 2 years ago)
- Last Synced: 2025-05-12T23:36:11.560Z (about 1 year ago)
- Topics: ala-product-styling, bootstrap, grails-plugin
- Language: Groovy
- Size: 5.03 MB
- Stars: 2
- Watchers: 20
- Forks: 8
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ala-bootstrap3 [](https://travis-ci.org/AtlasOfLivingAustralia/ala-bootstrap3)
=========
## Grails 4
The version of 4.0.0-SNAPSHOT with Grails 4.0.13 can be found on the `grails4` branch of this repo.
## Grails 3
The Grails 3 version of this plugin can be found on the `master` branch of this repo.
## Grails 2
The Grails 2 version of this plugin can be found on the `grails2` branch of this repo.
## Usage
```
compile ":ala-bootstrap3:4.0.0-SNAPSHOT"
```
## Description
This is a Grails Plugin to provide the basic set of web assets to correctly apply the **new 2017** ala web theme based on [bootstrap 3.3.4](http://getbootstrap.com)
Many of its features come inherited from the [ala-boostrap2 plugin](https://github.com/AtlasOfLivingAustralia/ala-bootstrap2).
Note: templates, some CSS & JS files are located in the `commonui-bs3` git repository.
## Integration with ALA-Auth plugin
This plugin assumes but does not directly depend on the ala-auth plugin. It switches login URL behaviour based on the `security.oidc.enabled` config property, using the ala-auth provided login controller instead of a redirect straight to the configured CAS server.
### Use without the ALA-Auth plugin
To use custom login behaviour with this plugin without the ALA-Auth plugin, set `security.oidc.enabled` to true then define a URL mapping named 'login', which can accept a single parameter `url` which is the URL to redirect to after logging in.
## Grails taglib integration with Bootstrap
This plugin borrows the taglib used in the [Grails Twitter Bootstrap plugin](https://grails.org/plugin/twitter-bootstrap) to modify the way some Core Grails tags are rendered (eg: pagination)
To enable the boostrap compatible rendering add the following line to your `Config.groovy`:
```
grails.plugins.twitterbootstrap.fixtaglib = true
```
## Changelog
* Version **4.0.0** (??)
* Grails 4 support
* Defaults to skin v2
* Version **3.0.0** (19/07/2017)
* Grails 3 support
* Version **2.0.0** (17/07/2017)
* New 2017 design support
* Version **1.7.0** (10/07/2017)
* Add initial support for Asset Pipeline
* Resources plugin is no longer exported as a dependency
* Version **1.1** (07/05/2015)
* Added latest style changes
* Upgrades bootstrap dependency to version 3.3.4
* Added TwitterBootstrapTaglib from the Twitter Bootstrap plugin
* Version **1.0** (04/03/2015)
* Initial release