Skip to content
This repository was archived by the owner on Jul 10, 2024. It is now read-only.

Commit bb3bda7

Browse files
davidfowlDamianEdwards
authored andcommitted
Add the nav pills to the partial
1 parent 23935bd commit bb3bda7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/5. Add personal agenda.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -480,6 +480,15 @@ dotnet aspnet-codegenerator identity --dbContext FrontEnd.Data.IdentityDbContext
480480
```html
481481
@model IndexModel
482482

483+
<ul class="nav nav-pills mb-3">
484+
@foreach (var day in Model.DayOffsets)
485+
{
486+
<li role="presentation" class="nav-item">
487+
<a class="nav-link @(Model.CurrentDayOffset == day.Offset ? "active" : null)" asp-route-day="@day.Offset">@day.DayofWeek?.ToString()</a>
488+
</li>
489+
}
490+
</ul>
491+
483492
<div class="agenda">
484493
@foreach (var timeSlot in Model.Sessions)
485494
{

0 commit comments

Comments
 (0)