hemat_solution/src/app/content/hemat-app/master/add-edit-master/add-edit-master.component.html
2024-06-21 14:25:14 +07:00

57 lines
1.7 KiB
HTML

<div class="modal-header" style="background-color: #000000 !important">
<h4 class="modal-title" style="color: #ffffff">Add New Row</h4>
<button type="button" class="close" aria-label="Close">
<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body" style="background-color: #000000 !important">
<form [formGroup]="myForm">
<div class="form-row">
<div class="form-group col-md-6">
<label for="name" style="color: #ffffff">Name:</label>
<input
type="text"
class="form-control"
id="name"
formControlName="name"
/>
</div>
<div class="form-group col-md-6">
<label for="status" style="color: #ffffff">Icon:</label>
<app-select-icon (iconSelected)="onIconSelected($event)"></app-select-icon>
</div>
<div class="form-group col-md-6">
<label for="status" style="color: #ffffff">Status:</label>
<select
id="projectinput5"
class="form-control"
formControlName="status"
>
<option *ngFor="let data of dataMasterStatus" [value]="data.id">
{{ data.name }}
</option>
</select>
</div>
</div>
</form>
</div>
<div class="modal-footer" style="background-color: #000000 !important">
<button
type="button"
class="btn btn-secondary"
style="color: #c3f164 !important; background-color: #000000 !important; border-color: #c3f164 !important;"
(click)="activeModal.dismiss('Cross click')"
>
Close
</button>
<button
type="button"
style="color: #000000 !important; background-color: #c3f164 !important"
class="btn btn-primary"
(click)="addRow()"
>
Save Changes
</button>
</div>