Commit 46a953d4 by Ooh-Ao

checkbox

parent 380b4750
......@@ -7,13 +7,13 @@
<input type="checkbox" class="ti-form-checkbox mt-0.5" id="hs-checkbox-group-1">
<label for="hs-checkbox-group-1" class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70">0 Selected</label>
</div>
<div class="flex items-center">
<i (click)="toggleCheckbox()" [ngClass]="{'ri-checkbox-multiple-line': !isChecked, 'ri-checkbox-multiple-fill': isChecked}"
class="ri-checkbox-multiple-line text-gray-500 dark:text-white/70"></i>
<label for="hs-checkbox-group-2" class="text-sm text-gray-500 ltr:ml-2 rtl:mr-2 dark:text-white/70" (click)="toggleCheckbox()">Select All</label>
</div>
</div> -->
</div>
......@@ -66,11 +66,11 @@
<tbody>
<tr>
<td class="text-base font-bold" style="height: 70px;">ผ่าน<br>(ไม่ติดGAP)</td>
<td><input type="radio" name="score5" value="5"></td>
<td><input type="radio" name="score4" value="4"></td>
<td><input type="radio" name="score3" value="3"></td>
<td><input type="radio" name="score2" value="2"></td>
<td><input type="radio" name="score1" value="1"></td>
<td><input type="checkbox" name="score5" value="5"></td>
<td><input type="checkbox" name="score4" value="4"></td>
<td><input type="checkbox" name="score3" value="3"></td>
<td><input type="checkbox" name="score2" value="2"></td>
<td><input type="checkbox" name="score1" value="1"></td>
</tr>
<!-- เพิ่มแถวเพิ่มเติมถ้าต้องการ -->
</tbody>
......@@ -105,27 +105,27 @@
<tbody>
<tr>
<td>1</td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>2</td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>3</td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
</tr>
<tr>
<td>4</td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="radio"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
<td><input type="checkbox"></td>
</tr>
</tbody>
</table>
......@@ -652,4 +652,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