MDL-72928 login: Update styling and functionality

This commit is contained in:
Mathew May
2022-02-11 12:01:26 +08:00
parent 5897242361
commit ecb92c7ed9
16 changed files with 358 additions and 176 deletions
+7 -7
View File
@@ -1416,13 +1416,13 @@ class block_manager {
$str,
[
'class' => 'editing_delete',
'data-confirmation' => 'modal',
'data-confirmation-title-str' => json_encode(['deletecheck_modal', 'block']),
'data-confirmation-question-str' => json_encode(['deleteblockcheck', 'block', $blocktitle]),
'data-confirmation-yes-button-str' => json_encode(['delete', 'core']),
'data-confirmation-toast' => 'true',
'data-confirmation-toast-confirmation-str' => json_encode(['deleteblockinprogress', 'block', $blocktitle]),
'data-confirmation-destination' => $deleteconfirmationurl->out(false),
'data-modal' => 'confirmation',
'data-modal-title-str' => json_encode(['deletecheck_modal', 'block']),
'data-modal-content-str' => json_encode(['deleteblockcheck', 'block', $blocktitle]),
'data-modal-yes-button-str' => json_encode(['delete', 'core']),
'data-modal-toast' => 'true',
'data-modal-toast-confirmation-str' => json_encode(['deleteblockinprogress', 'block', $blocktitle]),
'data-modal-destination' => $deleteconfirmationurl->out(false),
]
);
}