OpenSTR/app/templates/technician/dashboard.html

44 lines
No EOL
1.4 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Technician Dashboard</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}">
</head>
<body>
{% include 'base.html' %}
<div class="container">
<h1>Technician Dashboard</h1>
<div class="repair-status">
<h2>Repair Status Overview</h2>
<ul>
<li>Submitted Repairs: {{ submitted_count }}</li>
<li>In Progress Repairs: {{ in_progress_count }}</li>
<li>Completed Repairs: {{ completed_count }}</li>
</ul>
</div>
<div class="repair-list">
<h2>Repairs</h2>
<table>
<thead>
<tr>
<th>Device</th>
<th>Status</th>
<th>Technician Notes</th>
</tr>
</thead>
<tbody>
{% for repair in repairs %}
<tr>
<td>{{ repair.device_name }}</td>
<td>{{ repair.status }}</td>
<td>{{ repair.notes }}</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
</body>
</html>