Commit 46a953d4 by Ooh-Ao

checkbox

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