From 93af1c6ffb9ae0e894689ad3a37b548e57d54cff Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期四, 11 三月 2021 19:10:07 +0800 Subject: [PATCH] 有注释的测评系统业务代码 --- src/main/resources/templates/system/user/usermanager.html | 11 +++++------ 1 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/main/resources/templates/system/user/usermanager.html b/src/main/resources/templates/system/user/usermanager.html index f55088b..cdf15ab 100644 --- a/src/main/resources/templates/system/user/usermanager.html +++ b/src/main/resources/templates/system/user/usermanager.html @@ -45,7 +45,7 @@ <a class="btn btn-success" onclick="$.operate.addTab()" shiro:hasPermission="system:user:add"> <i class="fa fa-plus"></i>[[#{basis.add}]] </a> - <a class="btn single disabled" style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF" onclick="$.operate.editTab()" shiro:hasPermission="system:user:edit"> + <a class="btn btn-primary single disabled" onclick="$.operate.editTab()" shiro:hasPermission="system:user:edit"> <i class="fa fa-edit"></i> [[#{basis.edit}]] </a> <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:user:remove"> @@ -54,8 +54,7 @@ <a class="btn btn-info" onclick="$.table.importExcel()" shiro:hasPermission="system:user:import"> <i class="fa fa-upload"></i> [[#{basis.import}]] </a> - <a style="background-color: #a87242;border-color: #a87242;color: #FFFFFF" - class="btn" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export"> + <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:user:export"> <i class="fa fa-download"></i> [[#{basis.export}]] </a> </div> @@ -142,9 +141,9 @@ align: 'center', formatter: function(value, row, index) { var actions = []; - // actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editTab(\'' + row.userId + '\')"><i class="fa fa-edit"></i>'+[[#{basis.edit}]]+'</a> '); - // actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.userId + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a> '); - actions.push('<a class="btn btn-warning btn-xs ' + resetPwdFlag + '" href="javascript:void(0)" onclick="resetPwd(\'' + row.userId + '\')"><i class="fa fa-key"></i>'+[[#{basis.reset}]]+'</a>'); + actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.editTab(\'' + row.userId + '\')"><i class="fa fa-edit"></i>'+[[#{basis.edit}]]+'</a> '); + actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.userId + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a> '); + actions.push('<a class="btn btn-info btn-xs ' + resetPwdFlag + '" href="javascript:void(0)" onclick="resetPwd(\'' + row.userId + '\')"><i class="fa fa-key"></i>'+[[#{basis.reset}]]+'</a>'); return actions.join(''); } }] -- Gitblit v1.9.1