ai_upgrade_assistant-0.2.0-alpha2/templates/ai-upgrade-base.html.twig

templates/ai-upgrade-base.html.twig
{#
/**
 * @file
 * Base template for AI Upgrade Assistant.
 *
 * Available variables:
 * - attributes: HTML attributes for the container.
 * - content: The content of the template.
 * - title: The title of the section.
 * - icon: Optional icon for the section.
 */
#}
<div{{ attributes|default(create_attribute()) }}>
  {% if title %}
    <div class="ai-upgrade-header">
      {% if icon %}
        <span class="ai-upgrade-icon">{{ icon }}</span>
      {% endif %}
      <h2 class="ai-upgrade-title">{{ title }}</h2>
    </div>
  {% endif %}

  <div class="ai-upgrade-content">
    {% block content %}
      {{ content }}
    {% endblock %}
  </div>

  {% block footer %}
    {% if footer %}
      <div class="ai-upgrade-footer">
        {{ footer }}
      </div>
    {% endif %}
  {% endblock %}
</div>

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

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