hm_ai_qc_report_tool/templates/base.html
nickviljoen e6f3e9387e Add modular architecture, core framework, and web UI
New blueprint-based module system (hm_qc, video_qc, video_master,
reporting), core framework (database, config, templates), and
unified web interface with progress tracking and tab navigation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 11:39:04 +02:00

126 lines
4.7 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 %}HM QC Platform{% endblock %}</title>
<!-- Bootstrap 5 -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap Icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css">
<!-- Unified Theme CSS -->
<link rel="stylesheet" href="{{ url_for('static', filename='css/unified_theme.css') }}">
<link rel="stylesheet" href="{{ url_for('static', filename='css/tabs.css') }}">
<!-- MSAL.js for Azure AD Authentication -->
<script src="https://alcdn.msauth.net/browser/2.35.0/js/msal-browser.min.js"></script>
{% block extra_head %}{% endblock %}
</head>
<body>
<!-- Top Navigation Bar -->
<nav class="navbar navbar-dark hm-navbar">
<div class="container-fluid">
<!-- Brand -->
<div class="navbar-brand-wrapper">
<span class="navbar-brand mb-0 h1">
<i class="bi bi-shield-check me-2"></i>
HM QC Platform
</span>
<span class="badge bg-secondary ms-2 version-badge">v1.0</span>
</div>
<!-- User Info -->
<div id="userInfo" class="d-flex align-items-center">
<span id="userName" class="text-white me-3">
<i class="bi bi-person-circle me-1"></i>
<span id="userDisplayName"></span>
</span>
<button id="logoutBtn" class="btn btn-sm btn-outline-light">
<i class="bi bi-box-arrow-right me-1"></i>
Logout
</button>
</div>
</div>
</nav>
<!-- Tab Navigation -->
<ul class="nav nav-tabs hm-tabs" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link {% if active_tab == 'reporting' %}active{% endif %}"
href="{{ url_for('reporting.index') }}"
data-tab="reporting"
role="tab">
<i class="bi bi-file-bar-graph me-2"></i>
Reporting
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link {% if active_tab == 'hm-qc' %}active{% endif %}"
href="{{ url_for('hm_qc.index') }}"
data-tab="hm-qc"
role="tab">
<i class="bi bi-file-earmark-check me-2"></i>
HM QC
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link {% if active_tab == 'video-qc' %}active{% endif %}"
href="{{ url_for('video_qc.index') }}"
data-tab="video-qc"
role="tab">
<i class="bi bi-play-circle me-2"></i>
Video QC
<span class="badge bg-warning text-dark ms-2 beta-badge">BETA</span>
</a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link {% if active_tab == 'video-master' %}active{% endif %}"
href="{{ url_for('video_master.index') }}"
data-tab="video-master"
role="tab">
<i class="bi bi-camera-video me-2"></i>
Video Master Adot
<span class="badge bg-warning text-dark ms-2 beta-badge">BETA</span>
</a>
</li>
</ul>
<!-- Main Content Area -->
<div class="content-wrapper">
{% block content %}
<!-- Page content goes here -->
{% endblock %}
</div>
<!-- Footer -->
<footer class="hm-footer">
<div class="container-fluid">
<div class="row">
<div class="col-md-6">
<small class="text-muted">
&copy; 2025 H&M QC Platform
</small>
</div>
<div class="col-md-6 text-end">
<small class="text-muted">
Powered by <a href="https://www.anthropic.com" target="_blank" class="text-muted">Claude AI</a>
</small>
</div>
</div>
</div>
</footer>
<!-- Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
<!-- Core JavaScript -->
<script src="{{ url_for('static', filename='js/auth.js') }}"></script>
<script src="{{ url_for('static', filename='js/tabs.js') }}"></script>
{% block extra_scripts %}{% endblock %}
</body>
</html>