Fixed timekeeping + header color

pretty sure it was the indent, not the est but whatever, I did both
This commit is contained in:
Thomas Muller 2024-10-03 23:51:36 -04:00
parent 5e304826ca
commit adced1e3c1

View file

@ -194,7 +194,7 @@ def report():
name_dict[swipe.uuid] = [] name_dict[swipe.uuid] = []
name_list = name_dict[swipe.uuid] name_list = name_dict[swipe.uuid]
name_list.append(swipe.time) name_list.append(est)
@ -208,7 +208,7 @@ def report():
for name_obj in name_query: for name_obj in name_query:
name = f'{name_obj.first_name} {name_obj.last_name}' name = f'{name_obj.first_name} {name_obj.last_name}'
names.append(name) names.append(name)
result += f'<th style="width: 100px; position: sticky; top: 0;">{name}</th>' result += f'<th style="width: 100px; position: sticky; top: 0; background: #242424;">{name}</th>'
result += '</tr></thead>' result += '</tr></thead>'