Forgotten to commit

This commit is contained in:
didier committed 2025-01-05 10:51:51 -05:00
1 parent 7d2351f314
commit 9e386e8f65
77 files changed
+36236 -74515

No files matched your search

+28 -6
View File
@@ -1,8 +1,30 @@
@{
ViewData["Title"] = "Home Page";
@using YongeStreet.Controllers
@model YongeStreet.Controllers.IndexModel
@{
ViewData["Title"] = "La Province";
}
<div class="text-center">
<h1 class="display-4">Welcome</h1>
<p>Learn about <a href="https://learn.microsoft.com/aspnet/core">building Web apps with ASP.NET Core</a>.</p>
</div>
<table class="uk-table uk-table-striped">
<thead>
<tr>
<th>Nom De La Ville</th>
<th>Longeur De La Route</th>
<th></th>
</tr>
</thead>
<tbody>
@foreach(var city in Model.Cities)
{
<tr>
<td>@Html.ActionLink(city.Name, "City", "Home", new {City=city.Name})</td>
<td>@((city.TotalStreetSize / 1000 ).ToString("N"))</td>
<td>@string.Join(", ", city.AvailableYears)</td>
</tr>
}
</tbody>
</table>