@page "/slots/{pageNumber:int}" @using LBPUnion.ProjectLighthouse.Extensions @using LBPUnion.ProjectLighthouse.Levels @using LBPUnion.ProjectLighthouse.Localization.StringLists @model LBPUnion.ProjectLighthouse.Servers.Website.Pages.SlotsPage @{ Layout = "Layouts/BaseLayout"; Model.Title = Model.Translate(BaseLayoutStrings.HeaderSlots); bool isMobile = Model.Request.IsMobile(); }

There are @Model.SlotCount total levels!

@foreach (Slot slot in Model.Slots) {
@await Html.PartialAsync("Partials/SlotCardPartial", slot, new ViewDataDictionary(ViewData) { { "User", Model.User }, { "CallbackUrl", $"~/slots/{Model.PageNumber}" }, { "ShowLink", true }, { "IsMobile", isMobile }, })
} @if (Model.PageNumber != 0) { Previous Page } @(Model.PageNumber + 1) / @(Model.PageAmount) @if (Model.PageNumber < Model.PageAmount - 1) { Next Page }