From 8728733ad60e1698bb6cf0fa2e428c28a6bffbe7 Mon Sep 17 00:00:00 2001 From: linzhijie <19970921lzj> Date: 星期二, 06 四月 2021 10:34:12 +0800 Subject: [PATCH] 需求提交。 --- src/main/resources/templates/exam/test_package/test_package.html | 18 +++++++----------- 1 files changed, 7 insertions(+), 11 deletions(-) diff --git a/src/main/resources/templates/exam/test_package/test_package.html b/src/main/resources/templates/exam/test_package/test_package.html index 682f0eb..0d36314 100644 --- a/src/main/resources/templates/exam/test_package/test_package.html +++ b/src/main/resources/templates/exam/test_package/test_package.html @@ -16,7 +16,7 @@ </li> <li> <p>[[#{basis.name}]]锛�</p> - <input type="text" name="testName"/> + <input type="text" name="testName" th:value="${testName}"/> </li> <li> <p>[[#{basis.type}]]锛�</p> @@ -77,8 +77,7 @@ <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="exam:test_package:add"> <i class="fa fa-plus"></i> [[#{basis.create}]] </a> - <a style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF" - class="btn single disabled" onclick="$.operate.edit()" + <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="exam:test_package:edit"> <i class="fa fa-edit"></i> [[#{basis.edit}]] </a> @@ -86,16 +85,13 @@ shiro:hasPermission="exam:test_package:remove"> <i class="fa fa-remove"></i> [[#{basis.del}]] </a> - <a style="background-color: #a87242;border-color: #a87242;color: #FFFFFF" - class="btn" onclick="$.table.exportExcel()" shiro:hasPermission="exam:test_package:export"> + <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="exam:test_package:export"> <i class="fa fa-download"></i> [[#{basis.export}]] </a> - <a style="background-color: #6fcef3;border-color: #6fcef3;color: #FFFFFF" - class="btn" onclick="javascript:recover()" shiro:hasPermission="exam:test_package:recover"> + <a class="btn btn-default" onclick="javascript:recover()" shiro:hasPermission="exam:test_package:recover"> <i class="fa fa-address-book"></i> [[#{jsp.exam.test_package.006}]] </a> - <a style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF" - class="btn" onclick="javascript:testReport()" shiro:hasPermission="exam:test_package:testreport"> + <a class="btn btn-warning" onclick="javascript:testReport()" shiro:hasPermission="exam:test_package:testreport"> <i class="fa fa-download"></i> [[#{jsp.exam.test_package.007}]] </a> </div> @@ -239,8 +235,8 @@ align: 'center', formatter: function (value, row, index) { var actions = []; - // actions.push('<a class="btn btn-info btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><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.id + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a>'); + actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><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.id + '\')"><i class="fa fa-remove"></i>'+[[#{basis.del}]]+'</a>'); return actions.join(''); } }] -- Gitblit v1.9.1