From 6fa0619c31c489c8d16a5742247b43c639b8142c Mon Sep 17 00:00:00 2001 From: atomi <1456417373@qq.com> Date: Thu, 17 Mar 2022 22:46:59 +0800 Subject: [PATCH] v0.0.19 --- fastapi_amis_admin/__init__.py | 2 +- fastapi_amis_admin/amis_admin/site.py | 6 +++--- pyproject.toml | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/fastapi_amis_admin/__init__.py b/fastapi_amis_admin/__init__.py index 4638b472..99e11ce2 100644 --- a/fastapi_amis_admin/__init__.py +++ b/fastapi_amis_admin/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.0.18" +__version__ = "0.0.19" __url__ = "https://github.com/amisadmin/fastapi_amis_admin" diff --git a/fastapi_amis_admin/amis_admin/site.py b/fastapi_amis_admin/amis_admin/site.py index bbfae8d0..6632d8c4 100644 --- a/fastapi_amis_admin/amis_admin/site.py +++ b/fastapi_amis_admin/amis_admin/site.py @@ -18,7 +18,7 @@ class DocsAdmin(IframeAdmin): - group_schema = PageSchema(label='APIDocs', sort=-100) + group_schema = PageSchema(label='APIDocs', icon='fa fa-book', sort=-100) page_schema = PageSchema(label='AdminDocs', icon='fa fa-book') @property @@ -27,7 +27,7 @@ def src(self): class ReDocsAdmin(IframeAdmin): - group_schema = PageSchema(label='APIDocs', sort=-100) + group_schema = PageSchema(label='APIDocs', icon='fa fa-book', sort=-100) page_schema = PageSchema(label='AdminRedocs', icon='fa fa-book') @property @@ -37,7 +37,7 @@ def src(self): class HomeAdmin(PageAdmin): group_schema = None - page_schema = PageSchema(label='Home', icon='fa fa-home', url='/home', isDefaultPage=True,sort=100) + page_schema = PageSchema(label='Home', icon='fa fa-home', url='/home', isDefaultPage=True, sort=100) page_path = '/home/amis.json' async def get_page(self, request: Request) -> Page: diff --git a/pyproject.toml b/pyproject.toml index 8522e5d4..c248e647 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,6 +47,7 @@ dependencies = [ [project.urls] Documentation = "http://docs.amis.work/" Source = "https://github.com/amisadmin/fastapi_amis_admin" +FastAPI-User-Auth = "https://github.com/amisadmin/fastapi_user_auth" [project.optional-dependencies] test = [