Development

This commit is contained in:
Matthew Grotke 2026-05-24 01:51:34 -04:00
parent 278995958a
commit acd83d1e90

View file

@ -1549,11 +1549,11 @@ def render_layout(view_id, content_html, tokens):
+ '</ul>')
fix_html = ''
if fix_cmds:
fix_items = ''.join(f'<li><code>{e(c)}</code></li>' for c in fix_cmds)
fix_html = ('<div style="margin-top:0.5em">To fix:</div>'
fix_items = ''.join(f'<li>Run `{e(c)}`</li>' for c in fix_cmds)
fix_html = ('<div style="margin-top:0.5em"><strong>To fix:</strong></div>'
f'<ul style="margin:0.25em 0;padding-left:1.25em">{fix_items}</ul>')
content = ('<div style="width:100%">'
'<div style="font-weight:600;margin-bottom:0.25em">Health check &mdash; problems found:</div>'
'<div style="font-weight:600;margin-bottom:0.25em">Health check - problems found:</div>'
+ problems_list + fix_html
+ '</div>')
problem_bars += f'<div class="info-bar {cls}">{content}</div>\n'