Files
RuoYi/src/main/resources/templates/vm/html/list.html.vm

25 lines
1.3 KiB
Plaintext
Raw Normal View History

2018-04-23 00:00:29 +08:00
<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content">
<div class="btn-group hidden-xs" id="tableToolbar" role="group">
<button type="button" class="btn btn-outline btn-default" th:onclick="'javascript:add()'" shiro:hasPermission="${moduleName}:${classname}:add">
<i class="glyphicon glyphicon-plus"></i>
</button>
<button type="button" class="btn btn-outline btn-default" th:onclick="'javascript:batchRemove()'" shiro:hasPermission="${moduleName}:${classname}:batchRemove">
<i class="glyphicon glyphicon-trash"></i>
</button>
</div>
<table class="bootstrap-table" data-mobile-responsive="true">
</table>
</div>
<div th:include="include :: footer"></div>
2018-05-03 10:17:43 +08:00
<script src="/ruoyi/${moduleName}/${classname}/${classname}.js" th:src="/ruoyi/${moduleName}/${classname}/${classname}.js"></script>
2018-04-28 21:39:42 +08:00
<script th:inline="javascript">
2018-04-23 00:00:29 +08:00
var editFlag = [[${@permissionService.hasPermi('${moduleName}:${classname}:edit')}]];
var removeFlag = [[${@permissionService.hasPermi('${moduleName}:${classname}:remove')}]];
</script>
</body>
</html>