Commit 21892507 by Ooh-Ao

databank

parent 7cbae805
...@@ -25,8 +25,7 @@ ...@@ -25,8 +25,7 @@
<table class="ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered"> <table class="ti-custom-table ti-custom-table-head ti-custom-table-hover table-bordered">
<thead> <thead>
<tr> <tr>
<ng-container <ng-container *ngFor="let item of ['รหัส','ชื่อหัวข้อ','ประเมิน','การจัดการ']; let f = first; let l = last">
*ngFor="let item of ['รหัส','ชื่อหัวข้อ','ประเมิน','การจัดการ']; let f = first; let l = last">
<th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary !text-center"> <th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary !text-center">
<span class="font-size-12px font-weight-700">{{ item }}</span> <span class="font-size-12px font-weight-700">{{ item }}</span>
<div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l"> <div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="!l">
...@@ -52,8 +51,8 @@ ...@@ -52,8 +51,8 @@
<td>{{item.name}}</td> <td>{{item.name}}</td>
<td class="text-center">{{item.type}}</td> <td class="text-center">{{item.type}}</td>
<td class="flex justify-center"> <td class="flex justify-center">
<i class="ti ti-edit cursor-pointer i-gray fs-l px-1" <i class="ti ti-eye cursor-pointer i-gray fs-l px-1"></i>
(click)="editTab=true;pathTitleChange()"></i> <i class="ti ti-edit cursor-pointer i-gray fs-l px-1" (click)="editTab=true;pathTitleChange()"></i>
<i class="ti ti-file-download cursor-pointer i-gray fs-l px-1"></i> <i class="ti ti-file-download cursor-pointer i-gray fs-l px-1"></i>
</td> </td>
</tr> </tr>
...@@ -93,8 +92,8 @@ ...@@ -93,8 +92,8 @@
</ul> </ul>
<ul class="nav-tabs mt-3"> <ul class="nav-tabs mt-3">
<span>Show {{((currentPage-1) * 10)+1}} to {{dataListFilter().length<10 ?dataListFilter().length: <span>Show {{((currentPage-1) * 10)+1}} to {{dataListFilter().length<10 ?dataListFilter().length:
(currentPage==page.length ? ((currentPage * 10) - ((currentPage * 10) - dataListFilter().length) (currentPage==page.length ? ((currentPage * 10) - ((currentPage * 10) - dataListFilter().length) )
) :(currentPage * 10) ) }} of {{dataListFilter().length}} items</span> :(currentPage * 10) ) }} of {{dataListFilter().length}} items</span>
</ul> </ul>
</nav> </nav>
</div> </div>
......
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