<!DOCTYPE html>
<html lang="ko" xmlns:th="http://www.thymeleaf.org">
<table>
  <tr class="configTr" th:each="dashboardConfig:${dashboardConfigList}">
    <td><input type="checkbox" class="configChkBox" th:data-menukey="${dashboardConfig.menuKey}"></td>
    <td>
      <input type="text" class="border-0 orderNumInput" th:value="${dashboardConfig.orderNum}" readonly>
    </td>
    <th:block th:each="commonCode:${session.commonCode.get('CAT1')}">
      <td th:if="${commonCode.itemCd eq dashboardConfig.cat1Cd}" th:text="${commonCode.itemValue}"></td>
    </th:block>
    <th:block th:if="${#strings.isEmpty(dashboardConfig.cat2Cd)}"><td></td></th:block>
    <th:block th:unless="${#strings.isEmpty(dashboardConfig.cat2Cd)}" th:each="commonCode:${session.commonCode.get('CAT2')}">
      <td th:if="${commonCode.itemCd eq dashboardConfig.cat2Cd}" th:text="${commonCode.itemValue}"></td>
    </th:block>
    <th:block th:if="${#strings.isEmpty(dashboardConfig.cat3Cd)}"><td></td></th:block>
    <th:block th:unless="${#strings.isEmpty(dashboardConfig.cat3Cd)}" th:each="commonCode:${session.commonCode.get('CAT3')}">
      <td th:if="${commonCode.itemCd eq dashboardConfig.cat3Cd}" th:text="${commonCode.itemValue}"></td>
    </th:block>
    <td th:text="${dashboardConfig.menuUrl}"></td>
    <td class="moveTd">
      <input type="button" class="btn btn-sm btn-outline-dark upBtn" value="▲">
      <input type="button" class="btn btn-sm btn-outline-dark downBtn" value="▼">
    </td>
  </tr>
</table>