updates to logo mistake

This commit is contained in:
Pratham Soni
2024-06-13 16:19:02 -05:00
parent c6ac2ba120
commit f2040605cf
3 changed files with 4 additions and 23 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

+4 -11
View File
@@ -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 = '''
<style>
button[title="View fullscreen"]{
visibility: hidden;}
</style>
'''
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"<a href='{auth_url}' target='_self'>Sign In</a>", unsafe_allow_html=True)
st.stop()
-12
View File
@@ -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 = '''
<style>
button[title="View fullscreen"]{
visibility: hidden;}
</style>
'''
st.markdown(hide_img_fs, unsafe_allow_html=True)
_,c1= st.columns([5,1])
# util.setup_page(REDIRECT_URI)