04/27 Updated Login page background image 2

This commit is contained in:
2026-04-27 15:41:55 -04:00
parent ba1a9e8b86
commit 69c105c4c7
+4 -3
View File
@@ -9,8 +9,8 @@
body.login-page { body.login-page {
min-height: 100vh; min-height: 100vh;
background: background:
linear-gradient(rgba(10, 25, 50, 0.55), rgba(10, 25, 50, 0.55)), linear-gradient(rgba(10, 25, 50, 0.25), rgba(10, 25, 50, 0.25)),
url("https://images.unsplash.com/photo-1581578731548-c64695cc6952?auto=format&fit=crop&w=1920&q=80") url("https://images.unsplash.com/photo-1486325212027-8081e485255e?auto=format&fit=crop&w=1920&q=80")
center center / cover no-repeat fixed; center center / cover no-repeat fixed;
} }
@@ -104,7 +104,7 @@
</div> </div>
<div class="card-footer text-center text-muted small"> <div class="card-footer text-center text-muted small">
&copy; 2025 Janitorial QC System &copy; <span id="copy-year"></span> Janitorial QC System
</div> </div>
</div> </div>
@@ -112,6 +112,7 @@
{# Remove .login-page when navigating away (SPA-style guard) #} {# Remove .login-page when navigating away (SPA-style guard) #}
<script> <script>
document.getElementById('copy-year').textContent = new Date().getFullYear();
window.addEventListener('pagehide', function () { window.addEventListener('pagehide', function () {
document.body.classList.remove('login-page'); document.body.classList.remove('login-page');
}); });