From 3549ea7f207531af284b246d3ad5eb2e9bb1830a Mon Sep 17 00:00:00 2001 From: Raykov-MS Date: Thu, 4 Jun 2026 17:22:42 +0300 Subject: [PATCH] to prod view --- main.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/main.py b/main.py index 6574c4d..d058d9a 100644 --- a/main.py +++ b/main.py @@ -2,19 +2,24 @@ import streamlit as st from dotenv import load_dotenv from app.auth.service import AuthService, clear_session -from app.ui import render_profile def main() -> None: load_dotenv() - st.set_page_config(page_title="SFM Streamlit", page_icon=":lock:", layout="wide") - st.title("SFM Streamlit: Keycloak-only auth") + st.set_page_config(page_title="СФМ", page_icon=":lock:", layout="wide") + st.title("СФМ") if not AuthService().run(): return - render_profile(st.session_state["user_profile"]) + _, center_col, _ = st.columns([1, 2, 1]) + with center_col: + st.button( + "Запустить обработку xml в excel", + type="primary", + use_container_width=True, + ) if st.button("Выйти", type="secondary"): clear_session()