feat: 菜单图标改用本地SVG文件替代Font Awesome
@ -13,21 +13,21 @@
|
|||||||
{
|
{
|
||||||
"name": "model_plaza",
|
"name": "model_plaza",
|
||||||
"label": "模型广场",
|
"label": "模型广场",
|
||||||
"icon": "fa fa-cubes",
|
"icon": "{{entire_url('/imgs/cubes.svg')}}",
|
||||||
"url": "{{entire_url('/llmage/model_plaza.ui')}}",
|
"url": "{{entire_url('/llmage/model_plaza.ui')}}",
|
||||||
"target": "app.sage_main_content"
|
"target": "app.sage_main_content"
|
||||||
}
|
}
|
||||||
,{
|
,{
|
||||||
"name": "reallife_asset",
|
"name": "reallife_asset",
|
||||||
"label": "真人素材",
|
"label": "真人素材",
|
||||||
"icon": "fa fa-user-circle",
|
"icon": "{{entire_url('/imgs/user-circle.svg')}}",
|
||||||
"url": "{{entire_url('/reallife_asset/index.ui')}}",
|
"url": "{{entire_url('/reallife_asset/index.ui')}}",
|
||||||
"target": "app.sage_main_content"
|
"target": "app.sage_main_content"
|
||||||
}
|
}
|
||||||
,{
|
,{
|
||||||
"name": "llm_api",
|
"name": "llm_api",
|
||||||
"label": "大模型API调用",
|
"label": "大模型API调用",
|
||||||
"icon": "fa fa-rocket",
|
"icon": "{{entire_url('/imgs/rocket.svg')}}",
|
||||||
"url": "{{entire_url('/dashboard_for_sage/api_doc.ui')}}",
|
"url": "{{entire_url('/dashboard_for_sage/api_doc.ui')}}",
|
||||||
"target": "app.sage_main_content"
|
"target": "app.sage_main_content"
|
||||||
}
|
}
|
||||||
@ -35,21 +35,21 @@
|
|||||||
,{
|
,{
|
||||||
"name": "users",
|
"name": "users",
|
||||||
"label": "用户管理",
|
"label": "用户管理",
|
||||||
"icon": "fa fa-users",
|
"icon": "{{entire_url('/imgs/users.svg')}}",
|
||||||
"url": "{{entire_url('/rbac/users')}}",
|
"url": "{{entire_url('/rbac/users')}}",
|
||||||
"target": "app.sage_main_content"
|
"target": "app.sage_main_content"
|
||||||
}
|
}
|
||||||
,{
|
,{
|
||||||
"name": "apikey_manage",
|
"name": "apikey_manage",
|
||||||
"label": "API Key管理",
|
"label": "API Key管理",
|
||||||
"icon": "fa fa-key",
|
"icon": "{{entire_url('/imgs/key.svg')}}",
|
||||||
"url": "{{entire_url('/uapi/upappkey/index.ui')}}",
|
"url": "{{entire_url('/uapi/upappkey/index.ui')}}",
|
||||||
"target": "app.sage_main_content"
|
"target": "app.sage_main_content"
|
||||||
}
|
}
|
||||||
,{
|
,{
|
||||||
"name": "accounting_center",
|
"name": "accounting_center",
|
||||||
"label": "账务中心",
|
"label": "账务中心",
|
||||||
"icon": "fa fa-coins",
|
"icon": "{{entire_url('/imgs/coins.svg')}}",
|
||||||
"items": [
|
"items": [
|
||||||
{
|
{
|
||||||
"name": "my_accounts",
|
"name": "my_accounts",
|
||||||
@ -76,7 +76,7 @@
|
|||||||
{
|
{
|
||||||
"name": "dashboard",
|
"name": "dashboard",
|
||||||
"label": "仪表盘",
|
"label": "仪表盘",
|
||||||
"icon": "fa fa-dashboard",
|
"icon": "{{entire_url('/imgs/dashboard.svg')}}",
|
||||||
"url": "{{entire_url('/dashboard_for_sage/index.ui')}}",
|
"url": "{{entire_url('/dashboard_for_sage/index.ui')}}",
|
||||||
"target": "app.sage_main_content"
|
"target": "app.sage_main_content"
|
||||||
}
|
}
|
||||||
|
|||||||
5
wwwroot/imgs/coins.svg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<circle cx="12" cy="12" r="8"/>
|
||||||
|
<circle cx="12" cy="12" r="3"/>
|
||||||
|
<path d="M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 316 B |
3
wwwroot/imgs/cubes.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
||||||
|
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 158 B |
6
wwwroot/imgs/dashboard.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<rect x="3" y="3" width="18" height="18" rx="2"/>
|
||||||
|
<path d="M3 9h18M9 21V9"/>
|
||||||
|
<circle cx="15" cy="15" r="2"/>
|
||||||
|
<path d="M15 13v4M13 15h4"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 265 B |
3
wwwroot/imgs/key.svg
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<path d="M21 2l-2 2m-7.61 7.61a5.5 5.5 0 11-7.778 7.778 5.5 5.5 0 017.777-7.777zm0 0L15.5 7.5m0 0l3 3L22 7l-3-3m-3.5 3.5L19 4"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 250 B |
6
wwwroot/imgs/rocket.svg
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<path d="M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 00-2.91-.09z"/>
|
||||||
|
<path d="M12 15l-3-3a22 22 0 012-3.95A12.88 12.88 0 0122 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 01-4 2z"/>
|
||||||
|
<path d="M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0"/>
|
||||||
|
<path d="M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 435 B |
5
wwwroot/imgs/user-circle.svg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<circle cx="12" cy="12" r="10"/>
|
||||||
|
<circle cx="12" cy="10" r="3"/>
|
||||||
|
<path d="M7 20.662V19a2 2 0 012-2h6a2 2 0 012 2v1.662"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 247 B |
5
wwwroot/imgs/users.svg
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
|
||||||
|
<path d="M17 21v-2a4 4 0 00-4-4H5a4 4 0 00-4 4v2"/>
|
||||||
|
<circle cx="9" cy="7" r="4"/>
|
||||||
|
<path d="M23 21v-2a4 4 0 00-3-3.87M16 3.13a4 4 0 010 7.75"/>
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 268 B |