|
|
|
@ -18,7 +18,13 @@ authenticator = stauth.Authenticate( |
|
|
|
name, authentication_status, username = authenticator.login('Logga in', 'main') |
|
|
|
name, authentication_status, username = authenticator.login('Logga in', 'main') |
|
|
|
|
|
|
|
|
|
|
|
if authentication_status: |
|
|
|
if authentication_status: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Say hello |
|
|
|
|
|
|
|
st.write(f'**Hej {name}!**') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Ask for input |
|
|
|
user_input = str(st.text_input('Skriv in telefonnummer eller Facebook-ID', )).strip() |
|
|
|
user_input = str(st.text_input('Skriv in telefonnummer eller Facebook-ID', )).strip() |
|
|
|
|
|
|
|
|
|
|
|
if user_input != '': |
|
|
|
if user_input != '': |
|
|
|
s = [] |
|
|
|
s = [] |
|
|
|
for i in user_input: |
|
|
|
for i in user_input: |
|
|
|
@ -42,7 +48,7 @@ if authentication_status: |
|
|
|
st.dataframe(r['df'], use_container_width=True) |
|
|
|
st.dataframe(r['df'], use_container_width=True) |
|
|
|
else: |
|
|
|
else: |
|
|
|
st.text('Not found.') |
|
|
|
st.text('Not found.') |
|
|
|
st.markdown(':red[Vid frågor mejla lasse@edfast.se]') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
elif authentication_status is False: |
|
|
|
elif authentication_status is False: |
|
|
|
st.error('Fel användarnamn/lösenord') |
|
|
|
st.error('Fel användarnamn/lösenord') |
|
|
|
|