initial commit
This commit is contained in:
25
Views/Home/Search.cshtml
Normal file
25
Views/Home/Search.cshtml
Normal file
@@ -0,0 +1,25 @@
|
||||
@model SearchPageModel
|
||||
|
||||
<div class="text-center display-6 page-title-color"><b>
|
||||
Търсене
|
||||
</b></div>
|
||||
|
||||
<form action="/Search">
|
||||
<input type="text" name="q" value="@Model.SearchTerm" />
|
||||
<input type="submit" />
|
||||
</form>
|
||||
|
||||
<div class="text-center display-6 page-title-color"><font size=5><b>
|
||||
Резултати за : @Model.SearchTerm
|
||||
</font></b></div>
|
||||
|
||||
|
||||
<div class="container row mt-3 mb-3">
|
||||
@foreach (BookData book in Model.Books)
|
||||
{
|
||||
@await Html.PartialAsync("~/Views/Shared/RepositoryBookElement.cshtml", book)
|
||||
}
|
||||
</div>
|
||||
|
||||
|
||||
@await Html.PartialAsync( "~/Views/Shared/PagingArea.cshtml" , Model.PagingData )
|
||||
Reference in New Issue
Block a user