2018-02-21 20:29:23 -05:00
|
|
|
@{
|
|
|
|
Layout = null;
|
|
|
|
}
|
|
|
|
|
2018-04-08 02:44:42 -04:00
|
|
|
@model SharedLibraryCore.Dtos.PenaltyInfo
|
2018-02-21 20:29:23 -05:00
|
|
|
|
|
|
|
<tr class="d-table-row d-md-none bg-dark">
|
|
|
|
<th scope="row" class="bg-primary">Name</th>
|
|
|
|
<td>
|
|
|
|
@Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" })
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="d-table-row d-md-none bg-dark">
|
|
|
|
<th scope="row" class="bg-primary">Type</th>
|
|
|
|
<td class="penalties-color-@Model.Type.ToLower()">
|
|
|
|
@Model.Type
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="d-table-row d-md-none bg-dark">
|
|
|
|
<th scope="row" class="bg-primary">Offense</th>
|
|
|
|
<td class="text-light">
|
|
|
|
@Model.Offense
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="d-table-row d-md-none bg-dark">
|
|
|
|
<th scope="row" class="bg-primary">Admin</th>
|
|
|
|
<td>
|
2018-02-24 00:56:03 -05:00
|
|
|
@Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + Model.PunisherLevel.ToLower() })
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="d-table-row d-md-none bg-dark">
|
|
|
|
<th scope="row" class="w-25 bg-primary" style="border-bottom: 1px solid #222">Time/Left</th>
|
2018-03-22 14:50:09 -04:00
|
|
|
<td class="text-light mb-2 border-bottom">
|
2018-02-21 20:29:23 -05:00
|
|
|
@{
|
|
|
|
if (Model.TimeRemaining == string.Empty)
|
|
|
|
{
|
|
|
|
<span>@Model.TimePunished ago</span>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<span> @Model.TimeRemaining left</span>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
|
|
|
|
<tr class="d-none d-md-table-row">
|
|
|
|
<td>
|
|
|
|
@Html.ActionLink(Model.OffenderName, "ProfileAsync", "Client", new { id = Model.OffenderId }, new { @class = "link-inverse" })
|
|
|
|
</td>
|
|
|
|
<td class="penalties-color-@Model.Type.ToLower()">
|
|
|
|
@Model.Type
|
|
|
|
</td>
|
2018-04-09 23:33:42 -04:00
|
|
|
<td class="text-light w-50">
|
2018-02-21 20:29:23 -05:00
|
|
|
@Model.Offense
|
|
|
|
</td>
|
|
|
|
<td>
|
2018-02-24 00:56:03 -05:00
|
|
|
@Html.ActionLink(Model.PunisherName, "ProfileAsync", "Client", new { id = Model.PunisherId }, new { @class = "level-color-" + Model.PunisherLevel.ToLower() })
|
2018-02-21 20:29:23 -05:00
|
|
|
</td>
|
|
|
|
<td class="text-right text-light">
|
|
|
|
@{
|
|
|
|
if (Model.TimeRemaining == string.Empty)
|
|
|
|
{
|
|
|
|
<span>@Model.TimePunished ago</span>
|
|
|
|
}
|
|
|
|
else
|
|
|
|
{
|
|
|
|
<span> @Model.TimeRemaining left</span>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</td>
|
|
|
|
</tr>
|