From 34d6dca2a9402612995daa5b7e8f378f1aa8c61d Mon Sep 17 00:00:00 2001 From: Fluffy-Bean Date: Wed, 25 Jan 2023 16:46:13 +0000 Subject: [PATCH] Add Download button Forgotten to update version :skull: --- gallery/__init__.py | 2 +- gallery/templates/image.html | 6 ++++++ setup.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gallery/__init__.py b/gallery/__init__.py index ce8bbe2..90b2460 100644 --- a/gallery/__init__.py +++ b/gallery/__init__.py @@ -5,7 +5,7 @@ print(""" | |_| | | | | | |_| | |__| __/ (_| \\__ \\ \\___/|_| |_|_|\\__, |_____\\___|\\__, |___/ |___/ |___/ -Created by Fluffy Bean - Version 210123 +Created by Fluffy Bean - Version 250123 """) from flask import Flask, render_template diff --git a/gallery/templates/image.html b/gallery/templates/image.html index 017ac30..1118de7 100644 --- a/gallery/templates/image.html +++ b/gallery/templates/image.html @@ -42,6 +42,12 @@ Share + + + + + Download + {% if g.user['id'] == image['author_id'] %}
diff --git a/setup.py b/setup.py index 3bbf416..3385b7b 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ from setuptools import find_packages, setup setup( name='onlylegs', - version='210123', + version='250123', packages=find_packages(), include_package_data=True, install_requires=[