improve audit log display on mobile
This commit is contained in:
parent
b27ae1517e
commit
c817f9a810
@ -30,7 +30,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@info.Data
|
@info.Data
|
||||||
<td>
|
<td class="text-force-break font-weight-light">
|
||||||
@info.NewValue
|
@info.NewValue
|
||||||
</td>
|
</td>
|
||||||
<td class="text-right">
|
<td class="text-right">
|
||||||
@ -40,32 +40,36 @@
|
|||||||
|
|
||||||
<!-- mobile -->
|
<!-- mobile -->
|
||||||
<tr class="d-table-row d-lg-none d-flex bg-dark-dm bg-light-lm">
|
<tr class="d-table-row d-lg-none d-flex bg-dark-dm bg-light-lm">
|
||||||
<td class="bg-primary text-light text-right flex-grow-0">
|
<td class="bg-primary text-light text-right flex-grow-0 w-quarter d-flex flex-column">
|
||||||
<div class="mt-5 mb-5">@loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"]</div>
|
<div class="mt-5 mb-5">@loc["WEBFRONT_PENALTY_TEMPLATE_TYPE"]</div>
|
||||||
<div class="mt-5 mb-5">@loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"]</div>
|
<div class="mt-5 mb-5">@loc["WEBFRONT_PENALTY_TEMPLATE_ADMIN"]</div>
|
||||||
<div class="mt-5 mb-5">@loc["WEBFRONT_PENALTY_TEMPLATE_NAME"]</div>
|
<div class="mt-5 mb-5">@loc["WEBFRONT_PENALTY_TEMPLATE_NAME"]</div>
|
||||||
<div class="mt-5 mb-5">@loc["WEBFRONT_ADMIN_AUDIT_LOG_INFO"]</div>
|
<div class="mt-5 mb-5">@loc["WEBFRONT_ADMIN_AUDIT_LOG_INFO"]</div>
|
||||||
<div class="mt-5 mb-5">@loc["WEBFRONT_ADMIN_AUDIT_LOG_CURRENT"]</div>
|
<div class="mt-5 mb-5">@loc["WEBFRONT_ADMIN_AUDIT_LOG_CURRENT"]</div>
|
||||||
<div class="mt-5 mb-5">@loc["WEBFRONT_ADMIN_AUDIT_LOG_TIME"]</div>
|
<div class="mt-5 mb-5 mt-auto">@loc["WEBFRONT_ADMIN_AUDIT_LOG_TIME"]</div>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td class="w-three-quarter d-flex flex-column">
|
||||||
<div class="mt-5 mb-5">@info.Action</div>
|
<div class="mt-5 mb-5">@info.Action</div>
|
||||||
|
<div class="mt-5 mb-5">
|
||||||
<a asp-controller="Client" asp-action="Profile" asp-route-id="@info.OriginId" class="link-inverse">
|
<a asp-controller="Client" asp-action="Profile" asp-route-id="@info.OriginId" class="link-inverse">
|
||||||
<color-code value="@info.OriginName"></color-code>
|
<color-code value="@info.OriginName"></color-code>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
@if (info.TargetId != null)
|
@if (info.TargetId != null)
|
||||||
{
|
{
|
||||||
<a asp-controller="Client" asp-action="Profile" asp-route-id="@info.TargetId" class="mt-5 mb-5">
|
<div class="mt-5 mb-5">
|
||||||
|
<a asp-controller="Client" asp-action="Profile" asp-route-id="@info.TargetId">
|
||||||
<color-code value="@info.TargetName"></color-code>
|
<color-code value="@info.TargetName"></color-code>
|
||||||
</a>
|
</a>
|
||||||
|
</div>
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
<div class="mt-5 mb-5">–</div>
|
<div class="mt-5 mb-5">–</div>
|
||||||
}
|
}
|
||||||
<div class="mt-5 mb-5">@info.Data</div>
|
<div class="mt-5 mb-5">@info.Data</div>
|
||||||
<div class="mt-5 mb-5">@info.NewValue</div>
|
<div class="mt-5 mb-5 text-force-break">@info.NewValue</div>
|
||||||
<div class="mt-5 mb-5">@info.When</div>
|
<div class="mt-5 mb-5 text-muted">@info.When.ToStandardFormat()</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user