This repository has been archived on 2026-05-01. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
PolyNotFound/src/app/advertiser/popup-add-or-update-ad/popup-add-or-update-ad.component.html
2021-11-01 11:59:20 +01:00

44 lines
1.4 KiB
HTML

<div [class]="themeService.getClassTheme()">
<!-- Navbar -->
<h1 mat-dialog-title>{{title}}</h1>
<!-- --------------------------------------------------------------------------------------------- -->
<mat-dialog-content>
<!-- Title -->
<mat-form-field appearance="fill">
<mat-label> Titre annonce </mat-label>
<input matInput type="text" [(ngModel)]="advert.title">
</mat-form-field>
<!-- Images -->
<br>
<mat-form-field appearance="fill">
<input matInput type="file" disabled>
</mat-form-field>
<!-- Tags -->
<app-bar-tags [myTags]="advert.tags" (eventEmitter)="onEventBarTags($event)"></app-bar-tags>
<!-- Comments -->
<mat-form-field class="commentContainer" appearance="fill">
<mat-label> Commentaire </mat-label>
<textarea matInput [(ngModel)]="advert.comment"></textarea>
</mat-form-field><br>
<!-- IsVisible -->
<mat-checkbox [(ngModel)]="advert.isVisible"> Visible </mat-checkbox>
</mat-dialog-content>
<!-- --------------------------------------------------------------------------------------------- -->
<!-- Actions -->
<mat-dialog-actions align="end">
<button mat-button (click)="dialogRef.close()">Annuler</button>
<button mat-button (click)="onValidate()" cdkFocusInitial>Valider</button>
</mat-dialog-actions>
</div>