uikit-8.x-3.x-dev/templates/misc/progress-bar.html.twig

templates/misc/progress-bar.html.twig
{#
/**
 * @file
 * Theme override for a progress bar.
 *
 * Note that the core Batch API uses this only for non-JavaScript batch jobs.
 *
 * Available variables:
 * - label: The label of the working task.
 * - percent: The percentage of the progress.
 * - message: A string containing information to be displayed.
 */
#}
{# {{ attach_library('classy/progress') }} #}
<div class="progress" data-drupal-progress>
  {% if label %}
    <div class="progress__label">{{ label }}</div>
  {% endif %}
  <div class="progress__track">
    <progress class="uk-progress" value="{{ percent }}" max="100"></progress>
  </div>
  <div class="progress__percentage">{{ percent }}%</div>
  <div class="progress__description">{{ message }}</div>
</div>

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc