Last coommit before refactoring
This commit is contained in:
12
.gitignore
vendored
12
.gitignore
vendored
@@ -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
7
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')
|
||||
|
||||
@@ -54,7 +54,7 @@ button {
|
||||
|
||||
.card {
|
||||
|
||||
width: 200px;
|
||||
/*width: 200px; */
|
||||
margin: 10px;
|
||||
border-radius: 15px;
|
||||
border-color: #E07D54;
|
||||
|
||||
@@ -103,21 +103,21 @@
|
||||
|
||||
|
||||
|
||||
<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" >
|
||||
|
||||
Reference in New Issue
Block a user