add more site config

This commit is contained in:
long2ice
2020-04-26 23:15:23 +08:00
parent 49c7bc0df0
commit dffd81f8fa
21 changed files with 342 additions and 188 deletions

View File

@ -61,6 +61,8 @@ def create_app():
site=Site(
name='FastAPI-admin Demo',
logo='https://github.com/long2ice/fastapi-admin/raw/master/front/static/img/logo.png',
login_footer='FASTAPI ADMIN - FastAPI Admin Dashboard',
login_description='FastAPI Admin Dashboard',
locale='en-US',
locale_switcher=True,
menus=[
@ -86,8 +88,8 @@ def create_app():
{
'value': 'delete',
'text': 'delete_all',
}
, {
},
{
'value': 'test_bulk',
'text': 'TestBulk'
}