Development

This commit is contained in:
Matthew Grotke 2026-05-26 00:35:25 -04:00
parent fa8a5c1b45
commit e07815d135

View file

@ -601,11 +601,18 @@ def collect_tokens():
rows = ''
for cmd, entries in groups.items():
users = ', '.join(sorted({u for _, u in entries if u and u != 'unknown'}))
required_by = ', '.join(_uuid for _uuid, _ in entries)
req_tags = ''.join(
f'<span class="tag" data-tooltip="{_uuid}">'
f'<span class="tl-full">{_uuid[:8]}</span>'
f'<span class="tl-short">{_uuid[:8]}</span>'
f'<span class="tl-min">{_uuid[:8]}</span>'
f'</span>'
for _uuid, _ in entries
)
rows += (f'<tr>'
f'<td class="table-cell">{e(cmd)}</td>'
f'<td class="table-cell">{e(users)}</td>'
f'<td class="table-cell">{e(required_by)}</td>'
f'<td class="table-cell"><div class="tag-list">{req_tags}</div></td>'
f'</tr>')
pending_html = (
'<table class="data-table">'