From fffa1394c705396ba75dd862ef842c630f8a29d6 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 24 Jun 2026 16:29:08 +0900 Subject: [PATCH] feat: add table column headers above the interactive button list --- app.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index fb3207a..78d1cac 100644 --- a/app.py +++ b/app.py @@ -787,7 +787,14 @@ def page_history(): status_emoji = {"critical": "πŸ”΄", "warning": "🟑", "healthy": "🟒"} - # 슀크둀 κ°€λŠ₯ν•œ μ»¨ν…Œμ΄λ„ˆ 내뢀에 λΌλ””μ˜€ λ²„νŠΌμ΄ μ—†λŠ” κ°€λ‘œν˜• ν†΅μ§œ 클릭 ν–‰ λ Œλ”λ§ + # 1. ν‘œμ˜ 각 μ—΄ 이름(헀더) 배치 (κ°€λ‘œ λΉ„μœ¨ μΉΌμ •λ ¬) + h_col1, h_col2, h_col3 = st.columns([1.2, 1.0, 1.2]) + h_col1.markdown("**🟒 μƒνƒœ & λ³΄κ³ μ„œ 파일λͺ…**") + h_col2.markdown("**πŸ•’ 뢄석 μΌμ‹œ**") + h_col3.markdown("**πŸ“Š μš”μ•½ 톡계 (GPU / XID / RMA)**") + st.markdown("
", unsafe_allow_html=True) + + # 2. 슀크둀 κ°€λŠ₯ν•œ μ»¨ν…Œμ΄λ„ˆ 내뢀에 λΌλ””μ˜€ λ²„νŠΌμ΄ μ—†λŠ” κ°€λ‘œν˜• ν†΅μ§œ 클릭 ν–‰ λ Œλ”λ§ with st.container(height=380): for r in records: emoji = status_emoji.get(r['overall_status'], '🟒')