first commit

This commit is contained in:
2020-06-08 23:57:36 +02:00
commit 6277454f7a
16057 changed files with 1715382 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
/**
* @file
* Provides backwards compatibility layer for Ajax-related markup.
*/
(Drupal => {
/**
* Override the default ajaxProgressBar for backwards compatibility.
*
* @param {jQuery} $element
* Progress bar element.
* @return {string}
* The HTML markup for the progress bar.
*/
Drupal.theme.ajaxProgressBar = $element =>
$element.addClass('ajax-progress ajax-progress-bar');
})(Drupal);
+12
View File
@@ -0,0 +1,12 @@
/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function (Drupal) {
Drupal.theme.ajaxProgressBar = function ($element) {
return $element.addClass('ajax-progress ajax-progress-bar');
};
})(Drupal);
@@ -0,0 +1,15 @@
/**
* @file
* Stable theme overrides for user password forms.
*/
(Drupal => {
/**
* Constucts a password confirm message element
*
* @return {string}
* A string representing a DOM fragment.
*/
Drupal.theme.passwordConfirmMessage = translate =>
`<div aria-live="polite" aria-atomic="true" class="password-confirm js-password-confirm js-password-confirm-message">${translate.confirmTitle} <span></span></div>`;
})(Drupal);
+12
View File
@@ -0,0 +1,12 @@
/**
* DO NOT EDIT THIS FILE.
* See the following change record for more information,
* https://www.drupal.org/node/2815083
* @preserve
**/
(function (Drupal) {
Drupal.theme.passwordConfirmMessage = function (translate) {
return "<div aria-live=\"polite\" aria-atomic=\"true\" class=\"password-confirm js-password-confirm js-password-confirm-message\">" + translate.confirmTitle + " <span></span></div>";
};
})(Drupal);