File tree Expand file tree Collapse file tree 3 files changed +26
-8
lines changed
src/Web/AspNetCoreTemplate.Web Expand file tree Collapse file tree 3 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 1
1
@using AspNetCoreTemplate .Common
2
2
<!DOCTYPE html>
3
- <html >
3
+ <html lang = " en " >
4
4
<head >
5
5
<meta charset =" utf-8" />
6
6
<meta name =" viewport" content =" width=device-width, initial-scale=1.0" />
7
7
<title >@this.ViewData ["Title"] - @GlobalConstants.SystemName </title >
8
- <link href =" ~/lib/bootstrap/dist/css/bootstrap.min.css" rel = " stylesheet " asp-append-version =" true" />
9
- <link href =" ~/css/site.min.css" rel = " stylesheet " asp-append-version =" true" />
8
+ <link rel = " stylesheet " href =" ~/lib/bootstrap/dist/css/bootstrap.min.css" asp-append-version =" true" />
9
+ <link rel = " stylesheet " href =" ~/css/site.min.css" asp-append-version =" true" />
10
10
</head >
11
11
<body >
12
12
<header >
50
50
51
51
<script src =" ~/lib/jquery/dist/jquery.min.js" asp-append-version =" true" ></script >
52
52
<script src =" ~/lib/jquery-validation/dist/jquery.validate.min.js" asp-append-version =" true" ></script >
53
- <script src =" ~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.js" asp-append-version =" true" ></script >
53
+ <script src =" ~/lib/jquery-validation-unobtrusive/dist/jquery.validate.unobtrusive.min. js" asp-append-version =" true" ></script >
54
54
<script src =" ~/lib/bootstrap/dist/js/bootstrap.min.js" asp-append-version =" true" ></script >
55
55
<script src =" ~/js/site.min.js" asp-append-version =" true" ></script >
56
56
@await this.RenderSectionAsync("Scripts", required: false)
Original file line number Diff line number Diff line change 8
8
@if (this .SignInManager .IsSignedIn (this .User ))
9
9
{
10
10
<li class =" nav-item" >
11
- <a class =" nav-link text-dark" asp-area =" Identity" asp-page =" /Account/Manage/Index" title =" Manage" >Hello @( this .User .Identity .Name ) ! </a >
11
+ <a class =" nav-link text-dark" asp-area =" Identity" asp-page =" /Account/Manage/Index" title =" Manage" >Hello @this.User.Identity.Name ! </a >
12
12
</li >
13
13
if (this .User .IsInRole (GlobalConstants .AdministratorRoleName ))
14
14
{
17
17
< / li >
18
18
}
19
19
<li class =" nav-item" >
20
- <form class =" form-inline" asp-area =" Identity" asp-page =" /Account/Logout" asp-route-returnUrl =" @( this.Url.Action(" Index " , " Home " , new { area = string.Empty }) )" >
20
+ <form class =" form-inline" asp-area =" Identity" asp-page =" /Account/Logout" asp-route-returnUrl =" @this.Url.Action(" Index " , " Home " , new { area = string.Empty })" >
21
21
<button type =" submit" class =" nav-link btn btn-link text-dark" >Logout </button >
22
22
</form >
23
23
</li >
Original file line number Diff line number Diff line change @@ -7,11 +7,29 @@ a.navbar-brand {
7
7
word-break : break-all;
8
8
}
9
9
10
+ /* Provide sufficient contrast against white background */
11
+ a {
12
+ color : # 0366d6 ;
13
+ }
14
+
15
+ .btn-primary {
16
+ color : # fff ;
17
+ background-color : # 1b6ec2 ;
18
+ border-color : # 1861ac ;
19
+ }
20
+
21
+ .nav-pills .nav-link .active , .nav-pills .show > .nav-link {
22
+ color : # fff ;
23
+ background-color : # 1b6ec2 ;
24
+ border-color : # 1861ac ;
25
+ }
26
+
10
27
/* Sticky footer styles
11
28
-------------------------------------------------- */
12
29
html {
13
30
font-size : 14px ;
14
31
}
32
+
15
33
@media (min-width : 768px ) {
16
34
html {
17
35
font-size : 16px ;
21
39
.border-top {
22
40
border-top : 1px solid # e5e5e5 ;
23
41
}
42
+
24
43
.border-bottom {
25
44
border-bottom : 1px solid # e5e5e5 ;
26
45
}
@@ -45,12 +64,11 @@ body {
45
64
/* Margin bottom by footer height */
46
65
margin-bottom : 60px ;
47
66
}
67
+
48
68
.footer {
49
69
position : absolute;
50
70
bottom : 0 ;
51
71
width : 100% ;
52
72
white-space : nowrap;
53
- /* Set the fixed height of the footer here */
54
- height : 60px ;
55
73
line-height : 60px ; /* Vertically center the text there */
56
74
}
You can’t perform that action at this time.
0 commit comments