From 34b52954d05a5542664698286969f9bb8effa875 Mon Sep 17 00:00:00 2001 From: yangxiaodong Date: Fri, 8 Sep 2017 17:14:40 +0800 Subject: [PATCH] update pages. --- .../Dashboard/Pages/LayoutPage1.generated.cs | 2 +- .../Dashboard/Pages/PublishedPage.cshtml | 71 ++----- .../Pages/PublishedPage1.generated.cs | 195 +++++++++++++----- 3 files changed, 166 insertions(+), 102 deletions(-) diff --git a/src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs index 985e77c..ef4ce96 100644 --- a/src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs +++ b/src/DotNetCore.CAP/Dashboard/Pages/LayoutPage1.generated.cs @@ -216,7 +216,7 @@ WriteLiteral(@" #line 61 "..\..\Dashboard\Pages\LayoutPage.cshtml" - Write($"{version.Major}.{version.Minor}.{version.Build}"); + Write($"{version.Major}.{version.Minor}.{version.Build}"); #line default diff --git a/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.cshtml b/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.cshtml index cb6df96..77d84eb 100644 --- a/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.cshtml +++ b/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage.cshtml @@ -35,12 +35,12 @@ @Html.JobsSidebar(MessageType.Publish)
-

@Strings.SucceededMessagesPage_Title

+

@Strings.PublishedPage_Title

@if (succeededMessages.Count == 0) {
- @Strings.SucceededJobsPage_NoJobs + @Strings.PublishedPage_NoMessages
} else @@ -49,13 +49,13 @@
- +
- + - +
@@ -80,11 +80,10 @@ - 编号 - 名称 - 内容 - 重试次数 - 过期时间 + @Strings.MessagesPage_Table_Code + @Strings.MessagesPage_Table_Name + @Strings.MessagesPage_Table_Retries + @Strings.MessagesPage_Table_ExpiresAt @@ -92,10 +91,10 @@ { - + - @message.Id + #@message.Id @message.Name @@ -124,15 +123,15 @@
@@ -140,40 +139,4 @@
} - - - \ No newline at end of file + \ No newline at end of file diff --git a/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs b/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs index ca28edb..64b7300 100644 --- a/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs +++ b/src/DotNetCore.CAP/Dashboard/Pages/PublishedPage1.generated.cs @@ -90,7 +90,7 @@ WriteLiteral("\r\n"); Name = name, Content = content, StatusName = StatusName, - CurrentPage = pager.CurrentPage - 1, + CurrentPage = pager.CurrentPage - 1, PageSize = pager.RecordsPerPage }; var succeededMessages = monitor.Messages(queryDto); @@ -114,7 +114,7 @@ WriteLiteral("\r\n \r\n
\r\n

\r\n\r\n"); #line default #line hidden -WriteLiteral("
\r\n "); - - - - #line 43 "..\..\Dashboard\Pages\PublishedPage.cshtml" - Write(Strings.SucceededJobsPage_NoJobs); - - - #line default - #line hidden -WriteLiteral("\r\n
\r\n"); +WriteLiteral("
\r\n 没有消息\r\n \r\n"); @@ -166,10 +157,19 @@ WriteLiteral(@"
#line default #line hidden -WriteLiteral("\" placeholder=\"消息名称\" />\r\n \r\n " + -"
\r\n
\r\n" + -" \r\n \r\n
\r\n
\r\n " + +" \r\n - - +WriteLiteral("\" placeholder=\""); + + + + #line 56 "..\..\Dashboard\Pages\PublishedPage.cshtml" + Write(Strings.MessagesPage_Query_MessageBody); + + + #line default + #line hidden +WriteLiteral("\" />\r\n \r\n " + +"
@@ -240,14 +259,48 @@ WriteLiteral(@" - 名称 - 内容 - 重试次数 - 过期时间 - - - -"); + "); + + + + #line 83 "..\..\Dashboard\Pages\PublishedPage.cshtml" + Write(Strings.MessagesPage_Table_Code); + + + #line default + #line hidden +WriteLiteral("\r\n "); + + + + #line 84 "..\..\Dashboard\Pages\PublishedPage.cshtml" + Write(Strings.MessagesPage_Table_Name); + + + #line default + #line hidden +WriteLiteral("\r\n "); + + + + #line 85 "..\..\Dashboard\Pages\PublishedPage.cshtml" + Write(Strings.MessagesPage_Table_Retries); + + + #line default + #line hidden +WriteLiteral("\r\n "); + + + + #line 86 "..\..\Dashboard\Pages\PublishedPage.cshtml" + Write(Strings.MessagesPage_Table_ExpiresAt); + + + #line default + #line hidden +WriteLiteral("\r\n \r\n \r\n " + +" \r\n"); @@ -260,34 +313,45 @@ WriteLiteral(@" #line hidden WriteLiteral(" \r\n " + " \r\n \r\n \r\n " + -" \r\n "); +" \r\n \r\n \r\n " + +" \r\n "); #line 100 "..\..\Dashboard\Pages\PublishedPage.cshtml" - Write(message.Content); + Write(message.Name); #line default @@ -368,24 +432,61 @@ WriteLiteral(@"
-

Modal title

+

Message Content

-
-

One fine body…

+
- - -
-
-
-
-
-"); + \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n " + +"

\r\n \r\n"); - #line 139 "..\..\Dashboard\Pages\PublishedPage.cshtml" + #line 140 "..\..\Dashboard\Pages\PublishedPage.cshtml" }