{ "info": { "author": "Pedro Baumann", "author_email": "ondoheer@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Flask Outdated Browser\n=========================\n\n\n\n.. image:: https://travis-ci.org/ondoheer/flask-outdated-browser.png?branch=master\n :target: https://travis-ci.org/ondoheer/flask-outdated-browser\n\n\nA simple way to add outdated browser to your Flask project using python code.\n\nUsage\n---------\n\nIn flask add::\n\n\tfrom flask_outdated_browser import OutdatedBrowser \n\n\t# regular way of initializing\n\tOutdatedBrowser(app)\n\n\t#it also handles Flask factory pattern\n\toutdated = Outdated()\n\n\toutdated.init_app(app)\n\n\nConfiguration Variables\n-------------------------\n\nThe extension can handle the following configuration options that follow the original project capabilities\n\n\nBrowser support version\n++++++++++++++++++++++++++\n\nDetermines which version of IE will be the first supported version for your app.\n\n- **app.config[\"OUTDATED_BROWSER_FOR\"]**, defaults to \"IE10\", accepts all the original project parameters.\n\n\nJquery Usage\n++++++++++++++\n\nSets if jquery is used or not.\n\n**app.config[\"OUTDATED_BROWSER_JQUERY\"]**, defaults to False\n\nAJAX support\n++++++++++++++\nDetermines if AJAX is used for script rendering.\n\n**app.config[\"OUTDATED_BROWSER_AJAX\"]**, defaults to False\n\nMinified files\n++++++++++++++++\nDetermines if the .js and .css files are minimized or not.\n\n**app.config[\"OUTDATED_BROWSER_MINIFIED\"]**, defaults to True\n\nLanguage to display\n+++++++++++++++++++++\n\nAccepts any outdatedbrowser language. It will be used to call the proper template.\n\n**app.config[\"OUTDATED_BROWSER_LANGUAGE\"]**, defaults to \"en\"\n\nUsage in templates\n--------------------\n\nsince usually the developer wants to have control of their *base.html* file, or is ussing a framework like **Boostratp** or **zurb Foundation**, I dediced the best sensible way to add the outdated browser code snippets would be macros.\n\nto use it just add the following to your jinja2 templates::\n\n\t{% import \"outdated/macros.html\" as outdated %}\n\n\t\n\t{{ outdated.style() }}\n\n\t\n\t{{ outdated.init() }}\n\n\t\n\t{{ outdated.script() }}", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ondoheer/flask_outdated_browser", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "Flask-outdated-browser", "package_url": "https://pypi.org/project/Flask-outdated-browser/", "platform": "any", "project_url": "https://pypi.org/project/Flask-outdated-browser/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ondoheer/flask_outdated_browser" }, "release_url": "https://pypi.org/project/Flask-outdated-browser/0.1/", "requires_dist": null, "requires_python": null, "summary": "Easily add outdated-browser project to your Flask application", "version": "0.1" }, "last_serial": 1551917, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "7ec6fd7d2af1ef8f145948847805b5e8", "sha256": "eef8838052b0bdc4764c430dac4db8a7e725940626d9bd04f61a2ea5f66979b0" }, "downloads": -1, "filename": "Flask-outdated-browser-0.1.tar.gz", "has_sig": false, "md5_digest": "7ec6fd7d2af1ef8f145948847805b5e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8526, "upload_time": "2015-04-10T22:27:17", "url": "https://files.pythonhosted.org/packages/89/c8/6d643d2ce669c6112703e3748737b0c2a85920c6e75df6f7d3e76edc19c8/Flask-outdated-browser-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7ec6fd7d2af1ef8f145948847805b5e8", "sha256": "eef8838052b0bdc4764c430dac4db8a7e725940626d9bd04f61a2ea5f66979b0" }, "downloads": -1, "filename": "Flask-outdated-browser-0.1.tar.gz", "has_sig": false, "md5_digest": "7ec6fd7d2af1ef8f145948847805b5e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8526, "upload_time": "2015-04-10T22:27:17", "url": "https://files.pythonhosted.org/packages/89/c8/6d643d2ce669c6112703e3748737b0c2a85920c6e75df6f7d3e76edc19c8/Flask-outdated-browser-0.1.tar.gz" } ] }