Commit d46462ae by Ooh-Ao

การจัดการ

parent 08b7c257
......@@ -60,9 +60,7 @@
<tr class="font-size-12px">
<ng-container
*ngFor="let item of ['รหัสเกรด','รายละเอียดเอกสาร','เกรด','คะแนนสูงสุด','คะแนนต่ำสุด','น้ำหนัก','การจัดการ']; let f = first; let l = last; let i = index">
<th scope="col" class="relative px-10px py-10px bg-soft-secondary text-primary"
[class.!text-center]="item === 'รหัสเกรด' || item === 'เกรด' || item === 'คะแนนสูงสุด' || item === 'คะแนนต่ำสุด' || item === 'น้ำหนัก'"
[class.text-center]="!(item === 'รายละเอียดเอกสาร')">
<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>
<div class="absolute top-1/2 transform -translate-y-1/2 right-0" *ngIf="f && l">
<i class="ti ti-dots-vertical fs-l"></i>
......@@ -89,9 +87,9 @@
<td style="width: 40%; padding-left: 25px;">{{item.details}}</td>
<td class="text-center" style="width: 15%;">{{item.grade}}</td>
<td class="text-center" style="width: 15%;">{{item.highscore}}</td>
<td class="text-center" style="width: 15%;">{{item.lowscore}}</td>
<td class="text-center" style="width: 15%;">{{item.weight}}</td>
<td class="flex justify-center">
<td class="text-center" style="width: 10%;">{{item.lowscore}}</td>
<td class="text-center" style="width: 10%;">{{item.weight}}</td>
<td class="text-center" style="width: 10%;">
<i class="ti ti-edit cursor-pointer i-gray fs-l px-1" (click)="modalStatus='edit'"
data-hs-overlay="#sub-grade-registration-modal"></i>
<i class="ti ti-trash cursor-pointer i-gray fs-l px-1"
......@@ -366,4 +364,4 @@
</div>
</div>
</div>
</div>
\ No newline at end of file
</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