Add function to import exported results and view them after the import

This commit is contained in:
Stephan Porada
2020-07-03 14:41:57 +02:00
parent a997fbe0ee
commit 1811623583
27 changed files with 880 additions and 32 deletions

View File

@ -2,9 +2,9 @@ from flask_table import Table, Col, LinkCol
class AdminUserTable(Table):
"""
'''
Declares the table describing colum by column.
"""
'''
classes = ['highlight', 'responsive-table']
username = Col('Username', column_html_attrs={'class': 'username'},
th_html_attrs={'class': 'sort',
@ -28,9 +28,9 @@ class AdminUserTable(Table):
class AdminUserItem(object):
"""
'''
Describes one item like one row per table.
"""
'''
def __init__(self, username, email, role_id, confirmed, id):
self.username = username