Index.cshtml 5.28 KB
@model IEnumerable<Maps.Entities.FlowIntensity>

@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
<p>
    <a asp-action="Create">Create New</a>
</p>
<table class="table">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.Begin)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.DateAdd)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.End)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityBus)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityBusCoupled)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityCar)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityIncrease)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityLorryThirty)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityLorryTwelve)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityLorryTwelveTwenty)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityLorryTwentyThirty)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityMoto)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityMotoSidecar)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTotal)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTractorOverTen)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTractorUnderTen)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTruckEightFourteen)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTruckFourteen)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTruckSixEight)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTruckTwo)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.IntensityTruckTwoSix)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.Location)
            </th>
            <th></th>
        </tr>
    </thead>
    <tbody>
@foreach (var item in Model) {
        <tr>
            <td>
                @Html.DisplayFor(modelItem => item.Begin)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.DateAdd)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.End)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityBus)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityBusCoupled)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityCar)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityIncrease)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityLorryThirty)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityLorryTwelve)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityLorryTwelveTwenty)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityLorryTwentyThirty)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityMoto)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityMotoSidecar)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTotal)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTractorOverTen)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTractorUnderTen)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTruckEightFourteen)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTruckFourteen)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTruckSixEight)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTruckTwo)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.IntensityTruckTwoSix)
            </td>
            <td>
                @Html.DisplayFor(modelItem => item.Location)
            </td>
            <td>
                <a asp-action="Edit" asp-route-id="@item.FlowIntensityId">Edit</a> |
                <a asp-action="Details" asp-route-id="@item.FlowIntensityId">Details</a> |
                <a asp-action="Delete" asp-route-id="@item.FlowIntensityId">Delete</a>
            </td>
        </tr>
}
    </tbody>
</table>
</body>
</html>