2024-11-04 15:03:00 +01:00

27 lines
957 B
Plaintext

@{
var nonce = _accessor.HttpContext?.Items["csp-nonce"] as string;
var logo = _logoOpt.Value;
ViewData["Title"] = _localizer["Home"];
var userCulture = ViewData["UserCulture"] as Culture;
}
<div class="page container py-4 px-4">
<header class="text-center">
<div class="header-1 alert alert-secondary" role="alert">
<h3 class="text">@_localizer[WebKey.WelcomeToTheESignPortal]</h3>
<img class="@logo.LockedPageClass" src="@logo.Src" />
</div>
<div class="icon mt-4 mb-1">
<img src="~/img/sign_flow_min.svg">
</div>
<h1>@_localizer["Title"]</h1>
</header>
<section class="text-center">
<p>@_localizer["Explanation"]</p>
</section>
@if (ViewData["ErrorMessage"] is string errMsg)
{
<div id="access-code-error-message" class="alert alert-danger row" role="alert">
@_sanitizer.Sanitize(errMsg)
</div>
}
</div>