diff --git a/BTPanel/static/js/tools.js b/BTPanel/static/js/tools.js
index 34443ba6..1ab3037b 100644
--- a/BTPanel/static/js/tools.js
+++ b/BTPanel/static/js/tools.js
@@ -126,7 +126,16 @@ var bt_tools = {
event_list = $.extend(event_list, template[1]);
template = template[0];
}
- tbody += '
' + template + ' | ';
+ var fixed = false;
+ if (typeof item.fixed != "undefined" && item.fixed) {
+ if (typeof item.class != "undefined") {
+ if (item.class.indexOf('fixed') === -1) item.class += ' fixed';
+ } else {
+ item.class = 'fixed';
+ }
+ fixed = true;
+ }
+ tbody += '' + template + ' | ';
if (i === 0) {
if (!event_list[className] && item.event) event_list[className] = {
event: item.event,
@@ -539,8 +548,8 @@ var bt_tools = {
});
} else {
bt.confirm({
- title: '批量' + active.title,
- msg: '批量' + active.title + ',该操作可能会存在风险,是否继续?',
+ title: 'Batch ' + active.title,
+ msg: 'Please be cautious, The selected item will be [ '+active.title+' ] after confirmation',
}, function (index) {
layer.close(index)
if(!active.recursion){
@@ -697,7 +706,7 @@ var bt_tools = {
var _text = $(this).text(),
_index = $(this).index();
$(this).addClass('active').siblings().removeClass('active');
- $(_that.config.el + ' .bt_select_tips').html('Batch execute' + _text + '('+lan.site.have_been_selected + _that.checkbox_list.length + ')');
+ $(_that.config.el + ' .bt_select_tips').html('Batch execute ' + _text + '('+lan.site.have_been_selected + _that.checkbox_list.length + ')');
_that.batch_active = batch_list[_index];
if (!_that.checked) $('.bt_table_select_group').removeClass('active');
});