Правки html формата

This commit is contained in:
2026-05-02 23:38:29 +03:00
parent ef8732f079
commit 3184ff16ca
3 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "plba"
version = "0.3.11"
version = "0.3.13"
description = "Platform runtime for business applications"
readme = "README.md"
requires-python = ">=3.11"
+3 -3
View File
@@ -102,15 +102,15 @@ class TraceResponseRenderer:
--step: #ffffff;
--link: #66d9ef;
--error: #ff817d;
--warning: #e5801d;
--info: #73a0cf;
--warning: #e9ebec;
--info: #d6d7d9;
--other: #ececec;
}}
body {{
margin: 0;
background: var(--bg);
color: var(--fg);
font: 13px/1.1 "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
font: 13px/1.1 "SFMono-Regular", monospace;
}}
.page {{
padding: 14px 16px 24px;
+3 -3
View File
@@ -205,11 +205,11 @@ def test_trace_endpoint_returns_html_page_with_related_links() -> None:
assert "--bg: #000000;" in response.text
assert "--fg: #ececec;" in response.text
assert "--step: #ffffff;" in response.text
assert "--info: #73a0cf;" in response.text
assert "--warning: #e5801d;" in response.text
assert "--info: #d6d7d9;" in response.text
assert "--warning: #e9ebec;" in response.text
assert "--error: #ff817d;" in response.text
assert "--other: #ececec;" in response.text
assert 'font: 13px/1.1 "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;' in response.text
assert 'font: 13px/1.1 "SFMono-Regular", monospace;' in response.text
assert '<div class="line">trace_id: <a href="/traces/trace-1?format=html&amp;levels=ERROR%2CWARNING%2CINFO&amp;attrs_json=true">trace-1</a></div>' in response.text
assert '<div class="line">parent_id: <a href="/traces/parent-1?format=html&amp;levels=ERROR%2CWARNING%2CINFO&amp;attrs_json=true">parent-1</a></div>' in response.text
assert '<div class="line">child_ids:</div>' in response.text