36 lines
1.2 KiB
Plaintext
36 lines
1.2 KiB
Plaintext
@{
|
|
var nonce = _accessor.HttpContext?.Items["csp-nonce"] as string;
|
|
var cImg = _cImgOpt.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="@cImg["Company"].GetClassIn("Locked")" src="@cImg["Company"].Src" />
|
|
</div>
|
|
<div class="icon mt-4 mb-1">
|
|
<img src="~/img/sign_flow_min.svg">
|
|
</div>
|
|
<h1>signFlow</h1>
|
|
</header>
|
|
<section class="text-center">
|
|
<div class="alert alert-light" role="alert">
|
|
<p class="home-description"><span id="home-description"></span></p>
|
|
</div>
|
|
</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>
|
|
<script nonce="@nonce">
|
|
const msg = "@_localizer[WebKey.HomePageDescription]";
|
|
var typed = new Typed('#home-description', {
|
|
strings: [msg],
|
|
typeSpeed: 15,
|
|
});
|
|
</script> |