From 0866aa708790ccf14dbfac994dc9d669e93ae71d Mon Sep 17 00:00:00 2001 From: Lasse Server Date: Sat, 8 Jul 2023 15:49:17 +0200 Subject: [PATCH] Added greeting etc --- app.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 401db6b..6fac2b1 100644 --- a/app.py +++ b/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')