Commit 2f39bf62 authored by gbyte.co's avatar gbyte.co Committed by gbyte.co

Issue #3029692 by osab: Do not animate the static progress bar when when not generating

parent 95fee40d
#simple-sitemap-settings-form .progress__bar {
background-image: none;
}
......@@ -17,3 +17,8 @@ sitemapEntities:
dependencies:
- core/jquery
- core/drupalSettings
sitemapSettings:
version: VERSION
css:
theme:
css/simple_sitemap.settings.css: {}
......@@ -71,11 +71,12 @@ class SimplesitemapSettingsForm extends SimplesitemapFormBase {
public function buildForm(array $form, FormStateInterface $form_state) {
$form['simple_sitemap_settings']['#prefix'] = $this->getDonationText();
$form['simple_sitemap_settings']['#attached']['library'][] = 'simple_sitemap/sitemapSettings';
$form['simple_sitemap_settings']['status'] = [
'#type' => 'fieldset',
'#title' => $this->t('Sitemap status'),
'#markup' => '<div class="description">' . $this->t('Sitemaps can be regenerated on demand here.') . '</div>',
'#markup' => '<div class="description">' . $this->t('Sitemaps can be regenerated on demand here.<br/> ') . '</div>',
'#description' => $this->t('Variants can be configured <a href="@url">here</a>.', ['@url' => $GLOBALS['base_url'] . '/admin/config/search/simplesitemap/variants']),
];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment