Error.cshtml
1,327 bytes
| 1 | @model ErrorViewModel |
|---|---|
| 2 | @{ |
| 3 | ViewData["Title"] = Localizer["Error"].Value; |
| 4 | } |
| 5 | |
| 6 | <div class="sa-invite-page"> |
| 7 | <div class="sa-card-static sa-invite-card"> |
| 8 | <div class="sa-card-body" style="padding: var(--sa-space-10) var(--sa-space-8);"> |
| 9 | <div class="sa-confirm-icon sa-confirm-icon-danger mb-4" style="margin: 0 auto var(--sa-space-6);"> |
| 10 | <i class="bi bi-exclamation-triangle-fill"></i> |
| 11 | </div> |
| 12 | <h2 style="margin-bottom: var(--sa-space-3);">@Localizer["Something went wrong"]</h2> |
| 13 | <p class="sa-text-muted" style="margin-bottom: var(--sa-space-6);"> |
| 14 | @Localizer["An error occurred while processing your request."] |
| 15 | </p> |
| 16 | |
| 17 | @if (Model.ShowRequestId) |
| 18 | { |
| 19 | <div class="sa-bg-soft-danger" style="padding: var(--sa-space-3) var(--sa-space-4); border-radius: var(--sa-radius-sm); margin-bottom: var(--sa-space-6);"> |
| 20 | <small><strong>@Localizer["Request ID"]:</strong> <code>@Model.RequestId</code></small> |
| 21 | </div> |
| 22 | } |
| 23 | |
| 24 | <a asp-area="" asp-controller="Home" asp-action="Index" class="sa-btn sa-btn-primary sa-btn-pill"> |
| 25 | <i class="bi bi-house-door me-1"></i> @Localizer["Back to Home"] |
| 26 | </a> |
| 27 | </div> |
| 28 | </div> |
| 29 | </div> |
| 30 | |