mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-14 10:00:40 +00:00
Add function to import exported results and view them after the import
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user