File tree 15 files changed +20
-53
lines changed
15 files changed +20
-53
lines changed Original file line number Diff line number Diff line change 1
1
@model ZKEACMS .Account .ForgottenViewModel
2
2
@{
3
3
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
4
- Layout = Layouts .NormalDefault ;
4
+ Layout = Layouts .EmptyLayout ;
5
+ Style .Reqiured (" bootStrap" ).AtHead ();
5
6
Style .Reqiured (" Customer" ).AtHead ();
6
7
Script .Reqiured (" validate" ).AtFoot ();
7
8
}
Original file line number Diff line number Diff line change 1
1
@model ZKEACMS .Common .ViewModels .AdminSignViewModel
2
2
@{
3
3
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
4
- Layout = Layouts .NormalDefault ;
4
+ Layout = Layouts .EmptyLayout ;
5
+ Style .Reqiured (" bootStrap" ).AtHead ();
5
6
Style .Reqiured (" Login" ).AtHead ();
6
7
Script .Reqiured (" validate" ).AtFoot ();
7
8
}
Original file line number Diff line number Diff line change 1
1
@model ZKEACMS .Account .ResetViewModel
2
2
@{
3
3
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
4
- Layout = Layouts .NormalDefault ;
4
+ Layout = Layouts .EmptyLayout ;
5
+ Style .Reqiured (" bootStrap" ).AtHead ();
5
6
Style .Reqiured (" Customer" ).AtHead ();
6
7
Script .Reqiured (" validate" ).AtFoot ();
7
8
}
Original file line number Diff line number Diff line change 1
1
@{
2
2
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
3
- Layout = Layouts .NormalDefault ;
3
+ Layout = Layouts .EmptyLayout ;
4
+ Style .Reqiured (" bootStrap" ).AtHead ();
4
5
Style .Reqiured (" Customer" ).AtHead ();
5
6
Script .Reqiured (" validate" ).AtFoot ();
6
7
string link = " ~/" ;
Original file line number Diff line number Diff line change 1
1
@model ZKEACMS .Common .ViewModels .CustomerSignInViewModel
2
2
@{
3
3
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
4
- Layout = Layouts .NormalDefault ;
4
+ Layout = Layouts .EmptyLayout ;
5
+ Style .Reqiured (" bootStrap" ).AtHead ();
5
6
Style .Reqiured (" Customer" ).AtHead ();
6
7
Script .Reqiured (" validate" ).AtFoot ();
7
8
var returnUrl = ViewBag .ReturnUrl ?? ViewContext .HttpContext .Request .Query [" ReturnUrl" ];
Original file line number Diff line number Diff line change 1
1
@model Easy .Modules .User .Models .UserEntity
2
2
@{
3
3
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
4
- Layout = Layouts .NormalDefault ;
4
+ Layout = Layouts .EmptyLayout ;
5
+ Style .Reqiured (" bootStrap" ).AtHead ();
5
6
Style .Reqiured (" Customer" ).AtHead ();
6
7
Script .Reqiured (" validate" ).AtFoot ();
7
8
var returnUrl = ViewBag .ReturnUrl ?? ViewContext .HttpContext .Request .Query [" ReturnUrl" ];
Original file line number Diff line number Diff line change 1
1
@{
2
2
this .WorkContext ().CurrentPage .Title = ZKEACMS .Version .CurrentVersion + " " + ZKEACMS .Version .Rank ;
3
- Layout = Layouts .NormalDefault ;
3
+ Layout = Layouts .EmptyLayout ;
4
+ Style .Reqiured (" bootStrap" ).AtHead ();
4
5
Style .Reqiured (" Customer" ).AtHead ();
5
6
Script .Reqiured (" validate" ).AtFoot ();
6
7
}
Original file line number Diff line number Diff line change 1
1
@{
2
2
this .WorkContext ().CurrentPage .Title = System .Net .HttpStatusCode .Forbidden .ToString ();
3
- Layout = Layouts .Generic ;
3
+ Layout = Layouts .EmptyLayout ;
4
4
}
5
5
<div style =" text-align : center ; height : 100vh ; display : flex ; flex-direction : column ; justify-content : center ; align-items : center ;" >
6
6
<img src =" ~/images/error.png" />
Original file line number Diff line number Diff line change 1
1
@{
2
2
this .WorkContext ().CurrentPage .Title = ViewContext .HttpContext .Response .StatusCode .ToString ();
3
- Layout = Layouts .Generic ;
3
+ Layout = Layouts .EmptyLayout ;
4
4
}
5
5
<div style =" text-align : center ; height : 100vh ; display : flex ; flex-direction : column ; justify-content : center ; align-items : center ;" >
6
6
<img src =" ~/images/error.png" />
Original file line number Diff line number Diff line change 1
1
@{
2
2
this .WorkContext ().CurrentPage .Title = System .Net .HttpStatusCode .NotFound .ToString ();
3
- Layout = Layouts .Generic ;
3
+ Layout = Layouts .EmptyLayout ;
4
4
}
5
5
<div style =" text-align : center ; height : 100vh ; display : flex ; flex-direction : column ; justify-content : center ; align-items : center ;" >
6
6
<img src =" ~/images/error.png" />
Original file line number Diff line number Diff line change 1
1
@{
2
2
this .WorkContext ().CurrentPage .Title = System .Net .HttpStatusCode .NotFound .ToString ();
3
- Layout = Layouts .Generic ;
3
+ Layout = Layouts .EmptyLayout ;
4
4
}
5
5
<div style =" text-align : center ; height : 100vh ; display : flex ; flex-direction : column ; justify-content : center ; align-items : center ;" >
6
6
<img src =" ~/images/error.png" />
Original file line number Diff line number Diff line change 6
6
@await Html.PartialAsync("Partial.PageHeader")
7
7
</head >
8
8
<body >
9
- <div >
9
+ <main >
10
10
@RenderBody()
11
- </div >
11
+ </main >
12
12
@await Html.PartialAsync("Partial.PageFooter")
13
13
</body >
14
14
</html >
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -33,14 +33,6 @@ public class Layouts
33
33
/// </summary>
34
34
public const string Default = "_Layout" ;
35
35
/// <summary>
36
- /// Layout with current theme and body with container.
37
- /// </summary>
38
- public const string NormalDefault = "_LayoutNormal" ;
39
- /// <summary>
40
- /// Layout with current theme
41
- /// </summary>
42
- public const string Generic = "_LayoutGeneric" ;
43
- /// <summary>
44
36
/// Layout for admin pop up modal
45
37
/// </summary>
46
38
public const string PopUp = "_PopUpLayout" ;
You can’t perform that action at this time.
0 commit comments