From c24a1fa8c68fc33bbfa41c09337496160d1d4b42 Mon Sep 17 00:00:00 2001 From: Danamir Date: Mon, 4 Aug 2025 10:33:21 +0300 Subject: [PATCH] Last coommit before refactoring --- .gitignore | 12 +++--------- app.py | 7 +------ static/css/index.css | 2 +- templates/all.html | 12 ++++++------ 4 files changed, 11 insertions(+), 22 deletions(-) diff --git a/.gitignore b/.gitignore index 502dd3b..8abfd0e 100644 --- a/.gitignore +++ b/.gitignore @@ -2,16 +2,10 @@ .vscode instance venv/ - 123 *.csv -project.db +*.db c*.txt -migrations/__pycache__/* -migrations/versions/__pycache__/* +migrations __pycache__ -migrations/versions/__pycache__ -migrations/__pycache__ -migrations/versions/__pycache__/6fc3d1adb061_.cpython-312.pyc -migrations/versions/__pycache__/6fc3d1adb061_.cpython-312.pyc -migrations/versions/__pycache__/885bdd7b5161_.cpython-312.pyc \ No newline at end of file +.idea diff --git a/app.py b/app.py index 0c5ef9f..17633fb 100644 --- a/app.py +++ b/app.py @@ -7,12 +7,6 @@ from datetime import * import csv import random from urllib.parse import unquote -from flask_httpauth import HTTPBasicAuth -from werkzeug.security import generate_password_hash, check_password_hash -import xlrd -import xlwt -import xlsxwriter -from xlutils.copy import copy app = Flask(__name__) @@ -27,6 +21,7 @@ db.init_app(app) migrate = Migrate(app, db) + @app.route("/login", methods=['GET', 'POST']) def login(): return render_template('login.html') diff --git a/static/css/index.css b/static/css/index.css index c445320..28e832a 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -54,7 +54,7 @@ button { .card { - width: 200px; + /*width: 200px; */ margin: 10px; border-radius: 15px; border-color: #E07D54; diff --git a/templates/all.html b/templates/all.html index 50bd2ac..bb4c598 100644 --- a/templates/all.html +++ b/templates/all.html @@ -102,22 +102,22 @@ - -
-
+ +
+

Все мат. ценности

- -
+ +
+
-