Forgotten to commit
This commit is contained in:
1 parent
7d2351f314
commit
9e386e8f65
77 files changed
+36236
-74515
No files matched your search
@@ -0,0 +1,33 @@
|
||||
@model YongeStreet.Controllers.CityModel
|
||||
@{
|
||||
ViewData["Title"] = "La Province";
|
||||
}
|
||||
|
||||
|
||||
<div class="uk-height-large uk-flex uk-flex-center uk-flex-middle uk-background-cover uk-light"
|
||||
style="background-color: black"
|
||||
id="leaflet-map"
|
||||
data-city="@Model.City">
|
||||
</div>
|
||||
|
||||
<table class="uk-table uk-table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Année</th>
|
||||
<th>Longeur Du Réseau Routier</th>
|
||||
<th>AUgmentation</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach(var stats in Model.CityRoadLengthStats)
|
||||
{
|
||||
<tr>
|
||||
<td>@stats.Year</td>
|
||||
<td>@((stats.MunicipalRoadLength / 1000).ToString("N"))</td>
|
||||
<td></td>
|
||||
</tr>
|
||||
}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<script src="~/js/quebec-province-map.js" type="module"></script>
|
||||
@@ -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>
|
||||
@@ -3,47 +3,50 @@
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>@ViewData["Title"] - YongeStreet</title>
|
||||
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
|
||||
<link rel="stylesheet" href="~/css/site.css" asp-append-version="true" />
|
||||
<link rel="stylesheet" href="~/YongeStreet.styles.css" asp-append-version="true" />
|
||||
<title>@ViewData["Title"] - Yonge Street</title>
|
||||
<script src="https://unpkg.com/htmx.org@2.0.3"></script>
|
||||
<link rel="stylesheet" href="~/lib/uikit/css/uikit.css" crossorigin="anonymous">
|
||||
<script src="~/lib/uikit/js/uikit.js" crossorigin="anonymous"></script>
|
||||
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.9.4/dist/leaflet.css"
|
||||
integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY="
|
||||
crossorigin=""/>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav class="navbar navbar-expand-sm navbar-toggleable-sm navbar-light bg-white border-bottom box-shadow mb-3">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" asp-area="" asp-controller="Home" asp-action="Index">YongeStreet</a>
|
||||
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target=".navbar-collapse" aria-controls="navbarSupportedContent"
|
||||
aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span class="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div class="navbar-collapse collapse d-sm-inline-flex justify-content-between">
|
||||
<ul class="navbar-nav flex-grow-1">
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Index">Home</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link text-dark" asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<div class="container">
|
||||
<main role="main" class="pb-3">
|
||||
@RenderBody()
|
||||
</main>
|
||||
</div>
|
||||
|
||||
<footer class="border-top footer text-muted">
|
||||
<div class="container">
|
||||
© 2025 - YongeStreet - <a asp-area="" asp-controller="Home" asp-action="Privacy">Privacy</a>
|
||||
|
||||
<nav class="uk-navbar-container">
|
||||
<div class="uk-container">
|
||||
<div uk-navbar>
|
||||
|
||||
<div class="uk-navbar-left">
|
||||
|
||||
<a class="uk-navbar-item uk-logo" href="/" aria-label="Back to Home">
|
||||
<img src="~/images/logo.jpg"
|
||||
alt=""
|
||||
style="height: 1.7em;"/>
|
||||
|
||||
</a>
|
||||
|
||||
<ul class="uk-navbar-nav">
|
||||
<span class="uk-icon uk-margin-small-right" uk-icon="icon: star">
|
||||
L'Insoutenable Longeur Du Réseau Routier
|
||||
</span>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</footer>
|
||||
<script src="~/lib/jquery/dist/jquery.min.js"></script>
|
||||
<script src="~/lib/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<br/>
|
||||
<div class="uk-container">
|
||||
|
||||
@RenderBody()
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script src="~/js/site.js" asp-append-version="true"></script>
|
||||
@await RenderSectionAsync("Scripts", required: false)
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user