Browse Source
use outline variation for sweetalert modals
pull/18842/head
Enis Necipoglu
3 years ago
No known key found for this signature in database
GPG Key ID: 1EC55E13241E1680
1 changed files with
7 additions and
0 deletions
-
framework/src/Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared/wwwroot/libs/abp/aspnetcore-mvc-ui-theme-shared/sweetalert2/abp-sweetalert2.js
|
|
|
@ -103,6 +103,13 @@ var abp = abp || {}; |
|
|
|
abp.libs.sweetAlert.config.default.confirmButtonText = l('Ok'); |
|
|
|
abp.libs.sweetAlert.config.default.denyButtonText = l('No'); |
|
|
|
abp.libs.sweetAlert.config.default.cancelButtonText = l('Cancel'); |
|
|
|
abp.libs.sweetAlert.config.default.buttonsStyling = false; |
|
|
|
abp.libs.sweetAlert.config.default.customClass = { |
|
|
|
confirmButton: "btn btn-primary", |
|
|
|
cancelButton: "btn btn-outline-primary me-1", |
|
|
|
denyButton: "btn btn-outline-primary me-1" |
|
|
|
}; |
|
|
|
|
|
|
|
abp.libs.sweetAlert.config.confirm.title = l('AreYouSure'); |
|
|
|
abp.libs.sweetAlert.config.confirm.confirmButtonText = l('Yes'); |
|
|
|
abp.libs.sweetAlert.config.confirm.showCancelButton = true; |
|
|
|
|