Spaces:
Sleeping
Sleeping
admin page
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ def show_admin_page():
|
|
| 110 |
st.session_state.page = 'admin_page'
|
| 111 |
|
| 112 |
# Create a link in the upper-right corner for logging in as Admin
|
| 113 |
-
st.sidebar.
|
| 114 |
st.sidebar.button("Admin Login", on_click=show_admin_login)
|
| 115 |
|
| 116 |
if st.session_state.page == 'dashboard':
|
|
@@ -171,8 +171,8 @@ elif st.session_state.page == 'admin_page':
|
|
| 171 |
st.markdown("### Admin Page")
|
| 172 |
st.markdown("Welcome to the Admin Page. Here, you can manage predictions and settings.")
|
| 173 |
|
| 174 |
-
#
|
| 175 |
-
st.
|
| 176 |
|
| 177 |
# Add a button to return to the user dashboard
|
| 178 |
st.button("Back to Dashboard", on_click=show_dashboard)
|
|
|
|
| 110 |
st.session_state.page = 'admin_page'
|
| 111 |
|
| 112 |
# Create a link in the upper-right corner for logging in as Admin
|
| 113 |
+
st.sidebar.write("Log in as Admin")
|
| 114 |
st.sidebar.button("Admin Login", on_click=show_admin_login)
|
| 115 |
|
| 116 |
if st.session_state.page == 'dashboard':
|
|
|
|
| 171 |
st.markdown("### Admin Page")
|
| 172 |
st.markdown("Welcome to the Admin Page. Here, you can manage predictions and settings.")
|
| 173 |
|
| 174 |
+
# Insert a link on the admin page
|
| 175 |
+
st.markdown("[Go to data management page](https://www.youtube.com/watch?v=8eJZQbT0fgc)", unsafe_allow_html=True)
|
| 176 |
|
| 177 |
# Add a button to return to the user dashboard
|
| 178 |
st.button("Back to Dashboard", on_click=show_dashboard)
|