初始版本
This commit is contained in:
27
src/main/webapp/WEB-INF/template/extraField/list.html
Normal file
27
src/main/webapp/WEB-INF/template/extraField/list.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||
<div class="appPage listPage">
|
||||
<form id="listForm">
|
||||
<div class="tableWrap">
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="sort-bar">名称</th>
|
||||
<th class="options">操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr th:each="item : ${list}">
|
||||
<td th:text="${item.name}"></td>
|
||||
<td>
|
||||
<shiro:hasPermission name="extraField:edit">
|
||||
<a data-permission="extraField:edit" th:href="|javascript:Dialog.functionDialog(null, null, 'extraField/dialog/edit.html?space=${item.key}&title=${item.name}')|"> 设置</a>
|
||||
</shiro:hasPermission>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</html>
|
||||
Reference in New Issue
Block a user