Skip to content
Snippets Groups Projects
Select Git revision
  • 314897a0cc2b2d91e24f40546dae24e1729e6376
  • master default protected
  • feat/new-image-formats
  • clickable-select-chevron
  • 2.20.0
  • 2.19.0
  • 2.18.0
  • 2.17.0
  • 2.16.1
  • 2.16.0
  • 2.15.0
  • 2.14.0
  • 2.13.0
  • 2.12.1
  • 2.11.0
  • 2.10.0
  • 2.9.1
  • 2.9.0
  • 2.8.0
  • 2.7.1
  • 2.7.0
  • 2.6.0
  • 2.5.2
  • 2.5.1
24 results

style.pcss

Blame
  • program_page.html 1.14 KiB
    {% extends "styleguide2/base.html" %}
    
    {% load wagtailcore_tags %}
    
    {% block content %}
      {% block navbar %}
        {% include 'styleguide2/includes/organisms/layout/navbar.html' with selected_item=page.get_menu_title %}
      {% endblock %}
    
      <div class="__js-root">
        <ui-view-provider
          :initial="{view1: true, {% for program_group in page.program %}view{{ forloop.counter }}: {% if forloop.first %}true{% else %}false{% endif %}{% if not forloop.last %},{% endif %}{% endfor %}}"
          :sync-location="true"
          v-slot="{ isCurrentView, toggleView }"
        >
          {% include 'styleguide2/includes/organisms/header/simple_header_with_ui_switch.html' with title=page.title ui_switch_iterable=page.program %}
    
          <main role="main">
            {% for program in page.program %}
              <template v-if="isCurrentView('view{{ forloop.counter }}')">
                {% with program.block_type as block_type %}
                  {% include_block program %}
                {% endwith %}
              </template>
            {% endfor %}
          </main>
        </ui-view-provider>
      </div>
    
      {% include 'styleguide2/includes/organisms/main_section/newsletter_section.html' %}
    {% endblock %}