Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
CAP
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
CAP
Commits
cfb77aba
Commit
cfb77aba
authored
Oct 05, 2017
by
Savorboard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed files.
parent
66fe01c8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
260 additions
and
230 deletions
+260
-230
LayoutPage.generated.cs
src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs
+0
-0
NodePage.generated.cs
src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs
+260
-0
NodePage1.generated.cs
src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs
+0
-230
PublishedPage.generated.cs
...DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs
+0
-0
No files found.
src/DotNetCore.CAP/Dashboard/Pages/LayoutPage
1
.generated.cs
→
src/DotNetCore.CAP/Dashboard/Pages/LayoutPage.generated.cs
View file @
cfb77aba
File moved
src/DotNetCore.CAP/Dashboard/Pages/NodePage.generated.cs
0 → 100644
View file @
cfb77aba
#
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
src/DotNetCore.CAP/Dashboard/Pages/NodePage1.generated.cs
deleted
100644 → 0
View file @
66fe01c8
#
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/PublishedPage
1
.generated.cs
→
src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.generated.cs
View file @
cfb77aba
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment