Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1403,13 +1403,7 @@ def show_admin_dashboard():
|
|
| 1403 |
|
| 1404 |
st.markdown("---")
|
| 1405 |
# Back to main app button (aligned left in a container)
|
| 1406 |
-
|
| 1407 |
-
st.markdown("<div style='display: flex; justify-content: flex-start;'>", unsafe_allow_html=True)
|
| 1408 |
-
if st.button("⬅️ Back to Main App", key="admin_back_btn"):
|
| 1409 |
-
st.session_state.authenticated = True # Keep admin logged in
|
| 1410 |
-
st.session_state.is_admin = False # Temporarily set to False to show main app
|
| 1411 |
-
st.rerun()
|
| 1412 |
-
st.markdown("</div>", unsafe_allow_html=True)"""
|
| 1413 |
|
| 1414 |
|
| 1415 |
st.markdown("<p class='footer-caption'>DilBot Admin Panel | Built by Members of CSG Hackathon Team</p>", unsafe_allow_html=True)
|
|
|
|
| 1403 |
|
| 1404 |
st.markdown("---")
|
| 1405 |
# Back to main app button (aligned left in a container)
|
| 1406 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1407 |
|
| 1408 |
|
| 1409 |
st.markdown("<p class='footer-caption'>DilBot Admin Panel | Built by Members of CSG Hackathon Team</p>", unsafe_allow_html=True)
|