src/ZKEACMS/AdminMenu.cs
(开头部分) 7KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
/* http://www.zkea.net/
* Copyright (c) ZKEASOFT. All rights reserved.
* http://www.zkea.net/licenses */
using System;
using System.Collections.Generic;
namespace ZKEACMS
{
public class AdminMenu
{
public string Title { get; set; }
public string Url { get; set; }
public string Icon { get; set; }
public int Order { get; set; }
public string PermissionKey { get; set; }
public Func<bool> HasPermission { get; set; }
public string Group { get; set; }
public string PluginName { get; set; }
public IEnumerable<AdminMenu> Children { get; set; }
}
public static class AdminMenus
{
public static List<AdminMenu> Menus { get; } = new List<AdminMenu>
{
new AdminMenu
{
Title = "Ddashboard",
Icon = "glyphicon-dashboard",
Url = "~/admin",
Order = 0
},
new AdminMenu
{
Title = "Layout",
Icon = "glyphicon-th-list",
Order = 1,
Children = new List<AdminMenu>
{
new AdminMenu
{
Title = "Layout List",
Url = "~/admin/layout",
Icon = "glyphicon-align-justify",
PermissionKey = PermissionKeys.ViewLayout
},
new AdminMenu
{
Title = "Layout Content",
Url = "~/admin/layout/layoutwidget",
Icon = "glyphicon-th-list",
PermissionKey = PermissionKeys.ViewLayout
}
}
},
new AdminMenu
{
Title = "Page",
Icon = "glyphicon-eye-open",
Url = "~/admin/page",
后面还有 152 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。