add admin page to manage private data

This commit is contained in:
Carl Zhang
2025-10-13 23:50:53 -05:00
parent c4066ed15e
commit 421d263b6b
9 changed files with 289 additions and 3 deletions

View File

@@ -2,9 +2,13 @@ import streamlit as st
import streamlit_antd_components as sac
from .buffteks_authenticator import load_authenticator
# This doc is used to set up the navigation bar
# basic structure is:
def navigation_bar():
# start page is the homepage
page_label = "Homepage"
@@ -44,6 +48,9 @@ def navigation_bar():
sac.MenuItem(type='divider'),
sac.MenuItem("Reference", icon='paperclip'),
sac.MenuItem(type='divider'),
sac.MenuItem("Admin", icon='lock'),
], open_all=True)