From 5e873863bc7324894c89b0a0fc77a6202c91cd64 Mon Sep 17 00:00:00 2001
From: wzp <516075396@qq.com>
Date: 星期二, 06 四月 2021 10:35:42 +0800
Subject: [PATCH] 20210406
---
src/main/resources/templates/exam/template/template.html | 27 +++++++++++++++------------
1 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/src/main/resources/templates/exam/template/template.html b/src/main/resources/templates/exam/template/template.html
index f977352..5e81112 100644
--- a/src/main/resources/templates/exam/template/template.html
+++ b/src/main/resources/templates/exam/template/template.html
@@ -44,13 +44,15 @@
<a class="btn btn-success" onclick="$.operate.addTab()" shiro:hasPermission="exam:template:add">
<i class="fa fa-plus"></i> [[#{dict.ic18}]]
</a>
- <a class="btn btn-primary single disabled" onclick="$.operate.editTab()" shiro:hasPermission="exam:template:edit">
+ <a style="background-color: #7b76b7;border-color: #7b76b7;color: #FFFFFF"
+ class="btn single disabled" onclick="$.operate.editTab()" shiro:hasPermission="exam:template:edit">
<i class="fa fa-edit"></i> [[#{dict.ic19}]]
</a>
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="exam:template:remove">
<i class="fa fa-remove"></i> [[#{dict.ic20}]]
</a>
- <a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="exam:template:export">
+ <a style="background-color: #a87242;border-color: #a87242;color: #FFFFFF"
+ class="btn" onclick="$.table.exportExcel()" shiro:hasPermission="exam:template:export">
<i class="fa fa-download"></i> [[#{dict.ic22}]]
</a>
</div>
@@ -113,16 +115,17 @@
field : 'remark',
title : [[#{basis.remark}]]
},
- {
- title: [[#{operating.operating}]],
- 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.id + '\')"><i class="fa fa-edit"></i>[[#{menu.exam.distributor.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>[[#{dict.ic20}]]</a>');
- return actions.join('');
- }
- }]
+ // {
+ // title: [[#{operating.operating}]],
+ // 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.id + '\')"><i class="fa fa-edit"></i>[[#{menu.exam.distributor.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>[[#{dict.ic20}]]</a>');
+ // return actions.join('');
+ // }
+ // }
+ ]
};
$.table.init(options);
});
--
Gitblit v1.9.1