add admin page to manage private data
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user