login update

This commit is contained in:
Flatlogic Bot 2026-04-07 09:34:03 +00:00
parent 1e11210ee4
commit 97e014105c

View File

@ -61,6 +61,27 @@ qh_page_start(
padding: 2rem 1.5rem;
text-align: center;
}
.login-brand-mark {
width: 5.5rem;
height: 5.5rem;
margin: 0 auto 1rem;
border-radius: 1.4rem;
background: rgba(255,255,255,0.18);
border: 1px solid rgba(255,255,255,0.24);
display: inline-flex;
align-items: center;
justify-content: center;
overflow: hidden;
box-shadow: 0 12px 30px rgba(0,0,0,0.14);
font-size: 1.6rem;
font-weight: 800;
letter-spacing: 0.08em;
}
.login-brand-mark img {
width: 100%;
height: 100%;
object-fit: cover;
}
.login-body {
padding: 2rem;
background: #fff;
@ -71,6 +92,14 @@ qh_page_start(
<div class="login-wrapper">
<div class="card login-card">
<div class="login-header">
<?php $loginLogoUrl = qh_hospital_logo_url(); ?>
<div class="login-brand-mark" aria-hidden="true">
<?php if ($loginLogoUrl !== ''): ?>
<img src="<?= qh_h($loginLogoUrl) ?>" alt="<?= qh_h(qh_hospital_name()) ?>">
<?php else: ?>
<span><?= qh_h(qh_hospital_brand_initials()) ?></span>
<?php endif; ?>
</div>
<h3 class="mb-0 fw-bold"><?= qh_h(qh_hospital_name()) ?></h3>
<p class="text-white-50 mt-2 mb-0"><?= qh_h(qh_t('Secure Access', 'الوصول الآمن')) ?></p>
</div>