{ "info": { "author": "Ashley Felton", "author_email": "asi@dbca.wa.gov.au", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "========================\nDBCA Django web template\n========================\n\nThis project consists of a basic Django application containing HTML\ntemplates that provide a starting point for web applications used by the\n`Department`_. The base template consists of a mobile-friendly\nHTML5 template with a fixed top navbar, plus static assets.\nThe project also contains functional examples of **login** and\n**logged out** templates.\n\nThe base template is based upon `HTML5 Boilerplate`_, and includes the\n`Bootstrap 3`_ CSS framework.\n\nInstallation\n============\n\n#. Install via pip: ``pip install webtemplate-dbca``.\n#. Add ``'webtemplate_dbca'`` to ``INSTALLED_APPS``.\n#. Ensure that the ``staticfiles`` application is included and configured\n correctly.\n#. Ensure that you have defined the following named URLs: ``login`` and\n ``logout`` (this requirement can be overriden, see below).\n#. Extend the included base template by placing the following at the head\n of your own templates: ``{% extends \"webtemplate_dbca/base.html\" %}``\n#. Place page content within the required blocks (see below).\n\nIncluded CSS and JavaScript\n===========================\n\nThe base template currently includes the following CSS and JavaScript assets:\n\n#. Modernizr (HTML5 polyfills)\n#. Bootstrap 3 (CSS & JS)\n#. jQuery (DOM traversal, etc.)\n\nAdditional styling can be included using the ``extra_style`` or ``extra_js``\nblocks, like so::\n\n {% load static from staticfiles %}\n\n {% block extra_style %}\n {{ block.super }}\n \n {% endblock %}\n\nYou can also overide the ``base_style`` and ``base_js`` blocks completely to\nuse different CSS or JS libraries. Note that you will also need to replace the\n``top_navbar`` block contents if you replace the base Bootstrap CSS & JS.\n\nTemplate blocks\n===============\n\nThe base template contains a number of block tags that are used to render the\ncontent of your project. The main template content blocks are as follows:\n\n- ``navbar_links`` - used to define navigation links in the top navbar.\n- ``navbar_auth`` - used to display either a **Login** or **Logout** link.\n- ``page_content`` - used to contain the page's main content.\n- ``page_footer`` - used to contain a page footer area.\n\nNote that the ``navbar_auth`` block contains ``{% url %}`` templatetags with\nnamed URLs called *login* and *logout*. If this is not required or\ninappropriate for your project, simply override the ``navbar_auth`` block.\n\nIn addition, a number of context variables are defined:\n\n- ``page_title`` - used to populate the page **** tags.\n- ``site_title`` - used to populate the projects's title in the top navbar.\n\nContext variables should be passed to templates in every view.\n\nExamples\n========\n\nTo populate the main content area with a narrow left sidebar and content\narea that fills the whole screen width and will collapse elegantly on\nnarrow or mobile displays::\n\n {% block page_content %}\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-xs-12 col-sm-4 col-md-3 col-lg-2\" id=\"sidebar\">\n {% include \"sidebar.html\" %}\n </div>\n <div class=\"col-xs-12 col-sm-8 col-md-9 col-lg-10\">\n {% block page_content_inner %}{% endblock %}\n </div>\n </div>\n </div>\n {% endblock %}\n\nTo include a right-aligned copyright line in the footer area::\n\n {% block page_footer %}\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col-xs-12\">\n <hr>\n <p class=\"pull-right\">© Department of Biodiversity, Conservation and Attractions</p>\n </div>\n </div>\n </div>\n {% endblock %}\n\nTo include no navigation links in the top navbar and to prevent the automatic\n\"navbar button\" from showing on narrow displays, overide the ``navbar_button``\nand ``navbar_links`` blocks to be empty::\n\n {% block navbar_button %}{% endblock %}\n {% block navbar_links %}{% endblock %}\n\nDevelopment\n===========\n\nCreate a virtualenv and install local requirements using `python setup.py -q install`\n\nRun unit tests using `python runtests.py`\n\n.. _Department: http://www.dbca.wa.gov.au\n.. _HTML5 Boilerplate: https://html5boilerplate.com\n.. _Bootstrap 3: https://getbootstrap.com", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dbca-wa/webtemplate", "keywords": "django,html,template", "license": "Apache License, Version 2.0", "maintainer": "Ashley Felton", "maintainer_email": "asi@dbca.wa.gov.au", "name": "webtemplate-dbca", "package_url": "https://pypi.org/project/webtemplate-dbca/", "platform": "", "project_url": "https://pypi.org/project/webtemplate-dbca/", "project_urls": { "Homepage": "https://github.com/dbca-wa/webtemplate" }, "release_url": "https://pypi.org/project/webtemplate-dbca/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "Base HTML templates for DBCA Django projects", "version": "1.0.0" }, "last_serial": 5206005, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "79affb9936fb646e4809d8fdeb3d6d16", "sha256": "bf69f6671d843291d37e35a39ab9f273f1b394fe9c6a4444e056d3b1000a096b" }, "downloads": -1, "filename": "webtemplate-dbca-0.5.0.tar.gz", "has_sig": false, "md5_digest": "79affb9936fb646e4809d8fdeb3d6d16", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24051, "upload_time": "2018-04-20T05:50:11", "url": "https://files.pythonhosted.org/packages/53/bb/e21c477c88dd534c003f0a01eb4719810068b8536c6b833ae178fa5dc002/webtemplate-dbca-0.5.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "f6a69df8f47e90210c3f8cf3f8d761ba", "sha256": "20dac211bcff9871cf7bd78b52872e308c7625a703c546ba71965dd2ce32910c" }, "downloads": -1, "filename": "webtemplate-dbca-0.6.0.tar.gz", "has_sig": false, "md5_digest": "f6a69df8f47e90210c3f8cf3f8d761ba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24085, "upload_time": "2018-08-22T07:50:13", "url": "https://files.pythonhosted.org/packages/99/90/12f844db5cbb98d49d77c8db9e0518e776a2e959d9709857c769d26a8c9a/webtemplate-dbca-0.6.0.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "373a32a724ecb24ddd04e4460cca90c3", "sha256": "9c882f5c8110f27402f34142ba8c9e3b39a1f23aee8d283bacdfab62c6af1858" }, "downloads": -1, "filename": "webtemplate_dbca-1.0.0-py3.6.egg", "has_sig": false, "md5_digest": "373a32a724ecb24ddd04e4460cca90c3", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 29809, "upload_time": "2019-04-30T02:16:42", "url": "https://files.pythonhosted.org/packages/d5/cd/ea3ffc4b11d30d8868eb00fd1f52efe9ef9cdfc1942d2a27c24e733699c1/webtemplate_dbca-1.0.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "ee4303f7c9e7e90f493723b63d22c86c", "sha256": "59f300329fe4fe6197ab66ab1e44e38063724db868223e449db040d39272d402" }, "downloads": -1, "filename": "webtemplate-dbca-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ee4303f7c9e7e90f493723b63d22c86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24163, "upload_time": "2019-04-30T02:16:47", "url": "https://files.pythonhosted.org/packages/f7/8e/89168af1c3ef7df63c3b655a6051cf8126e3ed6727764aea202c9cf41f1f/webtemplate-dbca-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "373a32a724ecb24ddd04e4460cca90c3", "sha256": "9c882f5c8110f27402f34142ba8c9e3b39a1f23aee8d283bacdfab62c6af1858" }, "downloads": -1, "filename": "webtemplate_dbca-1.0.0-py3.6.egg", "has_sig": false, "md5_digest": "373a32a724ecb24ddd04e4460cca90c3", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 29809, "upload_time": "2019-04-30T02:16:42", "url": "https://files.pythonhosted.org/packages/d5/cd/ea3ffc4b11d30d8868eb00fd1f52efe9ef9cdfc1942d2a27c24e733699c1/webtemplate_dbca-1.0.0-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "ee4303f7c9e7e90f493723b63d22c86c", "sha256": "59f300329fe4fe6197ab66ab1e44e38063724db868223e449db040d39272d402" }, "downloads": -1, "filename": "webtemplate-dbca-1.0.0.tar.gz", "has_sig": false, "md5_digest": "ee4303f7c9e7e90f493723b63d22c86c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24163, "upload_time": "2019-04-30T02:16:47", "url": "https://files.pythonhosted.org/packages/f7/8e/89168af1c3ef7df63c3b655a6051cf8126e3ed6727764aea202c9cf41f1f/webtemplate-dbca-1.0.0.tar.gz" } ] }