updates to logo mistake
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 68 KiB |
@@ -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()
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user