Skip to content

Commit

Permalink
Merge pull request #862 from longguikeji/feature-274
Browse files Browse the repository at this point in the history
feat: 🎸 add router icon
  • Loading branch information
longgui-penglei authored May 24, 2022
2 parents 4bc8ea3 + 9a054ff commit 7651573
Show file tree
Hide file tree
Showing 52 changed files with 61 additions and 12 deletions.
1 change: 1 addition & 0 deletions api/v1/pages/app_manage/app_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
path=tag,
name=name,
page=page,
icon='app',
)

page.create_actions(
Expand Down
2 changes: 1 addition & 1 deletion api/v1/pages/app_manage/app_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
router = routers.FrontRouter(
path=tag,
name=name,
icon='app',
icon='list',
page=page,
)

Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/app_manage/app_protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
path=tag,
name=name,
page=page,
icon='protocal',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/approve_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='approve_manage',
name='审批管理',
icon='approve',
children=[
approve_action.router,
all_approve_requests.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/approve_manage/all_approve_requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
path=tag,
name=name,
page=page,
icon='request',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/approve_manage/approve_action.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='action',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/auth_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
router = routers.FrontRouter(
path='auth',
name='认证管理',
icon='auth',
children=[
auth_factor.router,
third_auth.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/auth_manage/auth_factor.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='factor',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/auth_manage/auth_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='rule',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/auth_manage/auto_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='auto',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/auth_manage/third_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='third',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/charts_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='charts',
name='图表分析',
icon='charts',
children=[
charts.router,
bi_systems.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/charts_manage/bi_systems.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='bi',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/charts_manage/charts.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@
path=tag,
name=name,
page=page,
icon='charts',
)
1 change: 1 addition & 0 deletions api/v1/pages/data_source_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='data_source',
name='身份数据源',
icon='source',
children=[
scim_sync.router,
permission_sync.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/data_source_manage/permission_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='sync',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/data_source_manage/scim_sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='scim',
)

page.create_actions(
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/desktop/app_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='app',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/developer_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='developer',
name='扩展能力',
icon='developer',
children=[
webhook.router,
event_list.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/developer_manage/event_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
path=tag,
name=name,
page=page,
icon='list',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/developer_manage/webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
path=tag,
name=name,
page=page,
icon='webhook',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/log_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='log_manage',
name=_('日志管理'),
icon='log',
children=[
log_config.router,
manager_log.router,
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/log_manage/log_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='settings',
)

page.create_actions(
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/log_manage/manager_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='list',
)

page.create_actions(
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/log_manage/user_log.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='list',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/mine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='mine',
name=_('我的'),
icon='mine',
children=[
profile.router,
auth_manage.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/mine/auth_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@
router = routers.FrontRouter(
path=tag,
name=name,
icon='auth',
)
1 change: 1 addition & 0 deletions api/v1/pages/mine/logout.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
router = routers.FrontRouter(
path=tag,
name=name,
icon='logout',
url='/api/v1/mine/logout/'
)
1 change: 1 addition & 0 deletions api/v1/pages/mine/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
path=tag,
name=name,
page=page,
icon='profile',
)

page.add_pages([
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/mine/switch_tenant.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='switch',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/permission_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='permission_manage',
name=_('权限管理'),
icon='list',
children=[
permission_list.router,
permission_group.router,
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/permission_manage/grant_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
router = routers.FrontRouter(
path='grant_manage',
name=_('授权管理'),
page=page
page=page,
icon='grant',
)
1 change: 1 addition & 0 deletions api/v1/pages/permission_manage/grant_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='rule',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/permission_manage/permission_group.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
path=tag,
name=name,
page=page,
icon='group',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/permission_manage/permission_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='list',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/platform_admin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='platform_admin',
name=_('平台管理'),
icon='platform',
children=[
extension_admin.router,
language_admin.router,
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/platform_admin/extension_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
path=tag,
name=name,
page=page,
icon='extension',
)

page.add_pages([
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/platform_admin/language_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='language',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/platform_admin/platform_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
path=tag,
name=name,
page=page,
icon='settings',
)

pages.register_front_pages(page)
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/platform_admin/tenant_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='list',
)


Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/tenant_manage/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
router = routers.FrontRouter(
path='tenant_manage',
name=_('租户管理'),
icon='tenant',
children=[
tenant_config.router,
child_manager.router,
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/tenant_manage/center_arkid.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='center',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/tenant_manage/child_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='child',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/tenant_manage/extension_manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
path=tag,
name=name,
page=page,
icon='list',
)

platform_extension_page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/tenant_manage/front_theme.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
path=tag,
name=name,
page=page,
icon='theme',
)

page.create_actions(
Expand Down
3 changes: 2 additions & 1 deletion api/v1/pages/tenant_manage/tenant_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
router = routers.FrontRouter(
path=tag,
name=name,
page=page
page=page,
icon='settings',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/user_manage/account_life.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
path=tag,
name=name,
page=page,
icon='life',
)

page.create_actions(
Expand Down
1 change: 1 addition & 0 deletions api/v1/pages/user_manage/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
path=tag,
name=name,
page=page,
icon='device',
)

page.create_actions(
Expand Down
Loading

0 comments on commit 7651573

Please sign in to comment.