RMS.Manage.Web/Areas/Demo/Models/Data.cs
(完整代码) 5KBusing System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace RMS.Manage.Web.Areas.Demo.Models
{
public class Data
{
public IEnumerable<Navbar> navbarItems()
{
var menu = new List<Navbar>();
menu.Add(new Navbar { Id = 1, nameOption = "Dashboard", controller = "Default", action = "Index", area = "Demo", imageClass = "fa fa-dashboard fa-fw", status = true, isParent = false, parentId = 0 });
menu.Add(new Navbar { Id = 2, nameOption = "Charts", imageClass = "fa fa-bar-chart-o fa-fw", status = true, isParent = true, parentId = 0 });
menu.Add(new Navbar { Id = 3, nameOption = "Flot Charts", controller = "Charts", action = "FlotCharts", area = "Demo", status = true, isParent = false, parentId = 2 });
menu.Add(new Navbar { Id = 4, nameOption = "Morris.js Charts", controller = "Charts", area = "Demo", action = "MorrisCharts", status = true, isParent = false, parentId = 2 });
menu.Add(new Navbar { Id = 5, nameOption = "Tables", imageClass = "fa fa-table fa-fw", status = true, isParent = true, parentId = 0 });
menu.Add(new Navbar { Id = 6, nameOption = "Forms", controller = "Forms", action = "Forms", area = "Demo", imageClass = "fa fa-edit fa-fw", status = true, isParent = false, parentId = 0 });
menu.Add(new Navbar { Id = 7, nameOption = "UI Elements", imageClass = "fa fa-wrench fa-fw", status = true, isParent = true, parentId = 0 });
menu.Add(new Navbar { Id = 8, nameOption = "Panels and Wells", controller = "UIElements", action = "Panels", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 9, nameOption = "Buttons", controller = "UIElements", action = "Buttons", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 10, nameOption = "Notifications", controller = "UIElements", action = "Notifications", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 11, nameOption = "Typography", controller = "UIElements", action = "Typography", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 12, nameOption = "Icons", controller = "UIElements", action = "Icons", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 13, nameOption = "Grid", controller = "UIElements", action = "Grid", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 14, nameOption = "Multi-Level Dropdown", imageClass = "fa fa-sitemap fa-fw", status = true, isParent = true, parentId = 0 });
menu.Add(new Navbar { Id = 15, nameOption = "Second Level Item", status = true, isParent = false, parentId = 14 });
menu.Add(new Navbar { Id = 16, nameOption = "Sample Pages", imageClass = "fa fa-files-o fa-fw", status = true, isParent = true, parentId = 0 });
menu.Add(new Navbar { Id = 17, nameOption = "Blank Page", controller = "SamplePages", action = "Blank", area = "Demo", status = true, isParent = false, parentId = 16 });
menu.Add(new Navbar { Id = 18, nameOption = "Login Page", controller = "SamplePages", action = "Login", area = "Demo", status = true, isParent = false, parentId = 16 });
menu.Add(new Navbar { Id = 19, nameOption = "Editor", controller = "UIElements", action = "Editor", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 20, nameOption = "Upload", controller = "UIElements", action = "Upload", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 21, nameOption = "Datetime Picker", controller = "UIElements", action = "DatetimePicker", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 22, nameOption = "Tree View", controller = "UIElements", action = "TreeView", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 23, nameOption = "Dropdown", controller = "UIElements", action = "Dropdown", area = "Demo", status = true, isParent = false, parentId = 7 });
menu.Add(new Navbar { Id = 24, nameOption = "Tables", controller = "Tables", action = "Tables", area = "Demo", imageClass = "fa fa-table fa-fw", status = true, isParent = false, parentId = 5 });
menu.Add(new Navbar { Id = 25, nameOption = "Datatables", controller = "Tables", action = "DataTables", area = "Demo", imageClass = "fa fa-table fa-fw", status = true, isParent = false, parentId = 5 });
//menu.Add(new Navbar { Id = 26, nameOption = "BootstrapTable", controller = "Demo", action = "TableBindTest", imageClass = "fa fa-table fa-fw", status = true, isParent = false, parentId = 5 });
//menu.Add(new Navbar { Id = 27, nameOption = "GetRandom", controller = "Demo", action = "GetRandom", imageClass = "fa fa-table fa-fw", status = true, isParent = false, parentId = 7 });
return menu.ToList();
}
}
}
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。