|
|
|
|
@ -40,9 +40,9 @@ var abp = abp || {};
|
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
if (fieldItem.icon !== undefined && fieldItem.icon) {
|
|
|
|
|
$a.append($("<i>").addClass("fa fa-" + fieldItem.icon + " mr-1"));
|
|
|
|
|
$a.append($("<i>").addClass("fa fa-" + fieldItem.icon + " me-1"));
|
|
|
|
|
} else if (fieldItem.iconClass) {
|
|
|
|
|
$a.append($("<i>").addClass(fieldItem.iconClass + " mr-1"));
|
|
|
|
|
$a.append($("<i>").addClass(fieldItem.iconClass + " me-1"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$a.append(htmlEncode(fieldItem.text));
|
|
|
|
|
@ -84,9 +84,9 @@ var abp = abp || {};
|
|
|
|
|
$button.html(firstItem.text);
|
|
|
|
|
} else {
|
|
|
|
|
if (firstItem.icon !== undefined && firstItem.icon) {
|
|
|
|
|
$button.append($("<i>").addClass("fa fa-" + firstItem.icon + " mr-1"));
|
|
|
|
|
$button.append($("<i>").addClass("fa fa-" + firstItem.icon + " me-1"));
|
|
|
|
|
} else if (firstItem.iconClass) {
|
|
|
|
|
$button.append($("<i>").addClass(firstItem.iconClass + " mr-1"));
|
|
|
|
|
$button.append($("<i>").addClass(firstItem.iconClass + " me-1"));
|
|
|
|
|
}
|
|
|
|
|
$button.append(htmlEncode(firstItem.text));
|
|
|
|
|
}
|
|
|
|
|
@ -124,11 +124,11 @@ var abp = abp || {};
|
|
|
|
|
var $dropdownButton = $('<button/>');
|
|
|
|
|
|
|
|
|
|
if (field.icon !== undefined && field.icon) {
|
|
|
|
|
$dropdownButton.append($("<i>").addClass("fa fa-" + field.icon + " mr-1"));
|
|
|
|
|
$dropdownButton.append($("<i>").addClass("fa fa-" + field.icon + " me-1"));
|
|
|
|
|
} else if (field.iconClass) {
|
|
|
|
|
$dropdownButton.append($("<i>").addClass(field.iconClass + " mr-1"));
|
|
|
|
|
$dropdownButton.append($("<i>").addClass(field.iconClass + " me-1"));
|
|
|
|
|
} else {
|
|
|
|
|
$dropdownButton.append($("<i>").addClass("fa fa-cog mr-1"));
|
|
|
|
|
$dropdownButton.append($("<i>").addClass("fa fa-cog me-1"));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (field.text) {
|
|
|
|
|
|