feat(CustomImages): Implementiert anstelle von Bildern, um mehrere Bilder über ein Wörterbuch zu konfigurieren

This commit is contained in:
Developer 02
2025-02-13 00:48:47 +01:00
parent 1e34042f77
commit 41b5b62f2c
9 changed files with 32 additions and 25 deletions

View File

@@ -4,7 +4,7 @@
@{
//TODO: Create view model
var nonce = _accessor.HttpContext?.Items["csp-nonce"] as string;
var logo = _logoOpt.Value;
var cImg = _cImgOpt.Value;
ViewData["Title"] = _localizer[WebKey.DocProtected];
var userCulture = ViewData["UserCulture"] as Culture;
string codeType = ViewData["CodeType"] is string _codeType ? _codeType : "accessCode";
@@ -24,7 +24,7 @@
<header class="text-center">
<div class="header-1 alert alert-secondary" role="alert">
<h3 class="text">@_localizer[WebKey.WelcomeToTheESignPortal]</h3>
<img class="@logo.ClassIn("Locked")" src="@logo.Src" />
<img class="@cImg["Company"].GetClassIn("Locked")" src="@cImg["Company"].Src" />
</div>
<div class="icon locked @(viaTFA ? "tfa" : "") mt-4 mb-1">
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" fill="currentColor" class="bi bi-shield-lock" viewBox="0 0 16 16">