Skip to content

Bootstrap 3 grid containers for django-fluent-contents (pre-alpha - requires latest feature/container-items branch)

License

Notifications You must be signed in to change notification settings

django-fluent/fluentcms-bootstrap-grid

Repository files navigation

fluentcms-bootstrap-grid

https://img.shields.io/travis/django-fluent/fluentcms-bootstrap-grid/master.svg?branch=master

Displaying a Bootstrap 3 grid in a page.

Installation

First install the module, preferably in a virtual environment. It can be installed from PyPI:

pip install fluentcms-bootstrap_-rid

First make sure the project is configured for django-fluent-contents.

Then add the following settings:

INSTALLED_APPS += (
    'fluentcms_bootstrap_grid',
)

FLUENT_CONTENTS_PLACEHOLDER_CONFIG = {
    'slot name': {
        'plugins': ('BootstrapRowPlugin', 'BootstrapColumnPlugin', ...),
    },
}

The database tables can be created afterwards:

./manage.py migrate

Frontend styling

The plugins are renderd with the HTML that Bootstrap prescribes:

<!-- the row that contains multiple columns -->
<div class="row">

    <!-- a single column -->
    <div class="col-xs-6">
        ..
    </div>

</div>

The standard Bootstrap 3 CSS will provide the proper styling for this.

Contributing

If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)

About

Bootstrap 3 grid containers for django-fluent-contents (pre-alpha - requires latest feature/container-items branch)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published