add openhack files

This commit is contained in:
Ryan Peters
2022-11-03 16:41:13 -04:00
commit b2c9f7e29f
920 changed files with 118861 additions and 0 deletions

View File

@ -0,0 +1,84 @@
@model IEnumerable<Simulator.DataObjects.User>
@{
ViewData["Title"] = "DriverProfiles";
}
<h2>Driver Profile</h2>
<table class="table">
<thead>
<tr>
<th>
@Html.DisplayNameFor(model => model.FirstName)
</th>
<th>
@Html.DisplayNameFor(model => model.LastName)
</th>
<th>
@Html.DisplayNameFor(model => model.ProfilePictureUri)
</th>
<th>
@Html.DisplayNameFor(model => model.Rating)
</th>
<th>
@Html.DisplayNameFor(model => model.Ranking)
</th>
<th>
@Html.DisplayNameFor(model => model.TotalDistance)
</th>
<th>
@Html.DisplayNameFor(model => model.TotalTrips)
</th>
<th>
@Html.DisplayNameFor(model => model.HardStops)
</th>
<th>
@Html.DisplayNameFor(model => model.HardAccelerations)
</th>
</tr>
</thead>
<tbody>
@foreach (var item in Model)
{
<tr>
<td>
@Html.DisplayFor(modelItem => item.FirstName)
</td>
<td>
@Html.DisplayFor(modelItem => item.LastName)
</td>
<td>
<img src="@Url.Content(item.ProfilePictureUri)" alt="test" height="100" />
</td>
<td>
@Html.DisplayFor(modelItem => item.Rating)
</td>
<td>
@Html.DisplayFor(modelItem => item.Ranking)
</td>
<td>
@Html.DisplayFor(modelItem => item.TotalDistance)
</td>
<td>
@Html.DisplayFor(modelItem => item.TotalTrips)
</td>
<td>
@Html.DisplayFor(modelItem => item.HardStops)
</td>
<td>
@Html.DisplayFor(modelItem => item.HardAccelerations)
</td>
</tr>
}
</tbody>
</table>