Quellcode durchsuchen

renamed files.

master
Savorboard vor 7 Jahren
Ursprung
Commit
cfb77aba03
4 geänderte Dateien mit 260 neuen und 230 gelöschten Zeilen
  1. +0
    -0
      src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs
  2. +260
    -0
      src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs
  3. +0
    -230
      src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs
  4. +0
    -0
      src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs

src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs → src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs Datei anzeigen


+ 260
- 0
src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs Datei anzeigen

@@ -0,0 +1,260 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------

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("<div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <h1 class=\"page-header\">");



#line 10 "..\..\NodePage.cshtml"
Write(Strings.NodePage_Title);


#line default
#line hidden
WriteLiteral("</h1>\r\n\r\n");



#line 12 "..\..\NodePage.cshtml"
if (Nodes == null || Nodes.Count == 0)
{


#line default
#line hidden
WriteLiteral(" <div class=\"alert alert-warning\">\r\n ");



#line 15 "..\..\NodePage.cshtml"
Write(Strings.NodePage_NoNodes);


#line default
#line hidden
WriteLiteral("\r\n </div>\r\n");



#line 17 "..\..\NodePage.cshtml"
}
else
{


#line default
#line hidden
WriteLiteral(" <div class=\"table-responsive\">\r\n <table class=\"table\">" +
"\r\n <thead>\r\n <tr>\r\n " +
" <th width=\"10%\">");



#line 24 "..\..\NodePage.cshtml"
Write(Strings.Common_Id);


#line default
#line hidden
WriteLiteral("</th>\r\n <th width=\"20%\">");



#line 25 "..\..\NodePage.cshtml"
Write(Strings.NodePage_Table_NodeName);


#line default
#line hidden
WriteLiteral("</th>\r\n <th width=\"20%\">");



#line 26 "..\..\NodePage.cshtml"
Write(Strings.NodePage_Table_IP);


#line default
#line hidden
WriteLiteral("</th>\r\n <th width=\"7%\">");



#line 27 "..\..\NodePage.cshtml"
Write(Strings.NodePage_Table_Port);


#line default
#line hidden
WriteLiteral("</th>\r\n <th>Tags</th>\r\n <th" +
" width=\"20%\">");



#line 29 "..\..\NodePage.cshtml"
Write(Strings.NodePage_Switch);


#line default
#line hidden
WriteLiteral("</th>\r\n </tr>\r\n </thead>\r\n " +
" <tbody>\r\n");



#line 33 "..\..\NodePage.cshtml"
foreach (var node in Nodes)
{


#line default
#line hidden
WriteLiteral(" <tr class=\"");



#line 35 "..\..\NodePage.cshtml"
Write(CurrentNodeId == node.Id ? "active" : null);


#line default
#line hidden
WriteLiteral("\">\r\n <td>");



#line 36 "..\..\NodePage.cshtml"
Write(node.Id);


#line default
#line hidden
WriteLiteral("</td>\r\n <td>");



#line 37 "..\..\NodePage.cshtml"
Write(node.Name);


#line default
#line hidden
WriteLiteral("</td>\r\n <td>");



#line 38 "..\..\NodePage.cshtml"
Write(node.Address);


#line default
#line hidden
WriteLiteral("</td>\r\n <td>");



#line 39 "..\..\NodePage.cshtml"
Write(node.Port);


#line default
#line hidden
WriteLiteral("</td>\r\n <td>");



#line 40 "..\..\NodePage.cshtml"
Write(node.Tags);


#line default
#line hidden
WriteLiteral("</td>\r\n <td>\r\n " +
"");



#line 42 "..\..\NodePage.cshtml"
Write(Html.NodeSwitchLink(node.Id));


#line default
#line hidden
WriteLiteral("\r\n </td>\r\n </tr>\r\n");



#line 45 "..\..\NodePage.cshtml"
}


#line default
#line hidden
WriteLiteral(" </tbody>\r\n </table>\r\n </div>\r\n");



#line 49 "..\..\NodePage.cshtml"
}


#line default
#line hidden
WriteLiteral(" </div>\r\n</div>");


}
}
}
#pragma warning restore 1591

+ 0
- 230
src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs Datei anzeigen

@@ -1,230 +0,0 @@
#pragma warning disable 1591
//------------------------------------------------------------------------------
// <auto-generated>
// 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.
// </auto-generated>
//------------------------------------------------------------------------------

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("<div class=\"row\">\r\n <div class=\"col-md-12\">\r\n <h1 class=\"page-header\">");


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

#line default
#line hidden
WriteLiteral("</h1>\r\n\r\n");


#line 17 "..\..\Dashboard\Pages\NodePage.cshtml"
if (Nodes == null || Nodes.Count == 0)
{

#line default
#line hidden
WriteLiteral(" <div class=\"alert alert-warning\">\r\n ");


#line 20 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(Strings.NodePage_NoNodes);

#line default
#line hidden
WriteLiteral("\r\n </div>\r\n");


#line 22 "..\..\Dashboard\Pages\NodePage.cshtml"
}
else
{

#line default
#line hidden
WriteLiteral(@" <div class=""table-responsive"">
<table class=""table"">
<thead>
<tr>
<th width=""10%"">编号</th>
<th width=""20%"">节点名称</th>
<th width=""20%"">IP地址</th>
<th width=""7%"">端口号</th>
<th>Tags</th>
<th width=""20%"">操作</th>
</tr>
</thead>
<tbody>
");


#line 38 "..\..\Dashboard\Pages\NodePage.cshtml"
foreach (var node in Nodes)
{

#line default
#line hidden
WriteLiteral(" <tr class=\"");


#line 40 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(CurrentNodeId == node.Id? "active":null );

#line default
#line hidden
WriteLiteral("\">\r\n <td>");


#line 41 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(node.Id);

#line default
#line hidden
WriteLiteral("</td>\r\n <td>");


#line 42 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(node.Name);

#line default
#line hidden
WriteLiteral("</td>\r\n <td>");


#line 43 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(node.Address);

#line default
#line hidden
WriteLiteral("</td>\r\n <td>");


#line 44 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(node.Port);

#line default
#line hidden
WriteLiteral("</td>\r\n <td>");


#line 45 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(node.Tags);

#line default
#line hidden
WriteLiteral("</td>\r\n <td>\r\n " +
"");


#line 47 "..\..\Dashboard\Pages\NodePage.cshtml"
Write(Html.NodeSwitchLink(node.Id));

#line default
#line hidden
WriteLiteral("\r\n </td>\r\n </tr>\r\n");


#line 50 "..\..\Dashboard\Pages\NodePage.cshtml"
}

#line default
#line hidden
WriteLiteral(" </tbody>\r\n </table>\r\n </div>\r\n");


#line 54 "..\..\Dashboard\Pages\NodePage.cshtml"
}

#line default
#line hidden
WriteLiteral(" </div>\r\n</div>");


}
}
}
#pragma warning restore 1591

src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs → src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs Datei anzeigen


Laden…
Abbrechen
Speichern