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 .vscode
instance instance
venv/ venv/
123 123
*.csv *.csv
project.db *.db
c*.txt c*.txt
migrations/__pycache__/* migrations
migrations/versions/__pycache__/*
__pycache__ __pycache__
migrations/versions/__pycache__ .idea
migrations/__pycache__
migrations/versions/__pycache__/6fc3d1adb061_.cpython-312.pyc
migrations/versions/__pycache__/6fc3d1adb061_.cpython-312.pyc
migrations/versions/__pycache__/885bdd7b5161_.cpython-312.pyc

7
app.py
View File

@@ -7,12 +7,6 @@ from datetime import *
import csv import csv
import random import random
from urllib.parse import unquote 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__) app = Flask(__name__)
@@ -27,6 +21,7 @@ db.init_app(app)
migrate = Migrate(app, db) migrate = Migrate(app, db)
@app.route("/login", methods=['GET', 'POST']) @app.route("/login", methods=['GET', 'POST'])
def login(): def login():
return render_template('login.html') return render_template('login.html')

View File

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

View File

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