fluentcms-pager
Displaying a Bootstrap 3 pager in a page
Features:
Arrows
Previous/next links
Automatic title retrieval
Installation
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install fluentcms-pager
First make sure the project is configured for django-fluent-contents.
Then add the following settings:
INSTALLED_APPS += (
'fluentcms_pager',
)
The database tables can be created afterwards:
./manage.py migrate
Frontend styling
The pager is renderd with the HTML that Bootstrap prescribes:
<ul class="pager">
<li class="previous"><a href="#"><span aria-hidden="true">←</span> Older</a></li>
<li class="next"><a href="#">Newer <span aria-hidden="true">→</span></a></li>
</ul>
The standard Bootstrap 3 CSS will provide a reasonable styling for this, which can either be overwritten, or replaced in your own CSS files.
Contributing
If you like this module, forked it, or would like to improve it, please let us know! Pull requests are welcome too. :-)
Release files for fluentcms-pager 3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fluentcms-pager-3.0.tar.gz | 13.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fluentcms_pager-3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.4 kB
Release files / fluentcms-pager-3.0.tar.gz
| Download URL | fluentcms-pager-3.0.tar.gz |
|---|---|
| Size | 13.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
95cb7134de7e008a3234f9b097c3a5f8b03d7ae034308b7d31833dc455de22d5
|
|
BLAKE2b-256 checksum How to use checksums |
f4ba1313fe56415761cd5d65a91438b6a4abce9a124e77095e11c8cce0668da1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|
Release files / fluentcms_pager-3.0-py3-none-any.whl
| Download URL | fluentcms_pager-3.0-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
948ebf3eb264c959c78b6721e64d2894f9475242843d5ff300efdfcf49905e5f
|
|
BLAKE2b-256 checksum How to use checksums |
105b98503ff3b82bb75a8a2f8580ebef86727c6adecc11c1c8cd4450e8a42acb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
|