config.html 1.3 KB

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