Skip to content

Flask Admin customized using AdminLTE bootstrap template and flask security to offer a better Dashboard UX

License

Notifications You must be signed in to change notification settings

macagua/example.flask.admin-dashboard

 
 

Repository files navigation

Flask-Admin Dashboard Example

Flask

Basic dashboard app with AdminLTE template and Flask-Admin, it has:

  • User Registration.
  • Login as general or admin user.
  • Roles management.
  • Create form in modal window by default.
  • Inline editing enabled by default.
  • Skins and layout customization.
  • Dashboard, charts, chat and calendar examples.

Utilities

There are using many utilities, as the following:


Requirements

Please execute the following commands:

$ sudo apt update && sudo apt upgrade -y
$ sudo apt install -y python3-dev python3-pip python3-virtualenv
$ sudo apt install -y git
$ sudo apt install -y sqlite3

How to use

To use it following the steps:

  • Clone or download the git repository.
    $ git clone https://github.com/macagua/example.flask.admin-dashboard.git flask-admin-dashboard
    $ cd ./flask-admin-dashboard
  • Create and activate a virtual environment:
    $ virtualenv --python /usr/bin/python3 venv
    $ source ./venv/bin/activate
  • Install the requirements inside the app folder
    $ pip3 install -U pip
    $ pip3 install -r requirements.txt
  • Once the process finishes give execution permission to app.py file and run it
    $ python3 ./app.py
  • The first execution will create automatically a sample sqlite database.
  • Open at your favorite Web browser the following link http://127.0.0.1:5000/admin then just log in with the default user (user as admin and password as admin) or register one new user.

Screenshots

There are some screenshots about the Flask-Admin Dashboard Example.

Index Index View

Login Login View

Register Register View

Home Home View

User User View

Edit Edit View

Create Create View

Skins and Layout Skins and Layout View

I hope you enjoy it.


License

This project is licensed under the MIT License - see the LICENSE file for details.


References

About

Flask Admin customized using AdminLTE bootstrap template and flask security to offer a better Dashboard UX

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 56.5%
  • CSS 29.5%
  • HTML 13.5%
  • Other 0.5%