holiday_list.html 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <!DOCTYPE HTML>
  2. <html xmlns:th="http://www.thymeleaf.org"
  3. xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
  4. layout:decorate="~{admin/common/common}">
  5. <head>
  6. <title>节假日配置信息列表</title>
  7. </head>
  8. <body layout:fragment="content">
  9. <nav class="breadcrumb">
  10. <i class="Hui-iconfont">&#xe67f;</i>
  11. 首页
  12. <span class="c-gray en">&gt;</span>节假日管理
  13. <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" >
  14. <i class="Hui-iconfont">&#xe68f;</i>
  15. </a>
  16. </nav>
  17. <form id="myForm" th:action="@{/super/holidayList}" th:method="get">
  18. <div class="page-container">
  19. <div class="cl pd-5 bg-1 bk-gray mt-20">
  20. <span class="l">
  21. <a href="javascript:;" th:onclick="'javascript:holiday_add(\'新增假日信息\',\'/super/holiday/add\',\'800\',\'500\');'" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i>新增</a>
  22. </span>
  23. <span class="r">共有数据:<strong th:text="${pageInfo?.total}" id="total">54</strong> 条</span>
  24. </div>
  25. <table class="table table-border table-bordered table-bg table-hover">
  26. <thead>
  27. <tr class="text-c">
  28. <th>编号</th>
  29. <th>名称</th>
  30. <th>年份</th>
  31. <th>配置信息</th>
  32. <th width="100">操作</th>
  33. </tr>
  34. </thead>
  35. <tbody>
  36. <tr class="text-c" th:each="model,iterStat:${pageInfo.list}" th:object="${model}">
  37. <td><input type="hidden" th:id="*{id}" value="" name=""/><span th:text="${iterStat.index+1}" ></span></td>
  38. <td th:text="*{configName}"></td>
  39. <td th:text="*{configKey}"></td>
  40. <td th:text="*{configValue}"></td>
  41. <td class="td-manage">
  42. <a title="修改" href="javascript:;" th:onclick="'javascript:holiday_edit(\'修改假日数据\',\'/super/holiday/edit/'+*{id}+'\',\'800\',\'500\');'" class="ml-5" style="text-decoration:none">修改</a>
  43. <a title="删除" href="javascript:;" th:onclick="'javascript:holiday_del(\'/super/holiday/delete/'+*{id}+'\');'" class="ml-5" style="text-decoration:none">删除</a>
  44. </td>
  45. </tr>
  46. </tbody>
  47. </table>
  48. <div th:replace="admin/common/page :: page"></div>
  49. </div>
  50. </form>
  51. <script type="text/javascript" th:src="@{/js/common/page.js}"></script>
  52. <script type="text/javascript" th:src="@{/js/super/holiday/holiday_list.js}"></script>
  53. <script th:inline="javascript">
  54. </script>
  55. </body>
  56. </html>