This commit is contained in:
2025-06-09 09:51:31 +07:00
parent 0b1518f240
commit 8f3ef44d26
3 changed files with 26 additions and 16 deletions

View File

@ -4,6 +4,7 @@
"name": "Trang Chủ", "name": "Trang Chủ",
"icon": "home", "icon": "home",
"group": 0, "group": 0,
"flexpage": true,
"url": "/", "url": "/",
"sub-item": "" "sub-item": ""
}, },
@ -17,37 +18,37 @@
{ {
"id": "2001", "id": "2001",
"name": "All Type Fonts", "name": "All Type Fonts",
"flexPage": "true", "flexpage": true,
"url": "/TypeFonts" "url": "/TypeFonts"
}, },
{ {
"id": "2002", "id": "2002",
"name": "Font Serif", "name": "Font Serif",
"flexPage": "true", "flexpage": true,
"url": "/TypeFonts/Serif" "url": "/TypeFonts/Serif"
}, },
{ {
"id": "2003", "id": "2003",
"name": "Font San-Serif", "name": "Font San-Serif",
"flexPage": "true", "flexpage": true,
"url": "/TypeFonts/San-Serif" "url": "/TypeFonts/San-Serif"
}, },
{ {
"id": "2004", "id": "2004",
"name": "Font Việt Hóa", "name": "Font Việt Hóa",
"flexPage": "true", "flexpage": true,
"url": "/TypeFonts/Viet-Hoa" "url": "/TypeFonts/Viet-Hoa"
}, },
{ {
"id": "2005", "id": "2005",
"name": "Font Vintage", "name": "Font Vintage",
"flexPage": "true", "flexpage": true,
"url": "/TypeFonts/Vintage" "url": "/TypeFonts/Vintage"
}, },
{ {
"id": "2006", "id": "2006",
"name": "Font Wibu", "name": "Font Wibu",
"flexPage": "true", "flexpage": true,
"url": "/TypeFonts/Wibu" "url": "/TypeFonts/Wibu"
} }
] ]
@ -62,13 +63,13 @@
{ {
"id": "3001", "id": "3001",
"name": "Icons", "name": "Icons",
"flexPage": "true", "flexpage": true,
"url": "/GlyphFonts/Icons" "url": "/GlyphFonts/Icons"
}, },
{ {
"id": "3002", "id": "3002",
"name": "Glyps", "name": "Glyps",
"flexPage": "true", "flexpage": true,
"url": "/GlyphFonts/Glyps" "url": "/GlyphFonts/Glyps"
} }
] ]
@ -83,13 +84,13 @@
{ {
"id": "4001", "id": "4001",
"name": "Vectors", "name": "Vectors",
"flexPage": "true", "flexpage": true,
"url": "/Images/Vectors" "url": "/Images/Vectors"
}, },
{ {
"id": "4002", "id": "4002",
"name": "Ảnh Chụp", "name": "Ảnh Chụp",
"flexPage": "true", "flexpage": true,
"url": "/Images/Photos" "url": "/Images/Photos"
} }
] ]
@ -104,13 +105,13 @@
{ {
"id": "5001", "id": "5001",
"name": "Vectors", "name": "Vectors",
"flexPage": "true", "flexpage": true,
"url": "/Images/Vectors" "url": "/Images/Vectors"
}, },
{ {
"id": "5002", "id": "5002",
"name": "Ảnh Chụp", "name": "Ảnh Chụp",
"flexPage": "true", "flexpage": true,
"url": "/Images/Photos" "url": "/Images/Photos"
} }
] ]
@ -125,13 +126,13 @@
{ {
"id": "6001", "id": "6001",
"name": "Vectors", "name": "Vectors",
"flexPage": "true", "flexpage": true,
"url": "/Images/Vectors" "url": "/Images/Vectors"
}, },
{ {
"id": "6002", "id": "6002",
"name": "Ảnh Chụp", "name": "Ảnh Chụp",
"flexPage": "true", "flexpage": true,
"url": "/Images/Photos" "url": "/Images/Photos"
} }
] ]

View File

@ -1,6 +1,7 @@
@using AppLibs.Libs @using AppLibs.Libs
@{ @{
List<NavItem> t = WSNavigation.GetListMenu(); List<NavItem> t = WSNavigation.GetListMenu();
} }
@foreach (var i in t) @foreach (var i in t)
@ -8,7 +9,7 @@
if (i.SubItem == null) if (i.SubItem == null)
{ {
<div class="nav-i"> <div class="nav-i">
<a href="@i.Url" nav-id="@i.ID" class="nav-item">@i.Name</a> <a href="@i.Url" @i.ToFlexPageAttribute() nav-id="@i.ID" class="nav-item">@i.Name</a>
</div> </div>
} }
else else
@ -18,7 +19,7 @@
<div class="sub-item"> <div class="sub-item">
@foreach (var j in i.SubItem) @foreach (var j in i.SubItem)
{ {
<div class="nav-i"><a href="@j.Url" nav-id="@j.ID" class="nav-link"><span>@j.Name</span></a></div> <div class="nav-i"><a href="@j.Url" @i.ToFlexPageAttribute() @Html.Raw(i.IsFlexPage) nav-id="@j.ID" class="nav-link"><span>@j.Name</span></a></div>
} }
</div> </div>
</div> </div>

View File

@ -66,6 +66,12 @@
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Update="Json\navlist.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup> <ItemGroup>
<None Update="Keys\app\VFApp.pfx"> <None Update="Keys\app\VFApp.pfx">
<CopyToOutputDirectory>Always</CopyToOutputDirectory> <CopyToOutputDirectory>Always</CopyToOutputDirectory>
@ -75,4 +81,6 @@
</None> </None>
</ItemGroup> </ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties json_4navlist_1json__JsonSchema="https://api.app-prg1.zerops.io/api/rest/public/settings/import-project-yml-json-schema.json" /></VisualStudio></ProjectExtensions>
</Project> </Project>