#124 : Mis en place d'un bouton pour acceder aux titres récents.
This commit is contained in:
@@ -73,12 +73,21 @@
|
||||
</div>
|
||||
}
|
||||
<!-- Bouton -->
|
||||
<div class="row justify-content-end">
|
||||
<a asp-action="Index" asp-route-page="@(Model.Page + 1)"
|
||||
class="btn btn-secondary col-auto mt-3">
|
||||
Titres plus anciens >>
|
||||
</button>
|
||||
</a>
|
||||
<div class="row justify-content-between">
|
||||
@if (Model.Page > 0)
|
||||
{
|
||||
<a asp-action="Index" asp-route-page="@(Model.Page - 1)"
|
||||
class="btn btn-secondary col-auto mt-3">
|
||||
<< Titre plus récent
|
||||
</a>
|
||||
}
|
||||
@if (Model.Page < Model.TotalPages - 1)
|
||||
{
|
||||
<a asp-action="Index" asp-route-page="@(Model.Page + 1)"
|
||||
class="btn btn-secondary col-auto mt-3 ms-auto">
|
||||
Titre plus anciens >>
|
||||
</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user