Added Image deletion

Added buttons for image functions
Moved Image functions to their own file
Added PFP row in users table
Moved Groups back to the root templates folder
This commit is contained in:
Michał Gdula 2023-01-11 10:53:01 +00:00
parent 8c25779882
commit 978086f512
9 changed files with 262 additions and 43 deletions

View file

@ -5,7 +5,7 @@ print("""
| |_| | | | | | |_| | |__| __/ (_| \\__ \\
\\___/|_| |_|_|\\__, |_____\\___|\\__, |___/
|___/ |___/
Created by Fluffy Bean - Version 100123
Created by Fluffy Bean - Version 110123
""")
# Import base packages
@ -98,6 +98,10 @@ def create_app(test_config=None):
app.register_blueprint(gallery.blueprint)
app.add_url_rule('/', endpoint='index')
# Load routes for images
from . import image
app.register_blueprint(image.blueprint)
# Load APIs
from . import api
app.register_blueprint(api.blueprint)