page-header.html 1007 B

123456789101112131415161718192021222324252627282930313233343536
  1. {% if page-header-file %}
  2. {% include "layout/headers/{{ page-header-file }}.html" %}
  3. {% elsif page-header %}
  4. <!-- Page header -->
  5. <div class="page-header{% if class %} {{ class }}{% endif %} d-print-none{% if page.layout-navbar-overlap and page.layout-navbar-dark %} text-white{% endif %}">
  6. <div class="container-xl">
  7. <div class="row g-2 align-items-center">
  8. <div class="col">
  9. {% if pretitle %}
  10. <!-- Page pre-title -->
  11. <div class="page-pretitle">
  12. {{ pretitle }}
  13. </div>
  14. {% endif %}
  15. <h2 class="page-title">
  16. {% if include.icon %}
  17. {% include "ui/icon.html" icon=include.icon %}
  18. {% endif %}
  19. {{ page-header }}
  20. </h2>
  21. {% if description %}
  22. <div class="text-secondary mt-1">{{ description }}</div>
  23. {% endif %}
  24. </div>
  25. {% if actions %}
  26. <!-- Page title actions -->
  27. <div class="col-auto ms-auto d-print-none">
  28. {% include layout/header-actions/{{ actions }}.html %}
  29. </div>
  30. {% endif %}
  31. </div>
  32. </div>
  33. </div>
  34. {% endif %}