1
0

Optimized contacts and print pages, removed unnecessary file, iOS image declaration

This commit is contained in:
Michael Gordeev
2019-11-13 02:10:13 +03:00
parent c761f74fda
commit 689831f1bc
4 changed files with 26 additions and 40 deletions
+10 -13
View File
@@ -1,16 +1,21 @@
@{
@{
Layout = null; Layout = null;
} }
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>CV print preview page - XFox111.NET</title> <title>CV print preview page - XFox111.NET</title>
<link rel="shortcut icon" href="~/images/favicon.png" type="image/png" /> <link rel="shortcut icon" href="~/images/favicon.png" type="image/png" />
<link rel="stylesheet" type="text/css" href="~/css/Style.css" /> <link rel="stylesheet" type="text/css" href="~/css/Style.css" />
<style type="text/css">
body { margin: 0px; }
</style>
<meta name="viewport" content="width=device-width" />
</head>
<body>
<partial name="~/Views/CV/CVContent.cshtml" />
@if (!(bool)ViewData["pdfPreview"]) @if (!(bool)ViewData["pdfPreview"])
{ {
@@ -19,18 +24,10 @@
margin: 0px; margin: 0px;
} }
</style> </style>
}
<meta name="viewport" content="width=device-width" />
</head>
<body>
<partial name="~/Views/CV/CVContent.cshtml" />
@if(!(bool)ViewData["pdfPreview"])
{
<script type="text/javascript"> <script type="text/javascript">
print(); print();
close(); close();
</script> </script>
} }
</body> </body>
</html> </html>
+2 -10
View File
@@ -11,21 +11,13 @@
<p> <p>
@foreach(Link link in ViewData["contactLinks"] as List<Link>) @foreach(Link link in ViewData["contactLinks"] as List<Link>)
{ {
<a class="socicon-@(link.Socicon)"></a> @(link.Title) <a href="@(link.Url)">@(link.Username)</a> <a class="socicon-@(link.Socicon)"></a> @(link.Title) <a href="@(link.Url)" target="_blank">@(link.Username)</a><br />
@if((ViewData["contactLinks"] as List<Link>).LastOrDefault() != link)
{
<br />
}
} }
</p> </p>
<p> <p>
@foreach (Link link in ViewData["otherLinks"] as List<Link>) @foreach (Link link in ViewData["otherLinks"] as List<Link>)
{ {
<a class="socicon-@(link.Socicon)"></a> @(link.Title) <a href="@(link.Url)">@(link.Username)</a> <a class="socicon-@(link.Socicon)"></a> @(link.Title) <a href="@(link.Url)" target="_blank">@(link.Username)</a><br />
@if ((ViewData["otherLinks"] as List<Link>).LastOrDefault() != link)
{
<br />
}
} }
</p> </p>
</article> </article>
@@ -1,4 +0,0 @@
@*
For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860
*@
+1
View File
@@ -42,6 +42,7 @@ article {
.uwp { background-image: url("../images/Badges/windows.png"); } .uwp { background-image: url("../images/Badges/windows.png"); }
.win32 { background-image: url("../images/Badges/windows.png"); } .win32 { background-image: url("../images/Badges/windows.png"); }
.windows { background-image: url("../images/Badges/windows.png"); } .windows { background-image: url("../images/Badges/windows.png"); }
.ios { background-image: url("../images/Badges/ios.png"); }
@media only screen and (max-width: 600px) { @media only screen and (max-width: 600px) {
.github-stats { .github-stats {