senyakk commited on
Commit
7e5bc13
·
1 Parent(s): 431d209

admin page

Browse files
Files changed (1) hide show
  1. app.py +3 -3
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.markdown("[Log in as Admin](#)", unsafe_allow_html=True)
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
- # Add content relevant to the admin, e.g., data management or configuration
175
- st.write("Admin functionality goes here.")
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)