post.html 1.2 KB

123456789101112131415161718192021222324252627
  1. <!DOCTYPE html>
  2. <html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
  3. xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  4. <meta charset="utf-8">
  5. <head th:include="include :: header"></head>
  6. <body class="gray-bg">
  7. <div class="wrapper wrapper-content">
  8. <div class="btn-group hidden-xs" id="tableToolbar" role="group">
  9. <button class="btn btn-outline btn-default" onclick="javascript:add()" shiro:hasPermission="system:post:add">
  10. <i class="fa fa-plus"></i> 新增
  11. </button>
  12. <button class="btn btn-outline btn-default" onclick="javascript:batchRemove()" shiro:hasPermission="system:post:batchRemove">
  13. <i class="fa fa-trash-o"></i> 删除
  14. </button>
  15. </div>
  16. <table class="bootstrap-table" data-mobile-responsive="true"
  17. data-sort-name="post_sort" data-sort-order="asc">
  18. </table>
  19. </div>
  20. <div th:include="include :: footer"></div>
  21. <script src="/ruoyi/system/post/post.js" th:src="@{/ruoyi/system/post/post.js}"></script>
  22. <script th:inline="javascript">
  23. var editFlag = [[${@permissionService.hasPermi('system:post:edit')}]];
  24. var removeFlag = [[${@permissionService.hasPermi('system:post:remove')}]];
  25. </script>
  26. </body>
  27. </html>