Commit 97d0ddf7 by Nattana Chaiyamat

เพิ่มหน้า datasource table

parent ab7fc0c4
......@@ -57,14 +57,6 @@
</div>
<div class="row align-items-center mb-2">
<div class="col-4 col-lg-3 text-right">
Status
</div>
<div class="col-8 col-lg-3">
<input type="text" class="form-control" [(ngModel)]="datasourceTable.select.status">
</div>
</div>
<div class="row align-items-center mb-2">
<div class="col-4 col-lg-3 text-right">
User Name
</div>
<div class="col-8 col-lg-3">
......@@ -82,6 +74,20 @@
<i class="fa fa-eye cursor-pointer" *ngIf="showPassword" (click)="showPassword=false"></i>
<i class="fa fa-eye-slash cursor-pointer" *ngIf="!showPassword" (click)="showPassword=true"></i>
</div>
<div class="row align-items-center mb-2">
<div class="col-4 col-lg-3 text-right">
Status
</div>
<div class="col-8 col-lg-3">
<select class="custom-select" [(ngModel)]="datasourceTable.select.status">
<option style="color: red" [class.d-none]="datasourceTable.select.status==''" [value]="''">
{{datasourceTable.select.status!=''?'ยกเลิก':''}}</option>
<option value="online">online</option>
<option value="offline">offline</option>
</select>
<input type="text" class="form-control" [(ngModel)]="datasourceTable.select.status">
</div>
</div>
<div class="row justify-content-center align-items-center mb-2">
<button type="button" class="btn btn-info" (click)="postData()">บันทึก</button>
&nbsp;
......@@ -156,7 +162,8 @@
&nbsp;
<i class="cursor-pointer fa fa-eye" *ngIf="tableShowPassword.get(item.userName)"
(click)="tableShowPassword.set(item.userName,false)"></i>
<i class="cursor-pointer fa fa-eye-slash" *ngIf="!tableShowPassword.get(item.userName)"
<i class="cursor-pointer fa fa-eye-slash"
*ngIf="!tableShowPassword.get(item.userName)"
(click)="tableShowPassword.set(item.userName,true)"></i>
</td>
</tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment