{ "info": { "author": "Diederik van der Boor", "author_email": "opensource@edoburu.nl", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Framework :: Django :: 1.11", "Framework :: Django :: 2.0", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "fluentcms-jumbotron\n===================\n\n.. image:: https://img.shields.io/travis/edoburu/fluentcms-jumbotron/master.svg?branch=master\n :target: http://travis-ci.org/edoburu/fluentcms-jumbotron\n.. image:: https://img.shields.io/pypi/v/fluentcms-jumbotron.svg\n :target: https://pypi.python.org/pypi/fluentcms-jumbotron/\n.. image:: https://img.shields.io/badge/wheel-yes-green.svg\n :target: https://pypi.python.org/pypi/fluentcms-jumbotron/\n.. image:: https://img.shields.io/pypi/l/fluentcms-jumbotron.svg\n :target: https://pypi.python.org/pypi/fluentcms-jumbotron/\n.. image:: https://img.shields.io/codecov/c/github/edoburu/fluentcms-jumbotron/master.svg\n :target: https://codecov.io/github/edoburu/fluentcms-jumbotron?branch=master\n\nDisplaying a Bootstrap 3 Jumbotron_ in a page\n\n\nInstallation\n============\n\nFirst install the module, preferably in a virtual environment. It can be installed from PyPI:\n\n.. code-block:: bash\n\n pip install fluentcms-jumbotron\n\nFirst make sure the project is configured for django-fluent-contents_.\n\nThen add the following settings:\n\n.. code-block:: python\n\n INSTALLED_APPS += (\n 'fluentcms_jumbotron',\n )\n\n FLUENT_CONTENTS_PLACEHOLDER_CONFIG = {\n 'slot name': {\n 'plugins': ('JumbotronPlugin', ...),\n },\n }\n\nThe database tables can be created afterwards:\n\n.. code-block:: bash\n\n ./manage.py migrate\n\n\nFrontend styling\n================\n\nThe jumbotron is rendered with the HTML that Bootstrap prescribes:\n\n.. code-block:: html+django\n\n
\n

Hello, world!

\n

...

\n

Learn more

\n
\n\nThe standard Bootstrap 3 CSS will provide a reasonable styling for this,\nwhich can either be overwritten, or replaced in your own CSS files.\nThe defaults provided by Bootstap 3 is: https://github.com/twbs/bootstrap-sass/blob/master/assets/stylesheets/bootstrap/_jumbotron.scss\n\nCustomizing\n-----------\n\nCentering, adding backgrounds, etc.. all happen by adding CSS styling. For example:\n\n.. code-block:: css\n\n .jumbotron {\n background: url('/static/frontend/images/background.jpg') no-repeat fixed 0 0;\n background-size: cover;\n color: #fff;\n text-align: center;\n }\n\n .jumbotron .btn {\n margin-top: 12px; /* For Sass: $padding-base-vertical * 2; */\n }\n\nWhen you use Sass, you can also override the Sass variables.\n\nFull page width\n---------------\n\nTo display the Bootstrap Jumbotron full page, you likely need to break out of the container\nthe ``JumbotronPlugin`` is rendered in. For example, when your page looks like:\n\n.. code-block:: html+django\n\n
\n {% page_placeholder \"homepage\" title=\"Homepage\" role=\"m\" %}\n
\n\nYou can change that into:\n\n.. code-block:: html+django\n\n
\n {% page_placeholder \"homepage\" title=\"Homepage\" role=\"m\" template=\"pages/placeholders/homepage.html\" cachable=1 %}\n
\n\nThe ``pages/placeholders/homepage.html`` template looks like:\n\n.. code-block:: html+django\n\n {% for contentitem, html in contentitems %}\n {% if contentitem.plugin.name == 'JumbotronPlugin' %}\n \n {{ html }}\n
\n {% else %}\n {{ html }}\n {% endif %}\n {% endfor %}\n\nNote the exact HTML tags depend on your frontend HTML layout.\n\nThe ``cachable=1`` flag is a promise that the template always returns the same result for every request.\nOtherwise, remove it.\n\nContributing\n------------\n\nIf you like this module, forked it, or would like to improve it, please let us know!\nPull requests are welcome too. :-)\n\n.. _django-fluent-contents: https://github.com/edoburu/django-fluent-contents\n.. _jumbotron: http://getbootstrap.com/components/#jumbotron\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/edoburu/fluentcms-jumbotron/zipball/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/edoburu/fluentcms-jumbotron", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "fluentcms-jumbotron", "package_url": "https://pypi.org/project/fluentcms-jumbotron/", "platform": "", "project_url": "https://pypi.org/project/fluentcms-jumbotron/", "project_urls": { "Download": "https://github.com/edoburu/fluentcms-jumbotron/zipball/master", "Homepage": "https://github.com/edoburu/fluentcms-jumbotron" }, "release_url": "https://pypi.org/project/fluentcms-jumbotron/2.0/", "requires_dist": [ "django-fluent-contents (>=2.0)" ], "requires_python": "", "summary": "Bootstrap 3 Jumbotron element for django-fluent-contents", "version": "2.0" }, "last_serial": 3512370, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "9dbdb78e1d2c158ef76c98b93080a431", "sha256": "f82d7120f90812b769bfc6bea56d22b3aa00a88ba80f880935538c1ba1f912cb" }, "downloads": -1, "filename": "fluentcms_jumbotron-1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9dbdb78e1d2c158ef76c98b93080a431", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 18785, "upload_time": "2016-05-14T08:32:36", "url": "https://files.pythonhosted.org/packages/6d/39/a4907a016e8fa337840b8dda2f9d10911c73b9b0de22afb99a5b24806383/fluentcms_jumbotron-1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0b6f79ed06bf32579594a44761bdbc93", "sha256": "3fd277f7f282c0a5aa38aea6fdaa1b579569977bc14398e02c44e697e3e376b9" }, "downloads": -1, "filename": "fluentcms-jumbotron-1.0.tar.gz", "has_sig": false, "md5_digest": "0b6f79ed06bf32579594a44761bdbc93", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10009, "upload_time": "2016-05-14T08:32:42", "url": "https://files.pythonhosted.org/packages/f6/7f/16eba635f85e699d7cf2fcfd0ac8b417fc78ca6c30d2d21b2d8067b4f471/fluentcms-jumbotron-1.0.tar.gz" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a978f3fc9e9c34291bd4189467d9151f", "sha256": "807512187390ad795fd8e73c3e55212e3db4700e9e7e0f367d44096ab842a411" }, "downloads": -1, "filename": "fluentcms_jumbotron-1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a978f3fc9e9c34291bd4189467d9151f", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12693, "upload_time": "2016-06-19T13:25:55", "url": "https://files.pythonhosted.org/packages/ee/1b/0ff77ef55d195cdc754a19a4db28d47de57b796cbdd80a2964182a669dc6/fluentcms_jumbotron-1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e7171932dee67ec2bde5beede396461c", "sha256": "e68492fd7b4bcc4b3d6862947f8d3c0b6533570862157c435accebcd8e18765f" }, "downloads": -1, "filename": "fluentcms-jumbotron-1.1.tar.gz", "has_sig": false, "md5_digest": "e7171932dee67ec2bde5beede396461c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11087, "upload_time": "2016-06-19T13:25:59", "url": "https://files.pythonhosted.org/packages/43/2a/70f03475b5e2bccfed153c52e712f77828a0cf6ed034b38c9a430eedc5e8/fluentcms-jumbotron-1.1.tar.gz" } ], "1.1.1": [ { "comment_text": "", "digests": { "md5": "32a4ae8258d4ea0fbbd6621765c89866", "sha256": "eebd8f91683ed259eded4f29bcb8f099b4b4927ea8296ea5b1f3f799a948734e" }, "downloads": -1, "filename": "fluentcms_jumbotron-1.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "32a4ae8258d4ea0fbbd6621765c89866", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12717, "upload_time": "2016-08-19T08:39:42", "url": "https://files.pythonhosted.org/packages/8c/a1/e67e76482c1f8918ed3b6c74ca583ccd536bc0f6f85569e5448d614d2a63/fluentcms_jumbotron-1.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "68d054bef820048d961ffbbb260b385a", "sha256": "1f69ec31b066cb0fb25b24e31aa2e82f0745375d13f4308ed36dfc02e86c7934" }, "downloads": -1, "filename": "fluentcms-jumbotron-1.1.1.tar.gz", "has_sig": false, "md5_digest": "68d054bef820048d961ffbbb260b385a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11101, "upload_time": "2016-08-19T08:39:45", "url": "https://files.pythonhosted.org/packages/88/02/6981980060144b07c8c1caeaa4470dc10e8d876a52a8a0953507adf8b28e/fluentcms-jumbotron-1.1.1.tar.gz" } ], "2.0": [ { "comment_text": "", "digests": { "md5": "1e673d5f5bbc5fd4af761b8f665012e3", "sha256": "1eb450560c101fa0f63fdd3bf17b10b7d1ee9834afc3aae1a66a1b278811a572" }, "downloads": -1, "filename": "fluentcms_jumbotron-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e673d5f5bbc5fd4af761b8f665012e3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12745, "upload_time": "2018-01-22T21:34:39", "url": "https://files.pythonhosted.org/packages/04/44/5b052baa0d865ee56979b28543154a2614e5fc7ecbabc7deaa9e60a70dd5/fluentcms_jumbotron-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5aad731475260b14e1a96d66eb7e02b2", "sha256": "69fb4fcef075f626e547c29ebee6db68dc44e3c2e4c9cdd97df4f8660c432e81" }, "downloads": -1, "filename": "fluentcms-jumbotron-2.0.tar.gz", "has_sig": false, "md5_digest": "5aad731475260b14e1a96d66eb7e02b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12422, "upload_time": "2018-01-22T21:34:40", "url": "https://files.pythonhosted.org/packages/c3/30/4d52848f733347b387c83704ebb9dfa41836f5704f9f42baff811c435c67/fluentcms-jumbotron-2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1e673d5f5bbc5fd4af761b8f665012e3", "sha256": "1eb450560c101fa0f63fdd3bf17b10b7d1ee9834afc3aae1a66a1b278811a572" }, "downloads": -1, "filename": "fluentcms_jumbotron-2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1e673d5f5bbc5fd4af761b8f665012e3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 12745, "upload_time": "2018-01-22T21:34:39", "url": "https://files.pythonhosted.org/packages/04/44/5b052baa0d865ee56979b28543154a2614e5fc7ecbabc7deaa9e60a70dd5/fluentcms_jumbotron-2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "5aad731475260b14e1a96d66eb7e02b2", "sha256": "69fb4fcef075f626e547c29ebee6db68dc44e3c2e4c9cdd97df4f8660c432e81" }, "downloads": -1, "filename": "fluentcms-jumbotron-2.0.tar.gz", "has_sig": false, "md5_digest": "5aad731475260b14e1a96d66eb7e02b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12422, "upload_time": "2018-01-22T21:34:40", "url": "https://files.pythonhosted.org/packages/c3/30/4d52848f733347b387c83704ebb9dfa41836f5704f9f42baff811c435c67/fluentcms-jumbotron-2.0.tar.gz" } ] }