Created
May 11, 2020 16:54
-
-
Save coderkan/cee2851b54191c8f2680a2ef63e23d59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="card-container"> | |
<div class="card-container" style="display: block;"> | |
<p *ngFor="let emp of employes" class="card"> | |
<img src="{{ emp.emp_avatar }}" /> | |
<span>{{ emp.full_name }} </span> | |
<span class="unit-name">{{ emp.unit }} </span> | |
<i (click)="onDeleteAction(emp.id)" class="fa fa-trash delete-icon tooltip"><span class="tooltiptext"> Delete | |
This Employee</span></i> | |
</p> | |
</div> | |
<div style="text-align: center; margin-left: 30px;"> | |
<form> | |
<ul class="form-style-1"> | |
<li> | |
<label>Add Employee</label> | |
</li> | |
<li> | |
<label>Full Name <span class="required">*</span></label> | |
<input type="text" name="field1" class="field-divided" placeholder="Full Name" [(ngModel)]="employeeName" /> | |
</li> | |
<li> | |
<label>Subject</label> | |
<select name="field4" class="field-select" [(ngModel)]="selectedDepart"> | |
<option value="IT">IT</option> | |
<option value="AA">AA</option> | |
<option value="HR">HR</option> | |
</select> | |
</li> | |
<li> | |
<button (click)="onAddEmployeeAction()" type="button">Add</button> | |
</li> | |
</ul> | |
</form> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment