
Security News
Crates.io Users Targeted by Phishing Emails
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
|pypi| |build| |coverage|
Aldryn Bootstrap 3 is a plugin bundle for django CMS providing several
components from the popular Bootstrap 3 <http://getbootstrap.com/>
_ framework.
This addon is compatible with Divio Cloud <http://divio.com>
_ and is also available on the
django CMS Marketplace <https://marketplace.django-cms.org/en/addons/browse/aldryn-bootstrap3/>
_
for easy installation.
.. image:: preview.gif
This is a an open-source project. We'll be delighted to receive your
feedback in the form of issues and pull requests. Before submitting your
pull request, please review our contribution guidelines <http://docs.django-cms.org/en/latest/contributing/index.html>
_.
One of the easiest contributions you can make is helping to translate this addon on
Transifex <https://www.transifex.com/projects/p/aldryn-bootstrap3/>
_.
See REQUIREMENTS
in the setup.py <https://github.com/aldryn/aldryn-bootstrap3/blob/master/setup.py>
_
file for additional dependencies:
Make sure django Filer <http://django-filer.readthedocs.io/en/latest/installation.html>
_
and django CMS Text CKEditor <https://github.com/divio/djangocms-text-ckeditor>
_
are installed and configured appropriately.
For a manual install:
pip install aldryn-bootstrap3
aldryn_bootstrap3
to your INSTALLED_APPS
python manage.py migrate aldryn_bootstrap3
Aldryn Bootstrap 3 replaces the following django CMS plugins:
Link and Button <http://getbootstrap.com/css/#buttons>
_Image <http://getbootstrap.com/css/#images>
_File <https://github.com/aldryn/aldryn-bootstrap3/wiki/14-file>
_It provides the following standard Bootstrap 3 components:
Accordion <http://getbootstrap.com/javascript/#collapse-example-accordion>
_Alert <http://getbootstrap.com/components/#alerts>
_Blockquote <http://getbootstrap.com/css/#type-blockquotes>
_Carousel <http://getbootstrap.com/javascript/#carousel>
_Code <http://getbootstrap.com/css/#code>
_Grid (Row and Column) <http://getbootstrap.com/css/#grid/>
_Glyphicons <http://getbootstrap.com/components/#glyphicons>
_Jumbotron <http://getbootstrap.com/components/#jumbotron>
_Label <http://getbootstrap.com/components/#labels>
_List Group <http://getbootstrap.com/components/#list-group>
_Panel (Heading, Body and Footer) <http://getbootstrap.com/components/#panels>
_Responsive <http://getbootstrap.com/css/#responsive-utilities>
_Tabs <http://getbootstrap.com/javascript/#tabs>
_Well <http://getbootstrap.com/components/#wells>
_It also provides the following 3rd party components:
Font Awesome <http://fontawesome.io>
_Spacer <https://github.com/aldryn/aldryn-bootstrap3/wiki/13-spacer>
_These components need to be manually configured in order to work properly
inside your project. See this gist <https://gist.github.com/FinalAngel/40ea3fd48c0b9094ec7ded5d0e5d7395>
_
for additional information on a recommended spacer configuration.
Settings
This addon provides a ``standard`` template for Carousels. You can provide
additional style choices by adding a ``ALDRYN_BOOTSTRAP3_CAROUSEL_STYLES``
setting::
ALDRYN_BOOTSTRAP3_CAROUSEL_STYLES = [
('feature', _('Featured Version')),
]
You'll need to create the `feature` folder inside ``templates/aldryn_bootstrap/plugins/carousel/``
otherwise you will get a *template does not exist* error. You can do this by
copying the ``standard`` folder inside that directory and renaming it to
``feature``.
In addition you can set or extend your own icon fonts using ``ALDRYN_BOOTSTRAP3_ICONSETS``::
ALDRYN_BOOTSTRAP3_ICONSETS = [
('glyphicons', 'glyphicons', 'Glyphicons'),
('fontawesome', 'fa', 'Font Awesome'),
# custom iconsets have to be JSON
('{"iconClass": "icon", "iconClassFix": "icon-", "icons": [...]}', 'icon', 'Custom Font Icons'),
('{"svg": true, "spritePath": "sprites/icons.svg", "iconClass": "icon", "iconClassFix": "icon-", "icons": [...]}', 'icon', 'Custom SVG Icons'),
]
The default grid size is set to **24** when validating the column input,
you can override this by setting::
ALDRYN_BOOTSTRAP3_GRID_SIZE = 12
Running Tests
-------------
You can run tests by executing::
virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python setup.py test
.. |pypi| image:: https://badge.fury.io/py/aldryn-bootstrap3.svg
:target: http://badge.fury.io/py/aldryn-bootstrap3
.. |build| image:: https://travis-ci.org/aldryn/aldryn-bootstrap3.svg?branch=master
:target: https://travis-ci.org/aldryn/aldryn-bootstrap3
.. |coverage| image:: https://codecov.io/gh/aldryn/aldryn-bootstrap3/branch/master/graph/badge.svg
:target: https://codecov.io/gh/aldryn/aldryn-bootstrap3
FAQs
Adds Bootstrap 3 components as plugins.
We found that aldryn-bootstrap3 demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The Rust Security Response WG is warning of phishing emails from rustfoundation.dev targeting crates.io users.
Product
Socket now lets you customize pull request alert headers, helping security teams share clear guidance right in PRs to speed reviews and reduce back-and-forth.
Product
Socket's Rust support is moving to Beta: all users can scan Cargo projects and generate SBOMs, including Cargo.toml-only crates, with Rust-aware supply chain checks.