created quality page

This commit is contained in:
2025-04-23 16:34:42 +03:00
parent d6cd4d0e69
commit 3ecd0e1361
7 changed files with 421 additions and 7 deletions

View File

@@ -3,14 +3,28 @@
{% block title %}Dashboard{% endblock %}
{% block content %}
<div class="card-container">
<div class="card">
<div class="dashboard-container">
<!-- Row of evenly distributed cards -->
<div class="dashboard-card">
<h3>Accesare modul scanare</h3>
<p>Modul de scanare finala a comenzilor de productie</p>
<a href="{{ url_for('main.scan') }}" class="btn">Lansare modul de scanare</a>
</div>
<div class="card">
<div class="dashboard-card">
<h3>Accesare modul calitate</h3>
<p>Modul de verificare si configurare setari calitate.</p>
<a href="{{ url_for('main.quality') }}" class="btn">Lansare modul calitate</a>
</div>
<div class="dashboard-card">
<h3>Accesare modul magazie</h3>
<p>Modul pentru managementul magaziei</p>
<a href="{{ url_for('main.warehouse') }}" class="btn">Lansare modul Magazie</a>
</div>
<div class="dashboard-card">
<h3>Manage Settings</h3>
<p>Access and manage application settings.</p>
<a href="{{ url_for('main.settings') }}" class="btn">Access Settings Page</a>

View File

@@ -1,6 +1,36 @@
{% extends "base.html" %}
{% block title %}Quality Module{% endblock %}
{% block content %}
<h2>Quality Module</h2>
<p>Welcome to the Quality Module.</p>
<div class="scan-container">
<!-- Reports Card -->
<div class="card scan-form-card">
<h3>Rapoarte</h3>
<div class="form-centered">
<button class="btn report-btn" data-report="1">Report 1</button>
<button class="btn report-btn" data-report="2">Report 2</button>
<button class="btn report-btn" data-report="3">Report 3</button>
<button class="btn report-btn" data-report="4">Report 4</button>
<button class="btn report-btn" data-report="5">Report 5</button>
</div>
<div class="form-centered">
<button class="btn export-btn" id="export-csv">Export the current report as CSV</button>
<button class="btn export-btn" id="export-pdf">Export the current report as PDF</button>
</div>
</div>
<!-- Data Display Card -->
<div class="card scan-table-card">
<h3 id="report-title">No data to display, please select a report.</h3>
<table class="scan-table" id="report-table">
<thead>
<tr>
<!-- Table headers will be dynamically populated -->
</tr>
</thead>
<tbody>
<!-- Table data will be dynamically populated -->
</tbody>
</table>
</div>
</div>
{% endblock %}