05/19 Sync code with LT
This commit is contained in:
+13
-29
@@ -1,38 +1,29 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>{% block title %}{{ COMPANY_NAME }}{% endblock %}</title>
|
<title>{% block title %}{{ COMPANY_NAME }}{% endblock %}</title>
|
||||||
|
|
||||||
<!-- Main CSS -->
|
<!-- Main CSS -->
|
||||||
<link
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" />
|
||||||
rel="stylesheet"
|
|
||||||
href="{{ url_for('static', filename='css/style.css') }}"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Font Awesome -->
|
<!-- Theme Override (set THEME_NAME in .env to activate, e.g. THEME_NAME=gov) -->
|
||||||
<link
|
|
||||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css"
|
|
||||||
rel="stylesheet"
|
|
||||||
/>
|
|
||||||
|
|
||||||
<!-- Theme override — loaded before page-specific CSS so per-page sheets
|
|
||||||
(e.g. auth.css) take cascade precedence unless theme uses !important -->
|
|
||||||
{% if THEME_NAME %}
|
{% if THEME_NAME %}
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/theme-' + THEME_NAME + '.css') }}" />
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/theme-' + THEME_NAME + '.css') }}" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
<!-- Font Awesome -->
|
||||||
|
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet" />
|
||||||
|
|
||||||
<!-- Page-specific CSS -->
|
<!-- Page-specific CSS -->
|
||||||
{% block extra_head %}{% endblock %}
|
{% block extra_head %}{% endblock %}
|
||||||
|
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<link
|
<link rel="icon" type="image/x-icon" href="{{ url_for('static', filename='images/favicon.ico') }}" />
|
||||||
rel="icon"
|
|
||||||
type="image/x-icon"
|
|
||||||
href="{{ url_for('static', filename='images/favicon.ico') }}"
|
|
||||||
/>
|
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="login-layout">
|
<body class="login-layout">
|
||||||
<!-- Non-authenticated Layout (Login, Register, etc.) -->
|
<!-- Non-authenticated Layout (Login, Register, etc.) -->
|
||||||
<main class="main-content">
|
<main class="main-content">
|
||||||
@@ -43,13 +34,9 @@
|
|||||||
{% for category, message in messages %}
|
{% for category, message in messages %}
|
||||||
<div class="alert alert-{{ category }}">
|
<div class="alert alert-{{ category }}">
|
||||||
<i
|
<i
|
||||||
class="fas {% if category == 'success' %}fa-check-circle{% elif category == 'error' %}fa-exclamation-circle{% elif category == 'info' %}fa-info-circle{% else %}fa-exclamation-triangle{% endif %}"
|
class="fas {% if category == 'success' %}fa-check-circle{% elif category == 'error' %}fa-exclamation-circle{% elif category == 'info' %}fa-info-circle{% else %}fa-exclamation-triangle{% endif %}"></i>
|
||||||
></i>
|
|
||||||
{{ message }}
|
{{ message }}
|
||||||
<button
|
<button class="alert-close" onclick="this.parentElement.style.display='none'">
|
||||||
class="alert-close"
|
|
||||||
onclick="this.parentElement.style.display='none'"
|
|
||||||
>
|
|
||||||
<i class="fas fa-times"></i>
|
<i class="fas fa-times"></i>
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
@@ -65,7 +52,7 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="footer-content">
|
<div class="footer-content">
|
||||||
<p>© 2025 QR Code Management System. All rights reserved.</p>
|
<p>© {{ CURRENT_YEAR }} {{ COMPANY_NAME }}. All rights reserved.</p>
|
||||||
<div class="footer-links">
|
<div class="footer-links">
|
||||||
<a href="#" class="footer-link">Privacy Policy</a>
|
<a href="#" class="footer-link">Privacy Policy</a>
|
||||||
<a href="#" class="footer-link">Terms of Service</a>
|
<a href="#" class="footer-link">Terms of Service</a>
|
||||||
@@ -93,11 +80,8 @@
|
|||||||
</script>
|
</script>
|
||||||
{% if turnstile_enabled %}
|
{% if turnstile_enabled %}
|
||||||
<!-- Cloudflare Turnstile -->
|
<!-- Cloudflare Turnstile -->
|
||||||
<script
|
<script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script>
|
||||||
src="https://challenges.cloudflare.com/turnstile/v0/api.js"
|
|
||||||
async
|
|
||||||
defer
|
|
||||||
></script>
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
Reference in New Issue
Block a user