Little test with AI + Add the equipment #8

Merged
sandre merged 29 commits from feature/by-ai into master 2026-05-16 09:24:15 +00:00
5 changed files with 25 additions and 24 deletions
Showing only changes of commit b441ad7d5d - Show all commits
@@ -1,10 +1,10 @@
<form (ngSubmit)="updateGear()">
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_Name" | translate }}</mat-label>
<input
type="text"
matInput
placeholder="Name"
name="name"
[(ngModel)]="gear.name"
name="name"
@@ -14,79 +14,73 @@
</p>
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_Manufacturer" | translate }}</mat-label>
<input
type="text"
matInput
placeholder="Manufacturer"
name="manufacturer"
[(ngModel)]="gear.manufacturer"
name="manufacturer"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_MinSize" | translate }}Min size</mat-label>
<input
type="text"
matInput
placeholder="minSize"
name="minSize"
[(ngModel)]="gear.minSize"
name="minSize"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_MaxSize" | translate }}</mat-label>
<input
type="text"
matInput
placeholder="maxSize"
name="maxSize"
[(ngModel)]="gear.maxSize"
name="maxSize"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_AAD" | translate }}</mat-label>
<input
type="text"
matInput
placeholder="aad"
name="aad"
[(ngModel)]="gear.aad"
name="aad"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_MainCanopy" | translate }}</mat-label>
<input
type="text"
matInput
placeholder="mainCanopy"
name="mainCanopy"
[(ngModel)]="gear.mainCanopy"
name="mainCanopy"
type="text"
/>
</mat-form-field>
</p>
<p>
<mat-form-field>
<mat-label>{{ "GearInfos_ReserveCanopy" | translate }}</mat-label>
<input
type="text"
matInput
placeholder="reserveCanopy"
name="reserveCanopy"
[(ngModel)]="gear.reserveCanopy"
name="reserveCanopy"
type="text"
/>
</mat-form-field>
</p>
@@ -71,14 +71,6 @@
{{ element.reserveCanopy }}
</td>
</ng-container>
<ng-container matColumnDef="equipment">
<th mat-header-cell *matHeaderCellDef>
{{ "ListGears_Header_Equipment" | translate }}
</th>
<td mat-cell *matCellDef="let element">
{{ element.equipment }}
</td>
</ng-container>
<ng-container matColumnDef="actions">
<th
mat-header-cell
@@ -36,7 +36,6 @@ export class ListOfGearsComponent implements OnInit {
"aad",
"mainCanopy",
"reserveCanopy",
"equipment",
"actions",
];
public dataSourceTable: MatTableDataSource<GearResp>;
@@ -144,5 +144,13 @@
"UserProfile_Mail": "E-mail",
"UserProfile_Lastname": "Lastname",
"UserProfile_Firstname": "Firstname",
"UserProfile_Login": "Login"
"UserProfile_Login": "Login",
"GearInfos_Name": "Name",
"GearInfos_Manufacturer": "Manufacturer",
"GearInfos_MinSize": "Min size",
"GearInfos_MaxSize": "Max size",
"GearInfos_AAD": "AAD system",
"GearInfos_MainCanopy": "Main canopy",
"GearInfos_ReserveCanopy": "Reserve canopy"
}
@@ -144,5 +144,13 @@
"UserProfile_Mail": "E-mail",
"UserProfile_Lastname": "Nom",
"UserProfile_Firstname": "Prénom",
"UserProfile_Login": "Identifiant"
"UserProfile_Login": "Identifiant",
"GearInfos_Name": "Nom",
"GearInfos_Manufacturer": "Fabriquant",
"GearInfos_MinSize": "Taille min",
"GearInfos_MaxSize": "Taile max",
"GearInfos_AAD": "Système de sécurité",
"GearInfos_MainCanopy": "Voile principale",
"GearInfos_ReserveCanopy": "Voile de secours"
}