1
0

Refactoring 1

This commit is contained in:
Michael Gordeev
2019-12-09 21:14:09 +03:00
parent 7f57d9cc95
commit 53e95afa2d
115 changed files with 934 additions and 0 deletions
@@ -0,0 +1,26 @@
@{
ViewData["Title"] = Model.Title;
Image image = Model;
}
<header>
<p>&#xE760; <a asp-action="Index" asp-controller="Gallery">Back to gallery</a></p>
</header>
<article class="image-overview-block">
<img src="~/images/Gallery/@image.FileName" onclick="ToggleImageSize();" id="image" />
<div>
<h1>@image.Title</h1>
<span>Creation date: @image.CreationDate.ToShortDateString()</span>
<p>
@foreach(string line in image.Description.Split("\n"))
{
@line<br />
}
</p>
</div>
</article>
<link rel="stylesheet" type="text/css" href="~/css/Gallery.css" />