Templates and templatetags to be used with django-CMS and Bootstrap3.
Project description
djangocms-bootstrap3
Some templates and templatetags to be used with django-CMS and Bootstrap3.
Django-CMS is frontend agnostic, which is a good thing. However, in combination with Bootstrap3 the menu structure does not quite fit. This is because Bootstrap3 only allows one nested menu level.
Therefore djangocms-bootstrap3 adds a few modified templatetags, which render the existing page tree into a menu structure suitable for the navbar in Bootstrap3.
CHANGELOG
-
0.4.2
- adopted navbar to work with
angular-ui-bootstrap
version 2.5 and later.
- adopted navbar to work with
-
0.4.1
- Fix versions in
install_requires
ofsetup.py
.
- Fix versions in
-
0.4
- Add support for django-CMS version 3.5
- Replace
dropdown
,dropdown-toggle
byuib-dropdown
,uib-dropdown-toggle
to be compatible with angular-ui-bootstrap version 0.14 and later. - In hamburger menu, replace
<button>
- by<a>
-tag, becauseng-click
didn't fire properly. - Make use of
uib-collapse
for mobile menus. This adds an animation.
-
0.3.2
- In Navbar, render
get_menu_title
as safe string in order to allow HTML tags in Mune Title.
- In Navbar, render
-
0.3.1
- Fix: Use
uib-dropdown
rather thandropdown
to be compatible with angular-ui-bootstrap version 0.14 and later.
- Fix: Use
-
0.3.0
- The templatetags
main_menu
,main_menu_below_id
andmain_menu_embody_id
now accept two optional values:offset
(default 0) andlimit
(default 100). With these it is possible, to render only a subset of the menu list.
- The templatetags
-
0.2.1
- Add setup.py to MANIFEST.in
-
0.2.0
- Adopted to Angular-UI-bootstrap version 0.14 and later.
- Fixed division issue in paginator for Python3.
-
0.1.0
- Added templatetag
main_menu_embody_id
. - Fixed various Django templates to render the menu.
- Added templatetag
-
0.0.2 Initial release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for djangocms-bootstrap3-0.4.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8cd2284bf3030d4f4ae5666fa5bd79c201fd1589e16da5dbade1115f962d577d |
|
MD5 | c8ef68f11a18c16e582d1cc83bdddd2a |
|
BLAKE2b-256 | 23902c29730bffe93f8a0061c54a34f95f77b477c5ff0de5996f6335d145f586 |