Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 350f2d7658 | |||
| 856d202b78 |
@@ -669,6 +669,7 @@ public class KioskController : Controller
|
||||
/// <summary>Sets ViewBag properties needed by _KioskLayout from a Company entity.</summary>
|
||||
private async Task PopulateKioskViewBag(Company company)
|
||||
{
|
||||
ViewBag.CompanyId = company.Id;
|
||||
ViewBag.CompanyName = company.CompanyName;
|
||||
ViewBag.CompanyLogoUrl = !string.IsNullOrEmpty(company.LogoFilePath)
|
||||
? Url.Action("Logo", "Kiosk")
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
@{
|
||||
Layout = "~/Views/Shared/_KioskLayout.cshtml";
|
||||
ViewData["Title"] = "Welcome";
|
||||
ViewBag.HideLayoutLogo = true;
|
||||
}
|
||||
|
||||
<div id="kiosk-welcome-root"
|
||||
|
||||
@@ -18,7 +18,9 @@
|
||||
|
||||
<div class="container py-4" style="max-width:720px;">
|
||||
|
||||
@* Logo *@
|
||||
@* Logo — hidden on Welcome screen which renders its own centered logo *@
|
||||
@if (!(bool)(ViewBag.HideLayoutLogo ?? false))
|
||||
{
|
||||
<div class="text-center mb-3">
|
||||
@if (!string.IsNullOrEmpty(ViewBag.CompanyLogoUrl as string))
|
||||
{
|
||||
@@ -30,6 +32,7 @@
|
||||
<span class="fw-bold fs-5 text-muted">@ViewBag.CompanyName</span>
|
||||
}
|
||||
</div>
|
||||
}
|
||||
|
||||
@* Step dots *@
|
||||
@if (kioskStep > 0)
|
||||
|
||||
@@ -130,8 +130,8 @@ body.kiosk-body {
|
||||
}
|
||||
|
||||
.kiosk-welcome-logo {
|
||||
max-height: 120px;
|
||||
max-width: 280px;
|
||||
max-height: 200px;
|
||||
max-width: 420px;
|
||||
object-fit: contain;
|
||||
margin-bottom: 2rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user