{ "info": { "author": "Eduardo Calleja", "author_email": "e.calleja.garcia@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Internet :: WWW/HTTP" ], "description": "======================\nSuper popups for Django\n======================\n\nLet ``super-popups`` show fancy messages to your visitors\n\n.. image:: http://www.educalleja.es/misc/super_popups/ok.jpg\n\n.. image:: http://www.educalleja.es/misc/super_popups/ko.jpg\n\n.. image:: http://www.educalleja.es/misc/super_popups/warn.jpg\n\n\nRequirements\n------------\n\n- Django >= 1.8\n- Jquery 1.12\n- Font-awesome 4.5.0\n\n\nInstallation\n------------\n\n1. Install using pip:\n\n ``pip install django-super-popups``\n\n Alternatively, you can install download or clone this repo and call ``pip install -e .``.\n\n2. Add to INSTALLED_APPS in your ``settings.py``:\n\n ``'django_super_popups',``\n\n3. In your templates, load the following ``css`` and ``js`` files:\n\n .. code:: Django\n\n \n \n\nUsage\n------------\n\nCall your website with the following GET variables to display a message:\n\n http://example.com?tyT=ok&msT=This is the text\n \nWhich will display the following popup:\n\n.. image:: http://www.educalleja.es/misc/super_popups/example1.jpg\n\nIf you do not want to define the popup using GET variables, you can define the style and content with the following javascript variable.\n\n .. code:: javascript\n\n var superpopups = {\n tyT: \"ok\", // MANDATORY. Possible values are `ok`, `ko` and `warn`\n msT: \"Everything is great!\", // MANDATORY \n autohide: 5000, // OPTIONAL. When set, the message will disappear after the defined interval in ms.\n }\n\n\n\n\nExample template\n----------------\n\n .. code:: Django\n\n {# Web code #}\n \n
\n \n \n \n \n \n \n\n\nDocumentation\n-------------\n\nThis is all the documentation we have :)\n\n\nBugs and suggestions\n--------------------\n\nIf you have found a bug or if you have a request for additional functionality, please use the issue tracker on GitHub.\n\nhttps://github.com/educalleja/django-super-popups/issues\n\n\nLicense\n-------\n\nYou can use this under Apache 2.0. See `LICENSE\n