Files
EPCMS/src/main/webapp/WEB-INF/template/generateSetting/list.html
2024-04-29 17:04:35 +08:00

65 lines
2.6 KiB
HTML

<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<div class="appPage listPage">
<h1 class="page-title">代码生成规则列表</h1>
<h1 class="page-sub-title" th:text="|共${page.total}条记录|"></h1>
<form id="listForm" action="generateSetting/list.html" method="post">
<div class="toolBar">
<a class="btn activeBtn"
href="javascript:quickDialog('generateSetting/dialog/add.html')">添加代码生成规则
</a>
<a class="btn refresh">刷新</a>
<div class="filter-wrapper" data-columns="generateSetting-table">
<div class="filter-item" data-column="">
<label></label>
<input class="filter-input" type="text" name="">
</div>
<a class="confirm-button">搜索</a>
<a class="clear-filter">清除搜索</a>
</div>
</div>
<div class="tableWrap">
<table data-columns="generateSetting-table">
<thead>
<tr>
<th class="checkbox-col" data-column="#"><input class="checkbox" type="checkbox">
</th>
<th data-column=""></th>
<th data-column="##" class="options fixed">操作</th>
</tr>
</thead>
<tbody>
<tr th:each="item : ${page.content}">
<td class="checkbox-col"><input class="checkbox" type="checkbox" th:data-id="${item.id}">
</td>
<td></td>
<td class="fixed">
<a th:href="|javascript:quickDailog('generateSetting/dialog/edit.html?id=${item.id}');|">&nbsp;编辑</a>
<a th:href="|javascript:deleteConfirm('${item.id}','/admin/generateSetting/delete.html')|">&nbsp;删除</a>
</td>
</tr>
</tbody>
</table>
</div>
<div th:replace="common/pagination"></div>
</form>
<script>
initFilterWrapper();
var $table = $(".tableWrap table");
$table.selectField({
multiSelect: true,
resizable: true,
resizeMode: 'overflow',
success: function () {
initSortBar('${page.orderProperty}', '${page.orderDirection}');
}
});
var $filterWrapper = $(".toolBar .filter-wrapper");
$filterWrapper.selectFilter();
</script>
</div>
</html>