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