Skip to content

Commit

Permalink
调整大菜单顺序
Browse files Browse the repository at this point in the history
  • Loading branch information
nnhy committed Apr 7, 2024
1 parent 17e908d commit ca02c73
Show file tree
Hide file tree
Showing 7 changed files with 48 additions and 56 deletions.
17 changes: 8 additions & 9 deletions Stardust.Web/Areas/Configs/ConfigsArea.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Configs
namespace Stardust.Web.Areas.Configs;

[DisplayName("配置中心")]
[Menu(666, true, LastUpdate = "20240407")]
public class ConfigsArea : AreaBase
{
[DisplayName("配置中心")]
public class ConfigsArea : AreaBase
{
public ConfigsArea() : base(nameof(ConfigsArea).TrimEnd("Area")) { }
public ConfigsArea() : base(nameof(ConfigsArea).TrimEnd("Area")) { }

static ConfigsArea() => RegisterArea<ConfigsArea>();
}
static ConfigsArea() => RegisterArea<ConfigsArea>();
}
17 changes: 8 additions & 9 deletions Stardust.Web/Areas/Deployment/DeploymentArea.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Deployment
namespace Stardust.Web.Areas.Deployment;

[DisplayName("发布中心")]
[Menu(555, true, LastUpdate = "20240407")]
public class DeploymentArea : AreaBase
{
[DisplayName("发布中心")]
public class DeploymentArea : AreaBase
{
public DeploymentArea() : base(nameof(DeploymentArea).TrimEnd("Area")) { }
public DeploymentArea() : base(nameof(DeploymentArea).TrimEnd("Area")) { }

static DeploymentArea() => RegisterArea<DeploymentArea>();
}
static DeploymentArea() => RegisterArea<DeploymentArea>();
}
17 changes: 8 additions & 9 deletions Stardust.Web/Areas/Monitors/MonitorsArea.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Monitors
namespace Stardust.Web.Areas.Monitors;

[DisplayName("监控中心")]
[Menu(444, true, LastUpdate = "20240407")]
public class MonitorsArea : AreaBase
{
[DisplayName("监控中心")]
public class MonitorsArea : AreaBase
{
public MonitorsArea() : base(nameof(MonitorsArea).TrimEnd("Area")) { }
public MonitorsArea() : base(nameof(MonitorsArea).TrimEnd("Area")) { }

static MonitorsArea() => RegisterArea<MonitorsArea>();
}
static MonitorsArea() => RegisterArea<MonitorsArea>();
}
18 changes: 8 additions & 10 deletions Stardust.Web/Areas/Nodes/NodesArea.cs
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Nodes
namespace Stardust.Web.Areas.Nodes;

[DisplayName("节点管理")]
[Menu(888, true, LastUpdate = "20240407")]
public class NodesArea : AreaBase
{
[DisplayName("节点管理")]
[Menu(888, true)]
public class NodesArea : AreaBase
{
public NodesArea() : base(nameof(NodesArea).TrimEnd("Area")) { }
public NodesArea() : base(nameof(NodesArea).TrimEnd("Area")) { }

static NodesArea() => RegisterArea<NodesArea>();
}
static NodesArea() => RegisterArea<NodesArea>();
}
13 changes: 6 additions & 7 deletions Stardust.Web/Areas/Platform/PlatformArea.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,11 @@
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Platform
namespace Stardust.Web.Areas.Platform;

[DisplayName("平台管理")]
[Menu(999, true, LastUpdate = "20240407")]
public class PlatformArea : AreaBase
{
[DisplayName("平台管理")]
[Menu(999, true)]
public class PlatformArea : AreaBase
{
public PlatformArea() : base(nameof(PlatformArea).TrimEnd("Area")) { }
}
public PlatformArea() : base(nameof(PlatformArea).TrimEnd("Area")) { }
}
17 changes: 8 additions & 9 deletions Stardust.Web/Areas/Redis/RedisArea.cs
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Redis
namespace Stardust.Web.Areas.Redis;

[DisplayName("Redis管理")]
[Menu(887, true, LastUpdate = "20240407")]
public class RedisArea : AreaBase
{
[DisplayName("Redis管理")]
public class RedisArea : AreaBase
{
public RedisArea() : base(nameof(RedisArea).TrimEnd("Area")) { }
public RedisArea() : base(nameof(RedisArea).TrimEnd("Area")) { }

static RedisArea() => RegisterArea<RedisArea>();
}
static RedisArea() => RegisterArea<RedisArea>();
}
5 changes: 2 additions & 3 deletions Stardust.Web/Areas/Registry/RegistryArea.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using System;
using System.ComponentModel;
using System.ComponentModel;
using NewLife;
using NewLife.Cube;

namespace Stardust.Web.Areas.Registry;

[DisplayName("注册中心")]
[Menu(777, true)]
[Menu(777, true, LastUpdate = "20240407")]
public class RegistryArea : AreaBase
{
public RegistryArea() : base(nameof(RegistryArea).TrimEnd("Area")) { }
Expand Down

0 comments on commit ca02c73

Please sign in to comment.