first 'working' version
This commit is contained in:
+10
-2
@@ -1,5 +1,8 @@
|
||||
from functools import partial
|
||||
|
||||
import streamlit as st
|
||||
|
||||
from webapp.new_task import render_new_task
|
||||
from webapp.task_list import render_task_list
|
||||
|
||||
|
||||
@@ -16,7 +19,12 @@ def render_home(container,
|
||||
with container.container():
|
||||
st.title('Annescribe Home')
|
||||
st.write("Welcome to AnneScribe!")
|
||||
authenticator.logout()
|
||||
authenticator.logout(callback=st.session_state.clear)
|
||||
|
||||
# render task list
|
||||
render_task_list(container, app_config)
|
||||
task_list_container = st.empty()
|
||||
render_task_list(task_list_container, app_config)
|
||||
|
||||
# render new task
|
||||
new_task_container = st.empty()
|
||||
render_new_task(new_task_container, app_config)
|
||||
|
||||
Reference in New Issue
Block a user