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()