updated logo, and sort

This commit is contained in:
David Bryan 2019-12-02 16:49:59 -08:00
parent c9b350f881
commit 83a2898ec7
3 changed files with 4 additions and 1 deletions

View file

@ -10,6 +10,8 @@ from flask_babel import gettext, ngettext
from flask_babel import Babel from flask_babel import Babel
from flask_babel import force_locale as babel_force_locale from flask_babel import force_locale as babel_force_locale
from flask_sqlalchemy import SQLAlchemy from flask_sqlalchemy import SQLAlchemy
#from flask_sqlalchemy import desc, asc
from sqlalchemy import asc, desc
from datetime import datetime from datetime import datetime
debug=1 debug=1
@ -214,7 +216,8 @@ if(True):
@app.route('/card/list') @app.route('/card/list')
def card_list(): def card_list():
card = card_tbl.query.all() #card = card_tbl.query.all()
card = card_tbl.query.order_by(desc(card_tbl.id)).all()
#for line in card: #for line in card:
# print(line['card_number']) # print(line['card_number'])

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 61 KiB