OpenSTR/app/templates/base.html

37 lines
No EOL
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}OpenSTR{% endblock %}</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
<header>
<h1>Open Service Tracker Repair Tool</h1>
<nav>
<ul>
<li><a href="{{ url_for('customer.dashboard') }}">Customer Dashboard</a></li>
<li><a href="{{ url_for('technician.dashboard') }}">Technician Dashboard</a></li>
<li><a href="{{ url_for('admin.dashboard') }}">Admin Dashboard</a></li>
</ul>
</nav>
</header>
<main>
{% with messages = get_flashed_messages() %}
{% if messages %}
<ul class="flashes">
{% for message in messages %}
<li>{{ message }}</li>
{% endfor %}
</ul>
{% endif %}
{% endwith %}
{% block content %}{% endblock %}
</main>
<footer>
<p>&copy; {{ current_year }} Miracle Computer Consulting</p>
</footer>
<script src="{{ url_for('static', filename='js/script.js') }}"></script>
</body>
</html>