feat: add table column headers above the interactive button list
This commit is contained in:
@@ -787,7 +787,14 @@ def page_history():
|
|||||||
|
|
||||||
status_emoji = {"critical": "🔴", "warning": "🟡", "healthy": "🟢"}
|
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("<hr style='margin: 0.1rem 0 0.5rem 0; border: 1px dashed #76b900;'>", unsafe_allow_html=True)
|
||||||
|
|
||||||
|
# 2. 스크롤 가능한 컨테이너 내부에 라디오 버튼이 없는 가로형 통짜 클릭 행 렌더링
|
||||||
with st.container(height=380):
|
with st.container(height=380):
|
||||||
for r in records:
|
for r in records:
|
||||||
emoji = status_emoji.get(r['overall_status'], '🟢')
|
emoji = status_emoji.get(r['overall_status'], '🟢')
|
||||||
|
|||||||
Reference in New Issue
Block a user