-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding layouts; Adjusting error page;
- Loading branch information
Showing
5 changed files
with
160 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/POC.Rotativa.AspNetCore/Views/Shared/_LayoutReport.cshtml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | ||
<title>Rotativa Asp.net Core</title> | ||
<link rel="shortcut icon" type="image/png" href="~/images/iconReport.png"> | ||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" /> | ||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" /> | ||
<link rel="stylesheet" href="~/Rotativa.Net6.styles.css" asp-append-version="true" /> | ||
<link rel="stylesheet" href="~/css/report.css" /> | ||
</head> | ||
<body> | ||
<div class=""> | ||
@RenderBody() | ||
|
||
<footer> | ||
<br /> | ||
© @DateTime.Now.Year - Rotativa Asp.net Core | ||
</footer> | ||
</div> | ||
|
||
<script src="~/lib/jquery/dist/jquery.min.js"></script> | ||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="~/js/site.js" asp-append-version="true"></script> | ||
|
||
@await RenderSectionAsync("Scripts", required: false) | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
body { | ||
padding-top: 50px; | ||
padding-bottom: 20px; | ||
} | ||
|
||
.body-content { | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
} | ||
|
||
.container { | ||
margin-top: -5%; | ||
} | ||
|
||
.table-title-report { | ||
width: 100%; | ||
background-color: #A3CFEC; | ||
} | ||
|
||
.td-iconReport { | ||
width: 20%; | ||
padding: 1%; | ||
} | ||
|
||
.img-iconReport { | ||
width: 75px; | ||
} | ||
|
||
thead { | ||
background-color: #A3CFEC; | ||
border-bottom: solid; | ||
border-bottom-color: black; | ||
font-size: 140%; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,85 @@ | ||
html { | ||
font-size: 14px; | ||
} | ||
|
||
@media (min-width: 768px) { | ||
html { | ||
font-size: 16px; | ||
} | ||
} | ||
|
||
html { | ||
position: relative; | ||
min-height: 100%; | ||
} | ||
|
||
body { | ||
padding-top: 50px; | ||
padding-bottom: 20px; | ||
margin-bottom: 60px; | ||
} | ||
|
||
a.navbar-brand { | ||
white-space: normal; | ||
text-align: center; | ||
word-break: break-all; | ||
} | ||
|
||
a { | ||
color: #0077cc; | ||
} | ||
|
||
.body-content { | ||
padding-left: 15px; | ||
padding-right: 15px; | ||
.btn-primary { | ||
color: #fff; | ||
background-color: #1b6ec2; | ||
border-color: #1861ac; | ||
} | ||
|
||
.container { | ||
margin-top: -5%; | ||
.nav-pills .nav-link.active, .nav-pills .show > .nav-link { | ||
color: #fff; | ||
background-color: #1b6ec2; | ||
border-color: #1861ac; | ||
} | ||
|
||
.table-title-report { | ||
.border-top { | ||
border-top: 1px solid #e5e5e5; | ||
} | ||
|
||
.border-bottom { | ||
border-bottom: 1px solid #e5e5e5; | ||
} | ||
|
||
.box-shadow { | ||
box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05); | ||
} | ||
|
||
button.accept-policy { | ||
font-size: 1rem; | ||
line-height: inherit; | ||
} | ||
|
||
.footer { | ||
position: absolute; | ||
bottom: 0; | ||
width: 100%; | ||
background-color: #A3CFEC; | ||
white-space: nowrap; | ||
line-height: 60px; | ||
} | ||
|
||
.td-iconReport { | ||
width: 20%; | ||
padding: 1%; | ||
td { | ||
vertical-align: middle; | ||
} | ||
|
||
.img-iconReport { | ||
width: 75px; | ||
#div-loader { | ||
display: none; | ||
z-index: 99999; | ||
position: absolute; | ||
height: auto; | ||
width: auto; | ||
margin-top: 300px; | ||
margin-left: 50%; | ||
text-align: center; | ||
} | ||
|
||
thead { | ||
background-color: #A3CFEC; | ||
border-bottom: solid; | ||
border-bottom-color: black; | ||
font-size: 140%; | ||
} | ||
#loader { | ||
height: 60px; | ||
width: 60px; | ||
} |