Last coommit before refactoring

This commit is contained in:
Danamir
2025-08-04 10:33:21 +03:00
parent 1c33775f92
commit c24a1fa8c6
4 changed files with 11 additions and 22 deletions

12
.gitignore vendored
View File

@@ -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
.idea

7
app.py
View File

@@ -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')

View File

@@ -54,7 +54,7 @@ button {
.card {
width: 200px;
/*width: 200px; */
margin: 10px;
border-radius: 15px;
border-color: #E07D54;

View File

@@ -102,22 +102,22 @@
<div class="row col-12">
<div class=" card col-11">
<div class="row">
<h3 id ='123' class=" no-print"> Все мат. ценности </h3>
</div>
</div>
<div class="row col-12">
<button class="button" id="printallbutton"> Печать </button>
</div>
<div class="row col-12">
<button class="button" id="addoborud"> Добавить </button>
</div>
</div>
<div class="row">
<div class="card col-md-11 table-responsive">
<table id="alldatatable" class="alldatable table pagebreak" >