diff --git a/streamlit/aaretelogo.png b/streamlit/aaretelogo.png new file mode 100644 index 0000000..255e50f Binary files /dev/null and b/streamlit/aaretelogo.png differ diff --git a/streamlit/interface_1.py b/streamlit/interface_1.py index 08ed07b..4b4f88e 100644 --- a/streamlit/interface_1.py +++ b/streamlit/interface_1.py @@ -1,4 +1,5 @@ import streamlit as st +import security from streamlit_extras.add_vertical_space import add_vertical_space import os import streamlit as st @@ -30,18 +31,7 @@ st.set_page_config(layout = "wide") # add_vertical_space(15) # # st.write("Doczy") -# AARETE LOGO -x,y,z = st.columns([15,2,15]) -with y: - st.image('aaretelogo.png') -hide_img_fs = ''' - -''' -st.markdown(hide_img_fs, unsafe_allow_html=True) _,c1= st.columns([5,1]) try: @@ -55,6 +45,9 @@ try: except KeyError as e: # Do we add a link to get to the login page here? st.write("Session Expired.") + # st.write("Please sign-in to use this app.") + auth_url = security.get_auth_url(REDIRECT_URI) + st.markdown(f"Sign In", unsafe_allow_html=True) st.stop() diff --git a/streamlit/interface_3.py b/streamlit/interface_3.py index e5db408..82b425f 100644 --- a/streamlit/interface_3.py +++ b/streamlit/interface_3.py @@ -41,18 +41,6 @@ with st.sidebar: add_vertical_space(15) # st.write("Doczy") - # AARETE LOGO -x,y,z = st.columns([15,2,15]) -with y: - st.image('aaretelogo.png') - -hide_img_fs = ''' - -''' -st.markdown(hide_img_fs, unsafe_allow_html=True) _,c1= st.columns([5,1]) # util.setup_page(REDIRECT_URI)