From cfb77aba03d3fc6c12d8498f73213b14df3be56a Mon Sep 17 00:00:00 2001 From: Savorboard Date: Thu, 5 Oct 2017 22:13:08 +0800 Subject: [PATCH] renamed files. --- ...1.generated.cs => LayoutPage.generated.cs} | 0 .../Dashboard/Pages/NodePage.generated.cs | 260 ++++++++++++++++++ .../Dashboard/Pages/NodePage1.generated.cs | 230 ---------------- ...enerated.cs => PublishedPage.generated.cs} | 0 4 files changed, 260 insertions(+), 230 deletions(-) rename src/DotNetCore.CAP/Dashboard/Pages/{LayoutPage1.generated.cs => LayoutPage.generated.cs} (100%) create mode 100644 src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs delete mode 100644 src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs rename src/DotNetCore.CAP/Dashboard/Pages/{PublishedPage1.generated.cs => PublishedPage.generated.cs} (100%) diff --git a/src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs similarity index 100% rename from src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs rename to src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs diff --git a/src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs new file mode 100644 index 0000000..bbd85bc --- /dev/null +++ b/src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs @@ -0,0 +1,260 @@ +#pragma warning disable 1591 +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace DotNetCore.CAP.Dashboard.Pages +{ + using System; + using System.Collections.Generic; + using System.Linq; + using System.Text; + +#line 2 "..\..\NodePage.cshtml" + using DotNetCore.CAP.Dashboard.Pages; + +#line default +#line hidden + +#line 3 "..\..\NodePage.cshtml" + using DotNetCore.CAP.Dashboard.Resources; + +#line default +#line hidden + + [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")] + internal partial class NodePage : DotNetCore.CAP.Dashboard.RazorPage + { +#line hidden + + public override void Execute() + { + + + WriteLiteral("\r\n"); + + + + + + +#line 5 "..\..\NodePage.cshtml" + + Layout = new LayoutPage(Strings.NodePage_Title); + + + +#line default +#line hidden + WriteLiteral("
\r\n
\r\n

"); + + + +#line 10 "..\..\NodePage.cshtml" + Write(Strings.NodePage_Title); + + +#line default +#line hidden + WriteLiteral("

\r\n\r\n"); + + + +#line 12 "..\..\NodePage.cshtml" + if (Nodes == null || Nodes.Count == 0) + { + + +#line default +#line hidden + WriteLiteral("
\r\n "); + + + +#line 15 "..\..\NodePage.cshtml" + Write(Strings.NodePage_NoNodes); + + +#line default +#line hidden + WriteLiteral("\r\n
\r\n"); + + + +#line 17 "..\..\NodePage.cshtml" + } + else + { + + +#line default +#line hidden + WriteLiteral("
\r\n " + + "\r\n \r\n \r\n " + + " \r\n \r\n \r\n \r\n \r\n "); + + + +#line 29 "..\..\NodePage.cshtml" + Write(Strings.NodePage_Switch); + + +#line default +#line hidden + WriteLiteral("\r\n \r\n \r\n " + + " \r\n"); + + + +#line 33 "..\..\NodePage.cshtml" + foreach (var node in Nodes) + { + + +#line default +#line hidden + WriteLiteral(" \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"); + + + +#line 45 "..\..\NodePage.cshtml" + } + + +#line default +#line hidden + WriteLiteral(" \r\n
"); + + + +#line 24 "..\..\NodePage.cshtml" + Write(Strings.Common_Id); + + +#line default +#line hidden + WriteLiteral(""); + + + +#line 25 "..\..\NodePage.cshtml" + Write(Strings.NodePage_Table_NodeName); + + +#line default +#line hidden + WriteLiteral(""); + + + +#line 26 "..\..\NodePage.cshtml" + Write(Strings.NodePage_Table_IP); + + +#line default +#line hidden + WriteLiteral(""); + + + +#line 27 "..\..\NodePage.cshtml" + Write(Strings.NodePage_Table_Port); + + +#line default +#line hidden + WriteLiteral("Tags
\r\n
\r\n"); + + + +#line 49 "..\..\NodePage.cshtml" + } + + +#line default +#line hidden + WriteLiteral("
\r\n
"); + + + } + } +} +#pragma warning restore 1591 diff --git a/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs deleted file mode 100644 index e968fd9..0000000 --- a/src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs +++ /dev/null @@ -1,230 +0,0 @@ -#pragma warning disable 1591 -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// Runtime Version:4.0.30319.42000 -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace DotNetCore.CAP.Dashboard.Pages -{ - using System; - using System.Collections.Generic; - using System.Linq; - using System.Text; - - #line 2 "..\..\Dashboard\Pages\NodePage.cshtml" - using DotNetCore.CAP.Dashboard; - - #line default - #line hidden - - #line 3 "..\..\Dashboard\Pages\NodePage.cshtml" - using DotNetCore.CAP.Dashboard.Pages; - - #line default - #line hidden - - #line 4 "..\..\Dashboard\Pages\NodePage.cshtml" - using DotNetCore.CAP.Dashboard.Resources; - - #line default - #line hidden - - [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")] - internal partial class NodePage : RazorPage - { -#line hidden - - public override void Execute() - { - - -WriteLiteral("\r\n"); - - - - - - - - #line 6 "..\..\Dashboard\Pages\NodePage.cshtml" - - Layout = new LayoutPage(Strings.NodePage_Title); - //if (CurrentNodeId != null) - //{ - // Session.Set("cap_current_node",System.Text.Encoding.Default.GetBytes(CurrentNodeId)); - //} - - - - #line default - #line hidden -WriteLiteral("
\r\n
\r\n

"); - - - - #line 15 "..\..\Dashboard\Pages\NodePage.cshtml" - Write(Strings.NodePage_Title); - - - #line default - #line hidden -WriteLiteral("

\r\n\r\n"); - - - - #line 17 "..\..\Dashboard\Pages\NodePage.cshtml" - if (Nodes == null || Nodes.Count == 0) - { - - - #line default - #line hidden -WriteLiteral("
\r\n "); - - - - #line 20 "..\..\Dashboard\Pages\NodePage.cshtml" - Write(Strings.NodePage_NoNodes); - - - #line default - #line hidden -WriteLiteral("\r\n
\r\n"); - - - - #line 22 "..\..\Dashboard\Pages\NodePage.cshtml" - } - else - { - - - #line default - #line hidden -WriteLiteral(@"
- - - - - - - - - - - - -"); - - - - #line 38 "..\..\Dashboard\Pages\NodePage.cshtml" - foreach (var node in Nodes) - { - - - #line default - #line hidden -WriteLiteral(" \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n"); - - - - #line 50 "..\..\Dashboard\Pages\NodePage.cshtml" - } - - - #line default - #line hidden -WriteLiteral(" \r\n
编号节点名称IP地址端口号Tags操作
\r\n
\r\n"); - - - - #line 54 "..\..\Dashboard\Pages\NodePage.cshtml" - } - - - #line default - #line hidden -WriteLiteral("
\r\n
"); - - - } - } -} -#pragma warning restore 1591 diff --git a/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs similarity index 100% rename from src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs rename to src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs