Files
quality_app-v2/app/templates/profile.html
Quality App Developer d5b043c762 Fix Docker build and add labels test data
- Fix Docker build issues:
  * Add missing system dependencies (build-essential, python3-dev, libpq-dev)
  * Fix requirements.txt formatting (separate Flask-Session and openpyxl)
  * Update openpyxl version to 3.1.5 (3.10.0 was invalid)
- Set proper folder permissions for Docker write access (app/ and data/)
- Add comprehensive test data for labels module:
  * 8 sample orders (TEST-ORD-001 through TEST-ORD-008)
  * Mix of printed/unprinted orders for testing
  * Various product types, customers, and delivery dates
  * Ready for QZ Tray printing functionality testing
- Include test data generation scripts for future use
- Application now fully containerized and ready for labels/printing testing
2026-02-15 12:05:20 +02:00

59 lines
2.3 KiB
HTML
Executable File

{% extends "base.html" %}
{% block title %}User Profile - Quality App v2{% endblock %}
{% block content %}
<div class="container py-5">
<div class="row">
<div class="col-md-8 mx-auto">
<div class="card shadow-sm">
<div class="card-header bg-primary text-white">
<h3 class="mb-0">
<i class="fas fa-user-circle"></i> User Profile
</h3>
</div>
<div class="card-body">
<div class="row mb-4">
<div class="col-md-3 text-center">
<div class="avatar mb-3">
<i class="fas fa-user-circle" style="font-size: 80px; color: #007bff;"></i>
</div>
</div>
<div class="col-md-9">
<table class="table table-borderless">
<tr>
<th>Username:</th>
<td>{{ user.username }}</td>
</tr>
<tr>
<th>Full Name:</th>
<td>{{ user.full_name }}</td>
</tr>
<tr>
<th>Email:</th>
<td>{{ user.email }}</td>
</tr>
<tr>
<th>Role:</th>
<td>
<span class="badge bg-info">{{ user.role.upper() }}</span>
</td>
</tr>
</table>
</div>
</div>
<hr>
<div class="mt-4">
<a href="{{ url_for('main.dashboard') }}" class="btn btn-primary">
<i class="fas fa-arrow-left"></i> Back to Dashboard
</a>
</div>
</div>
</div>
</div>
</div>
</div>
{% endblock %}