Added greeting etc

main
Lasse Server 3 years ago
parent 8f06ed09a0
commit 0866aa7087
  1. 8
      app.py

@ -18,7 +18,13 @@ authenticator = stauth.Authenticate(
name, authentication_status, username = authenticator.login('Logga in', 'main')
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()
if user_input != '':
s = []
for i in user_input:
@ -42,7 +48,7 @@ if authentication_status:
st.dataframe(r['df'], use_container_width=True)
else:
st.text('Not found.')
st.markdown(':red[Vid frågor mejla lasse@edfast.se]')
elif authentication_status is False:
st.error('Fel användarnamn/lösenord')

Loading…
Cancel
Save