Metadata-Version: 2.1
Name: Flask-AdminLTE2
Version: 1.0.0
Summary: Integration of Flask-Admin and AdminLTE2 template.
Home-page: https://github.com/shijl0925/Flask-AdminLTE2
Author: Jialiang Shi
Author-email: kevin09254930sjl@gmail.com
License: MIT
Description: AdminLTE2 Templates, Template Tags, and Admin Theme for Flask-Admin
        =============================================================
        
        Flask-AdminLTE2 packages `AdminLTE2
        <http://www.almsaeedstudio.com/>`_ into an extension that mostly consists
        of a blueprint named 'adminlte'. It can also create links to serve AdminLTE2 and works with no boilerplate code in your application.
        
        Installation
        ------------
        
        Installation using pip:
        
            pip install Flask-AdminLTE2
        
        Compatibility
        -------------
        
        This package is compatible Python versions 2.7, 3.4, 3.5 and 3.6.
        
        Usage
        -----
        Here is an example:
        
            from flask_adminlte2 import AdminLTE2
            
            [...]
            
            AdminLTE2()(app)
        
        
            from flask_adminlte2 import AdminLTEModelView, AdminLTEFileAdmin
            class MyModelView(AdminLTEModelView):
                pass
        
            class MyFileAdmin(AdminLTEFileAdmin):
                pass
        
            class MyAdminIndexView(AdminIndexView):
                @expose('/', methods=['GET', 'POST'])
                def index(self):
                    return self.render('myadmin/my_index.html')
        
            from flask_admin import Admin
            admin = Admin(name='Admin Dashboard',
                        base_template='myadmin/my_master.html',
                        template_mode='bootstrap3',
                        index_view=MyAdminIndexView())
        
        
        base template myadmin/my_master.html code:
        
            {% extends 'adminlte2/base.html' %}
            [...]
        
        index template myadmin/my_index.html code:
        
            {% extends 'adminlte2/my_master.html' %}
            {% block body %}
            {{ super() }}
            [...]
            {% endblock body %}
        
        
        This makes some new templates available, containing blank pages that include all
        bootstrap resources, and have predefined blocks where you can put your content.
        
        Screenshots
        -----------
        Admin Area:
            
        * Home :![admin screenshot](https://raw.githubusercontent.com/shijl0925/Flask-AdminLTE2/master/screenshots/home.png)
        
        * Demo Model :![model screenshot](https://raw.githubusercontent.com/shijl0925/Flask-AdminLTE2/master/screenshots/demo-home.png)
        
        * Demo List Model: ![model list](https://raw.githubusercontent.com/shijl0925/Flask-AdminLTE2/master/screenshots/demo-list.png)
        
        * Demo Creating Model: ![model create](https://raw.githubusercontent.com/shijl0925/Flask-AdminLTE2/master/screenshots/demo-create.png)
        
        * Demo Editing Model: ![model edit](https://raw.githubusercontent.com/shijl0925/Flask-AdminLTE2/master/screenshots/demo-edit.png)
        
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Description-Content-Type: text/markdown
