From 4910ef217901c54cb7703f57b0cce0fca02a76ed Mon Sep 17 00:00:00 2001 From: samatstarion Date: Fri, 13 Dec 2024 13:00:18 +0100 Subject: [PATCH] [Reorder] menu items; fixes #736 --- COMETwebapp/Model/Applications.cs | 84 +++++++++++++++---------------- 1 file changed, 42 insertions(+), 42 deletions(-) diff --git a/COMETwebapp/Model/Applications.cs b/COMETwebapp/Model/Applications.cs index 92528984..b17029b7 100644 --- a/COMETwebapp/Model/Applications.cs +++ b/COMETwebapp/Model/Applications.cs @@ -73,16 +73,6 @@ private static List InitializesApplications() ComponentType = typeof(ModelDashboardBody) }, - new TabbedApplication - { - Name = "Parameter Editor", - Color = "#76b8fc", - IconType = typeof(FeatherLayout), - Description = "Table of element usages with their associated parameters.", - Url = WebAppConstantValues.ParameterEditorPage, - ComponentType = typeof(ParameterEditorBody) - }, - new TabbedApplication { Name = "Subscription Dashboard", @@ -93,6 +83,36 @@ private static List InitializesApplications() ComponentType = typeof(SubscriptionDashboardBody) }, + new Application + { + Name = "Requirement Management", + Color = "#fda966", + Icon = "link-intact", + Description = $"Edit requirements in the model.{Environment.NewLine}Under Development", + IsDisabled = true, + Url = WebAppConstantValues.RequirementManagementPage + }, + + new TabbedApplication + { + Name = "Model Editor", + Color = "#76fd98", + IconType = typeof(FeatherBox), + Description = "Populate model", + Url = WebAppConstantValues.ModelEditorPage, + ComponentType = typeof(ElementDefinitionTable) + }, + + new TabbedApplication + { + Name = "Parameter Editor", + Color = "#76b8fc", + IconType = typeof(FeatherLayout), + Description = "Table of element usages with their associated parameters.", + Url = WebAppConstantValues.ParameterEditorPage, + ComponentType = typeof(ParameterEditorBody) + }, + new TabbedApplication { Name = "System Representation", @@ -103,14 +123,14 @@ private static List InitializesApplications() ComponentType = typeof(SystemRepresentationBody) }, - new Application + new TabbedApplication { - Name = "Requirement Management", - Color = "#fda966", - Icon = "link-intact", - Description = $"Edit requirements in the model.{Environment.NewLine}Under Development", - IsDisabled = true, - Url = WebAppConstantValues.RequirementManagementPage + Name = "3D Viewer", + Color = "#76fd98", + IconType = typeof(FeatherPackage), + Description = "Show 3D Viewer", + Url = WebAppConstantValues.ViewerPage, + ComponentType = typeof(ViewerBody) }, new Application @@ -125,12 +145,12 @@ private static List InitializesApplications() new TabbedApplication { - Name = "3D Viewer", + Name = "Book Editor", Color = "#76fd98", - IconType = typeof(FeatherPackage), - Description = "Show 3D Viewer", - Url = WebAppConstantValues.ViewerPage, - ComponentType = typeof(ViewerBody) + IconType = typeof(FeatherBook), + Description = "Manage books", + Url = WebAppConstantValues.BookEditorPage, + ComponentType = typeof(BookEditorBody) }, new TabbedApplication @@ -143,26 +163,6 @@ private static List InitializesApplications() ComponentType = typeof(EngineeringModelBody) }, - new TabbedApplication - { - Name = "Model Editor", - Color = "#76fd98", - IconType = typeof(FeatherBox), - Description = "Populate model", - Url = WebAppConstantValues.ModelEditorPage, - ComponentType = typeof(ElementDefinitionTable) - }, - - new TabbedApplication - { - Name = "Book Editor", - Color = "#76fd98", - IconType = typeof(FeatherBook), - Description = "Manage books", - Url = WebAppConstantValues.BookEditorPage, - ComponentType = typeof(BookEditorBody) - }, - new TabbedApplication { Name = "Reference Data",