04/16 Update the page footer

This commit is contained in:
2026-04-16 15:08:57 -04:00
parent f792bf2f67
commit 94db74f030
4 changed files with 10 additions and 15 deletions
+2 -1
View File
@@ -100,10 +100,11 @@ def create_app() -> Flask:
@app.context_processor
def inject_company_name():
"""Make COMPANY_NAME and THEME_NAME available to all templates"""
"""Make COMPANY_NAME, THEME_NAME, and CURRENT_YEAR available to all templates"""
return {
'COMPANY_NAME': os.environ.get('COMPANY_NAME', 'QR Code Management System'),
'THEME_NAME': os.environ.get('THEME_NAME', ''),
'CURRENT_YEAR': datetime.now().year,
}
@app.context_processor
+6 -12
View File
@@ -28,12 +28,12 @@
/* 1. COLOR PALETTE — GOV Services green */
/* ------------------------------------------------------------------ */
:root {
/* Primary brand color: institutional green */
--primary-color: #1a6b3c;
--primary-hover: #145530;
/* Primary brand color: bright institutional green */
--primary-color: #16a34a;
--primary-hover: #15803d;
/* Accent used for links, focus rings, active states */
--info-color: #1a6b3c;
--info-color: #16a34a;
}
/* ------------------------------------------------------------------ */
@@ -70,15 +70,9 @@
/* ------------------------------------------------------------------ */
/* 4. FOOTER COPYRIGHT LINE */
/* Now handled dynamically in base.html / base_authenticated.html */
/* via {{ CURRENT_YEAR }} and {{ COMPANY_NAME }} — no CSS needed. */
/* ------------------------------------------------------------------ */
.footer-content p {
font-size: 0;
}
.footer-content p::after {
content: "© 2025 GOV Services, Inc. All rights reserved.";
font-size: 0.875rem;
color: var(--gray-500);
}
/* ------------------------------------------------------------------ */
/* 5. SIDEBAR GRADIENT — re-declare to pick up new variables */
+1 -1
View File
@@ -67,7 +67,7 @@
<footer class="footer">
<div class="container">
<div class="footer-content">
<p>&copy; 2025 QR Code Management System. All rights reserved.</p>
<p>&copy; {{ CURRENT_YEAR }} {{ COMPANY_NAME }}. All rights reserved.</p>
<div class="footer-links">
<a href="#" class="footer-link">Privacy Policy</a>
<a href="#" class="footer-link">Terms of Service</a>
+1 -1
View File
@@ -221,7 +221,7 @@
<footer class="footer">
<div class="container">
<div class="footer-content">
<p>&copy; 2025 QR Code Management System. All rights reserved.</p>
<p>&copy; {{ CURRENT_YEAR }} {{ COMPANY_NAME }}. All rights reserved.</p>
<div class="footer-links">
<a href="#" class="footer-link">Privacy Policy</a>
<a href="#" class="footer-link">Terms of Service</a>