Refactor layout and styling: update HTML structure and apply Bootstrap for improved responsiveness

This commit is contained in:
Cédric OLIVIER
2026-05-22 19:06:46 +02:00
parent 8bd2b4853f
commit f6203d41b8
17 changed files with 203 additions and 984 deletions
+35 -35
View File
@@ -1,39 +1,39 @@
<header class="page-header">
<div class="d-flex flex-column flex-md-row align-items-md-center justify-content-between gap-3 mb-4">
<div>
<h1>Issues</h1>
<p>Suivi des tickets et anomalies du projet.</p>
<h1 class="h2 mb-2">Issues</h1>
<p class="text-secondary mb-0">Suivi des tickets et anomalies du projet.</p>
</div>
<button type="button" class="create-button" (click)="createIssue()">
Creer
</button>
</header>
<button type="button" class="btn btn-primary" (click)="createIssue()">Creer</button>
</div>
<section class="table-wrapper" aria-label="Tableau des issues">
<table>
<thead>
<tr>
<th>Titre</th>
<th>Type</th>
<th>Priorite</th>
<th>Statut</th>
<th>Assignee</th>
</tr>
</thead>
<tbody>
@for (issue of issues(); track issue.id) {
<tr
class="clickable-row"
tabindex="0"
(click)="openIssue(issue.id)"
(keydown.enter)="openIssue(issue.id)"
>
<td>{{ issue.name }}</td>
<td>{{ issue.type }}</td>
<td>{{ issue.priority }}</td>
<td>{{ issue.status }}</td>
<td>{{ issue.assignee }}</td>
<div class="card shadow-sm">
<div class="table-responsive">
<table class="table table-hover align-middle mb-0">
<thead class="table-light">
<tr>
<th>Titre</th>
<th>Type</th>
<th>Priorite</th>
<th>Statut</th>
<th>Assignee</th>
</tr>
}
</tbody>
</table>
</section>
</thead>
<tbody>
@for (issue of issues(); track issue.id) {
<tr
class="clickable-row"
tabindex="0"
(click)="openIssue(issue.id)"
(keydown.enter)="openIssue(issue.id)"
>
<td>{{ issue.name }}</td>
<td><span class="badge text-bg-secondary">{{ issue.type }}</span></td>
<td>{{ issue.priority }}</td>
<td>{{ issue.status }}</td>
<td>{{ issue.assignee }}</td>
</tr>
}
</tbody>
</table>
</div>
</div>