@openeuropa/bcl-theme-default 0.4298.202511051800 → 0.4360.202601141610
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/css/oe-bcl-ckeditor5.min.css +1 -1
- package/css/oe-bcl-ckeditor5.min.css.map +1 -1
- package/css/oe-bcl-default.css +167 -85
- package/css/oe-bcl-default.css.map +1 -1
- package/css/oe-bcl-default.min.css +1 -1
- package/css/oe-bcl-default.min.css.map +1 -1
- package/js/oe-bcl-default.bundle.js +112 -1
- package/js/oe-bcl-default.bundle.js.map +1 -1
- package/js/oe-bcl-default.bundle.min.js +1 -1
- package/js/oe-bcl-default.bundle.min.js.map +1 -1
- package/js/oe-bcl-default.esm.js +111 -1
- package/js/oe-bcl-default.esm.js.map +1 -1
- package/js/oe-bcl-default.esm.min.js +1 -1
- package/js/oe-bcl-default.esm.min.js.map +1 -1
- package/js/oe-bcl-default.umd.js +112 -1
- package/js/oe-bcl-default.umd.js.map +1 -1
- package/js/oe-bcl-default.umd.min.js +1 -1
- package/js/oe-bcl-default.umd.min.js.map +1 -1
- package/package.json +5 -5
- package/src/js/header/header.js +91 -0
- package/src/js/index.esm.js +2 -0
- package/src/js/index.umd.js +2 -0
- package/src/js/mega-menu/mega-menu.js +57 -0
- package/src/scss/_header.scss +6 -2
- package/src/scss/_input.scss +72 -31
- package/src/scss/_mega-menu.scss +57 -58
- package/src/scss/_multiselect-2.scss +21 -11
- package/src/scss/_pagination.scss +1 -0
- package/src/scss/_search-form.scss +4 -0
- package/src/scss/base/_colors.scss +1 -0
- package/src/scss/base/_mixins.scss +12 -0
- package/templates/bcl-accordion/accordion.html.twig +42 -46
- package/templates/bcl-alert/alert.html.twig +18 -21
- package/templates/bcl-badge/badge.html.twig +11 -15
- package/templates/bcl-banner/banner.html.twig +34 -37
- package/templates/bcl-base-templates/content-type.html.twig +63 -67
- package/templates/bcl-base-templates/listing-page.html.twig +31 -31
- package/templates/bcl-base-templates/sidebar-search.html.twig +10 -10
- package/templates/bcl-blockquote/blockquote.html.twig +17 -20
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +24 -28
- package/templates/bcl-button/button.html.twig +24 -27
- package/templates/bcl-button-group/button-group.html.twig +25 -29
- package/templates/bcl-card/card.html.twig +98 -101
- package/templates/bcl-card-layout/card-layout.html.twig +34 -37
- package/templates/bcl-carousel/carousel.html.twig +64 -67
- package/templates/bcl-contact-form/contact-form.html.twig +1 -1
- package/templates/bcl-content-banner/content-banner.html.twig +37 -40
- package/templates/bcl-date-block/date-block.html.twig +26 -29
- package/templates/bcl-description-list/description-list-details.html.twig +6 -9
- package/templates/bcl-description-list/description-list-title.html.twig +11 -14
- package/templates/bcl-description-list/description-list.html.twig +44 -48
- package/templates/bcl-dropdown/dropdown.html.twig +48 -52
- package/templates/bcl-event/event.html.twig +7 -7
- package/templates/bcl-fact-figures/fact-figures.html.twig +34 -37
- package/templates/bcl-featured-media/featured-media.html.twig +42 -46
- package/templates/bcl-file/file-translations.html.twig +29 -32
- package/templates/bcl-file/file.html.twig +47 -50
- package/templates/bcl-footer/footer.html.twig +31 -34
- package/templates/bcl-form/form.html.twig +70 -73
- package/templates/bcl-form-input/form-input.html.twig +57 -61
- package/templates/bcl-gallery/gallery-item.html.twig +20 -23
- package/templates/bcl-gallery/gallery.html.twig +62 -66
- package/templates/bcl-glossary/glossary-detail.html.twig +19 -19
- package/templates/bcl-glossary/glossary-listing.html.twig +6 -6
- package/templates/bcl-group/group-landing.html.twig +69 -69
- package/templates/bcl-group/group.html.twig +19 -19
- package/templates/bcl-header/header.html.twig +71 -82
- package/templates/bcl-heading/heading.html.twig +13 -17
- package/templates/bcl-icon/icon.html.twig +10 -13
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +20 -23
- package/templates/bcl-landing-page/landing-page.html.twig +33 -33
- package/templates/bcl-language-list/language-list-grid.html.twig +25 -28
- package/templates/bcl-language-list/language-list-modal.html.twig +52 -52
- package/templates/bcl-language-list/language-list.html.twig +33 -37
- package/templates/bcl-language-switcher/language-switcher.html.twig +12 -15
- package/templates/bcl-link/link.html.twig +24 -27
- package/templates/bcl-links-block/links-block.html.twig +30 -34
- package/templates/bcl-list-group/list-group.html.twig +43 -47
- package/templates/bcl-listing/listing.html.twig +88 -91
- package/templates/bcl-mega-menu/mega-menu-items.html.twig +18 -21
- package/templates/bcl-mega-menu/mega-menu-submenu.html.twig +28 -26
- package/templates/bcl-mega-menu/mega-menu.html.twig +37 -38
- package/templates/bcl-modal/modal.html.twig +21 -23
- package/templates/bcl-navbar/navbar.html.twig +35 -38
- package/templates/bcl-navigation/navigation.html.twig +105 -110
- package/templates/bcl-offcanvas/offcanvas.html.twig +33 -36
- package/templates/bcl-page/page.html.twig +27 -27
- package/templates/bcl-pagination/pagination-item.html.twig +22 -26
- package/templates/bcl-pagination/pagination.html.twig +59 -62
- package/templates/bcl-pagination-v2/pagination-item.html.twig +31 -35
- package/templates/bcl-pagination-v2/pagination.html.twig +79 -82
- package/templates/bcl-person/person.html.twig +12 -12
- package/templates/bcl-placeholder/placeholder.html.twig +14 -18
- package/templates/bcl-progress/progress.html.twig +16 -20
- package/templates/bcl-project/project-lists.html.twig +25 -29
- package/templates/bcl-project/project.html.twig +35 -35
- package/templates/bcl-project-status/project-contributions.html.twig +25 -28
- package/templates/bcl-project-status/project-status.html.twig +32 -37
- package/templates/bcl-recent-activities/recent-activities.html.twig +13 -16
- package/templates/bcl-search/search.html.twig +12 -12
- package/templates/bcl-search-form/search-form.html.twig +21 -24
- package/templates/bcl-select/select.html.twig +52 -56
- package/templates/bcl-spinner/spinner.html.twig +10 -13
- package/templates/bcl-subscription/subscription-modal.html.twig +7 -7
- package/templates/bcl-subscription/subscription.html.twig +3 -3
- package/templates/bcl-subscription-block/subscription-block.html.twig +14 -17
- package/templates/bcl-table/table.html.twig +61 -65
- package/templates/bcl-textarea/textarea.html.twig +44 -47
- package/templates/bcl-timeline/timeline-item.html.twig +12 -15
- package/templates/bcl-timeline/timeline.html.twig +42 -45
- package/templates/bcl-toasts/toasts.html.twig +56 -60
- package/templates/bcl-user/user-compact.html.twig +24 -27
- package/templates/bcl-user/user-terms.html.twig +6 -6
- package/templates/bcl-user/user.html.twig +117 -117
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
{% apply spaceless %}
|
|
2
|
-
|
|
3
1
|
{#
|
|
4
2
|
Parameters:
|
|
5
3
|
- id (string) (default: gallery-random(10000))
|
|
@@ -28,7 +26,7 @@ Parameters:
|
|
|
28
26
|
carousel
|
|
29
27
|
#}
|
|
30
28
|
|
|
31
|
-
{
|
|
29
|
+
{%- set _id = id|default('gallery-' ~ random(10000)) %}
|
|
32
30
|
{% set _title = title|default('') %}
|
|
33
31
|
{% set _title_tag = title_tag|default('h2') %}
|
|
34
32
|
{% set _title_link = title_link|default({}) %}
|
|
@@ -46,59 +44,59 @@ Parameters:
|
|
|
46
44
|
{% set _collapse_id = "collapse" ~ _id|capitalize %}
|
|
47
45
|
{% set _carousel_items = [] %}
|
|
48
46
|
|
|
49
|
-
{
|
|
50
|
-
{
|
|
47
|
+
{%- if attributes is empty %}
|
|
48
|
+
{%- set attributes = create_attribute() %}
|
|
51
49
|
{% endif %}
|
|
52
50
|
|
|
53
|
-
{
|
|
51
|
+
{%- set attributes = attributes.addClass('bcl-gallery') %}
|
|
54
52
|
|
|
55
|
-
{
|
|
53
|
+
{%- if _items is not empty and _items is iterable -%}
|
|
56
54
|
<div
|
|
57
55
|
{{ attributes }}
|
|
58
56
|
>
|
|
59
|
-
{
|
|
57
|
+
{%- if _title is not empty or _counter is not empty -%}
|
|
60
58
|
<div class="d-sm-flex flex-sm-row align-items-sm-center">
|
|
61
|
-
{
|
|
59
|
+
{%- if _title is not empty -%}
|
|
62
60
|
<div class="flex-sm-grow-1">
|
|
63
|
-
{
|
|
61
|
+
{%- include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
64
62
|
title: _title,
|
|
65
63
|
title_tag: _title_tag,
|
|
66
64
|
title_link: _title_link,
|
|
67
65
|
attributes: _title_attributes,
|
|
68
|
-
} only
|
|
66
|
+
} only -%}
|
|
69
67
|
</div>
|
|
70
|
-
{
|
|
68
|
+
{%- endif %}
|
|
71
69
|
{%- if _counter is not empty -%}
|
|
72
70
|
<div class="mb-3 mb-sm-0 fw-bold">
|
|
73
71
|
{{- _counter|replace({'%d': _items|length}) -}}
|
|
74
72
|
</div>
|
|
75
73
|
{%- endif -%}
|
|
76
74
|
</div>
|
|
77
|
-
{
|
|
75
|
+
{%- endif -%}
|
|
78
76
|
<div class="bcl-gallery__thumbnails">
|
|
79
|
-
{
|
|
80
|
-
{
|
|
77
|
+
{%- for _batch in _items|batch(_max_visible_thumbnails) %}
|
|
78
|
+
{%- if loop.index0 == 1 -%}
|
|
81
79
|
<div class="bcl-gallery__thumbnails-collaspe collapse" id="{{ _collapse_id }}">
|
|
82
|
-
{
|
|
80
|
+
{%- endif -%}
|
|
83
81
|
<ul class="bcl-gallery__grid">
|
|
84
|
-
{
|
|
82
|
+
{%- for _item in _batch -%}
|
|
85
83
|
<li>
|
|
86
|
-
{
|
|
84
|
+
{%- include '@oe-bcl/bcl-gallery/gallery-item.html.twig' with {
|
|
87
85
|
item: _item,
|
|
88
86
|
carousel_id: _carousel_id,
|
|
89
87
|
modal_id: _modal_id,
|
|
90
88
|
icon_path: _icon_path,
|
|
91
89
|
carousel_anchor: loop.index0 + (_max_visible_thumbnails * loop.parent.loop.index0),
|
|
92
|
-
} only
|
|
90
|
+
} only -%}
|
|
93
91
|
</li>
|
|
94
|
-
{
|
|
92
|
+
{%- endfor -%}
|
|
95
93
|
</ul>
|
|
96
|
-
{
|
|
94
|
+
{%- if loop.last and loop.index0 >= 1 -%}
|
|
97
95
|
</div>
|
|
98
|
-
{
|
|
99
|
-
{
|
|
100
|
-
{
|
|
101
|
-
<div class="bg-lighter py-3 px-4 mt-2 rounded text-center">
|
|
96
|
+
{%- endif %}
|
|
97
|
+
{%- endfor %}
|
|
98
|
+
{%- if _items|length > _max_visible_thumbnails -%}
|
|
99
|
+
<div class="bg-lighter py-3 px-4 mt-2 rounded text-center">{# -#}
|
|
102
100
|
<a
|
|
103
101
|
class="bcl-gallery__collapse standalone d-none d-sm-inline-block"
|
|
104
102
|
aria-controls="{{ _collapse_id }}"
|
|
@@ -106,76 +104,76 @@ Parameters:
|
|
|
106
104
|
aria-expanded="false"
|
|
107
105
|
role="button"
|
|
108
106
|
href="#{{ _collapse_id }}"
|
|
109
|
-
>
|
|
110
|
-
<span class="label-collapsed">{{ _toggle_collapsed|replace({'%d': _items|length}) }}</span>
|
|
107
|
+
>{# -#}
|
|
108
|
+
<span class="label-collapsed">{{ _toggle_collapsed|replace({'%d': _items|length}) }}</span>{# -#}
|
|
111
109
|
<span class="label-expanded">{{ _toggle_expanded }}</span>
|
|
112
|
-
{
|
|
110
|
+
{%- include '@oe-bcl/bcl-icon/icon.html.twig' with {
|
|
113
111
|
name: 'caret-down-fill',
|
|
114
112
|
size: '2xs',
|
|
115
113
|
path: _icon_path,
|
|
116
114
|
attributes: create_attribute().addClass('ms-2-5'),
|
|
117
|
-
} only
|
|
118
|
-
</a>
|
|
115
|
+
} only -%}
|
|
116
|
+
</a>{# -#}
|
|
119
117
|
<a
|
|
120
118
|
class="bcl-gallery__mobile-view-more standalone d-inline-block d-sm-none"
|
|
121
119
|
data-bs-target="#{{ _carousel_id }}"
|
|
122
120
|
data-bs-slide-to="{{ _max_visible_thumbnails - 1 }}"
|
|
123
121
|
role="button"
|
|
124
122
|
href="#"
|
|
125
|
-
>
|
|
126
|
-
<span data-bs-target="#{{ _modal_id }}" data-bs-toggle="modal">
|
|
123
|
+
>{# -#}
|
|
124
|
+
<span data-bs-target="#{{ _modal_id }}" data-bs-toggle="modal">{# -#}
|
|
127
125
|
<span class="label-collapsed">{{ _toggle_collapsed|replace({'%d': _items|length}) }}</span>
|
|
128
|
-
{
|
|
126
|
+
{%- include '@oe-bcl/bcl-icon/icon.html.twig' with {
|
|
129
127
|
name: 'caret-down-fill',
|
|
130
128
|
size: '2xs',
|
|
131
129
|
path: _icon_path,
|
|
132
130
|
attributes: create_attribute().addClass('ms-2-5'),
|
|
133
|
-
} only
|
|
134
|
-
<span>
|
|
135
|
-
</a>
|
|
131
|
+
} only -%}
|
|
132
|
+
<span>{# -#}
|
|
133
|
+
</a>{# -#}
|
|
136
134
|
</div>
|
|
137
|
-
{
|
|
138
|
-
</div>
|
|
139
|
-
<div class="modal" id="{{ _modal_id }}" tabindex="-1" aria-labelledby="{{ _modal_id }}" aria-hidden="true" data-bs-backdrop="false">
|
|
140
|
-
<div class="modal-dialog modal-dialog-centered modal-fullscreen">
|
|
141
|
-
<div class="modal-content">
|
|
135
|
+
{%- endif -%}
|
|
136
|
+
</div>{# -#}
|
|
137
|
+
<div class="modal" id="{{ _modal_id }}" tabindex="-1" aria-labelledby="{{ _modal_id }}" aria-hidden="true" data-bs-backdrop="false">{# -#}
|
|
138
|
+
<div class="modal-dialog modal-dialog-centered modal-fullscreen">{# -#}
|
|
139
|
+
<div class="modal-content">{# -#}
|
|
142
140
|
<div class="modal-header border-0 justify-content-between">
|
|
143
|
-
{
|
|
141
|
+
{%- if _title is not empty -%}
|
|
144
142
|
<div class="modal-title">
|
|
145
|
-
{
|
|
146
|
-
{
|
|
143
|
+
{%- if _title is not empty %}
|
|
144
|
+
{%- include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
147
145
|
title: _title,
|
|
148
146
|
title_tag: 'h3',
|
|
149
147
|
attributes: create_attribute().addClass(['d-sm-block', 'd-none']),
|
|
150
148
|
} only %}
|
|
151
|
-
{
|
|
149
|
+
{%- endif -%}
|
|
152
150
|
</div>
|
|
153
|
-
{
|
|
154
|
-
<div class="carousel-pager">
|
|
151
|
+
{%- endif -%}
|
|
152
|
+
<div class="carousel-pager">{# -#}
|
|
155
153
|
<span>1</span> / {{ _items|length -}}
|
|
156
|
-
</div>
|
|
154
|
+
</div>{# -#}
|
|
157
155
|
<div class="modal-close">
|
|
158
|
-
{
|
|
156
|
+
{%- set button_attributes = create_attribute()
|
|
159
157
|
.addClass('btn-close')
|
|
160
158
|
.setAttribute('aria-label', 'Close')
|
|
161
159
|
.setAttribute('data-bs-dismiss', 'modal')
|
|
162
160
|
%}
|
|
163
|
-
{
|
|
161
|
+
{%- include '@oe-bcl/bcl-button/button.html.twig' with {
|
|
164
162
|
clean_class: true,
|
|
165
163
|
attributes: button_attributes
|
|
166
|
-
} only
|
|
167
|
-
</div>
|
|
168
|
-
</div>
|
|
164
|
+
} only -%}
|
|
165
|
+
</div>{# -#}
|
|
166
|
+
</div>{# -#}
|
|
169
167
|
<div class="modal-body d-flex align-items-center justify-content-center">
|
|
170
|
-
{
|
|
171
|
-
{
|
|
172
|
-
{
|
|
168
|
+
{%- block carousel %}
|
|
169
|
+
{%- for _item in _items %}
|
|
170
|
+
{%- set _carousel_items = _carousel_items|merge([_item|merge({
|
|
173
171
|
caption_title: ('<iframe' in _item.media or '<video' in _item.media) ? '' : _item.caption_title,
|
|
174
172
|
caption: ('<iframe' in _item.media or '<video' in _item.media) ? '' : _item.caption,
|
|
175
173
|
image: ('<iframe' in _item.media or '<img' in _item.media) ? _item.media|replace({'src=': 'data-src='}) : _item.media,
|
|
176
174
|
})]) %}
|
|
177
|
-
{
|
|
178
|
-
{
|
|
175
|
+
{%- endfor %}
|
|
176
|
+
{%- include '@oe-bcl/bcl-carousel/carousel.html.twig' with {
|
|
179
177
|
id: _carousel_id,
|
|
180
178
|
with_controls: true,
|
|
181
179
|
with_indicators: false,
|
|
@@ -184,12 +182,10 @@ Parameters:
|
|
|
184
182
|
autoplay: false,
|
|
185
183
|
items: _carousel_items,
|
|
186
184
|
} only %}
|
|
187
|
-
{
|
|
188
|
-
</div>
|
|
189
|
-
</div>
|
|
190
|
-
</div>
|
|
191
|
-
</div>
|
|
185
|
+
{%- endblock -%}
|
|
186
|
+
</div>{# -#}
|
|
187
|
+
</div>{# -#}
|
|
188
|
+
</div>{# -#}
|
|
189
|
+
</div>{# -#}
|
|
192
190
|
</div>
|
|
193
|
-
{
|
|
194
|
-
|
|
195
|
-
{% endapply %}
|
|
191
|
+
{%- endif -%}
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' -%}
|
|
2
2
|
|
|
3
3
|
{%- block content %}
|
|
4
|
-
{
|
|
4
|
+
{%- include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
5
5
|
title: 'Description',
|
|
6
6
|
title_tag: 'h2',
|
|
7
|
-
} only
|
|
7
|
+
} only -%}
|
|
8
8
|
|
|
9
9
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
|
|
10
|
-
volutpat ultricies massa, a dapibus libero porta nec. Sed facilisis dictum vestibulum.
|
|
11
|
-
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet.
|
|
12
|
-
Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero
|
|
13
|
-
orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non.
|
|
14
|
-
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet.
|
|
15
|
-
Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero orci semper lacus.
|
|
16
|
-
Duis tristique fringilla magna, eu egestas dolor molestie non.</p>
|
|
17
|
-
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa,
|
|
10
|
+
volutpat ultricies massa, a dapibus libero porta nec. Sed facilisis dictum vestibulum.
|
|
11
|
+
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet.
|
|
12
|
+
Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero
|
|
13
|
+
orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non.
|
|
14
|
+
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet.
|
|
15
|
+
Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero orci semper lacus.
|
|
16
|
+
Duis tristique fringilla magna, eu egestas dolor molestie non.</p>{# -#}
|
|
17
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa,
|
|
18
18
|
a dapibus libero porta nec. Sed facilisis dictum vestibulum. Fusce commodo hendrerit diam, pretium tempus
|
|
19
19
|
leo varius sit amet. Etiam interdum, orci at sagittis luctus, lorem libero tempus mauris, a fermentum libero
|
|
20
|
-
orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </p>
|
|
20
|
+
orci semper lacus. Duis tristique fringilla magna, eu egestas dolor molestie non. </p>{# -#}
|
|
21
21
|
<p>Lorem ipsum dolor
|
|
22
22
|
sit amet, consectetur adipiscing elit. Suspendisse volutpat ultricies massa, a dapibus libero porta nec.
|
|
23
23
|
Sed facilisis dictum vestibulum.
|
|
24
|
-
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. Etiam interdum, orci at sagittis luctus,
|
|
24
|
+
Fusce commodo hendrerit diam, pretium tempus leo varius sit amet. Etiam interdum, orci at sagittis luctus,
|
|
25
25
|
lorem libero tempus mauris, a fermentum libero orci semper lacus. Duis tristique fringilla magna,
|
|
26
26
|
eu egestas dolor molestie non. </p>
|
|
27
27
|
|
|
28
|
-
{
|
|
28
|
+
{%- include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
29
29
|
title: 'File Downloads',
|
|
30
30
|
title_tag: 'h2',
|
|
31
31
|
attributes: create_attribute().addClass('mt-5', 'mb-4'),
|
|
32
32
|
} only %}
|
|
33
33
|
|
|
34
|
-
{
|
|
35
|
-
{
|
|
36
|
-
{
|
|
37
|
-
{
|
|
34
|
+
{%- for file in files %}
|
|
35
|
+
{%- if loop.last %}
|
|
36
|
+
{%- set file_classes = 'mt-4' %}
|
|
37
|
+
{%- endif -%}
|
|
38
38
|
<div {{ file_classes ? 'class="' ~ file_classes ~ '"' }}>
|
|
39
|
-
{
|
|
39
|
+
{%- include '@oe-bcl/bcl-file/file.html.twig' with file only -%}
|
|
40
40
|
</div>
|
|
41
|
-
{
|
|
41
|
+
{%- endfor %}
|
|
42
42
|
{%- endblock -%}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{% extends '@oe-bcl/bcl-base-templates/listing-page.html.twig' -%}
|
|
2
2
|
|
|
3
3
|
{%- block content_row %}
|
|
4
|
-
{
|
|
5
|
-
<div class="col-12">
|
|
4
|
+
{%- include '@oe-bcl/bcl-pagination/pagination.html.twig' with glossary only -%}
|
|
5
|
+
<div class="col-12">{# -#}
|
|
6
6
|
<div class="d-md-flex justify-content-end mb-md-4-75 align-items-center border-bottom-md border-top-md border-gray-300 py-3">
|
|
7
|
-
{
|
|
8
|
-
{
|
|
9
|
-
</div>
|
|
7
|
+
{%- include '@oe-bcl/bcl-select/select.html.twig' with sortBy only %}
|
|
8
|
+
{%- include '@oe-bcl/bcl-select/select.html.twig' with itemsPerPage only -%}
|
|
9
|
+
</div>{# -#}
|
|
10
10
|
</div>
|
|
11
11
|
{%- endblock -%}
|
|
12
12
|
|
|
13
13
|
{%- block content_top %}
|
|
14
|
-
{
|
|
14
|
+
{%- include '@oe-bcl/bcl-heading/heading.html.twig' with {
|
|
15
15
|
title: 'Starting with "A" (48)',
|
|
16
16
|
title_tag: 'h2',
|
|
17
17
|
} only %}
|
|
@@ -1,101 +1,101 @@
|
|
|
1
1
|
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" -%}
|
|
2
2
|
|
|
3
|
-
{%- block banner
|
|
3
|
+
{%- block banner -%}
|
|
4
4
|
<div class="container">
|
|
5
|
-
{
|
|
5
|
+
{%- if banner is not empty -%}
|
|
6
6
|
<div class="mt-4 mt-md-5">
|
|
7
|
-
{
|
|
7
|
+
{%- if banner.image is not empty -%}
|
|
8
8
|
<img
|
|
9
9
|
src="{{ banner.image.path }}"
|
|
10
10
|
{% if banner.image.alt is not empty %}
|
|
11
11
|
alt="{{ banner.image.alt }}"
|
|
12
12
|
{% endif %}
|
|
13
|
-
{
|
|
13
|
+
{%- if banner.image.class is not empty %}
|
|
14
14
|
class="{{ banner.image.class }}"
|
|
15
15
|
{% endif %}
|
|
16
16
|
/>
|
|
17
|
-
{
|
|
18
|
-
{
|
|
19
|
-
<div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">
|
|
17
|
+
{%- endif %}
|
|
18
|
+
{%- if banner.title is not empty -%}
|
|
19
|
+
<div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">{# -#}
|
|
20
20
|
<h1 class="mb-0 d-inline-block">{{ banner.title }}</h1>
|
|
21
|
-
{
|
|
21
|
+
{%- if banner.actions is not empty and banner.actions is iterable -%}
|
|
22
22
|
<div class="d-grid d-md-block ms-auto">
|
|
23
|
-
{
|
|
24
|
-
{
|
|
25
|
-
{
|
|
26
|
-
{
|
|
27
|
-
{
|
|
28
|
-
{
|
|
29
|
-
{
|
|
30
|
-
{
|
|
31
|
-
{
|
|
23
|
+
{%- for _action in banner.actions %}
|
|
24
|
+
{%- if _action.type == "link" %}
|
|
25
|
+
{%- include '@oe-bcl/bcl-link/link.html.twig' with _action only %}
|
|
26
|
+
{%- elseif _action.type == "button" %}
|
|
27
|
+
{%- include '@oe-bcl/bcl-button/button.html.twig' with _action only %}
|
|
28
|
+
{%- elseif _action.type == "dropdown" %}
|
|
29
|
+
{%- include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _action only %}
|
|
30
|
+
{%- endif %}
|
|
31
|
+
{%- endfor -%}
|
|
32
32
|
</div>
|
|
33
|
-
{
|
|
33
|
+
{%- endif -%}
|
|
34
34
|
</div>
|
|
35
|
-
{
|
|
35
|
+
{%- endif -%}
|
|
36
36
|
</div>
|
|
37
|
-
{
|
|
38
|
-
{
|
|
39
|
-
{
|
|
40
|
-
{
|
|
41
|
-
<div class="collapse d-md-block" id="banner-description">
|
|
42
|
-
<div class="row mt-md-4 mb-md-5 pb-md-5">
|
|
43
|
-
<div class="col-md-8">
|
|
37
|
+
{%- endif %}
|
|
38
|
+
{%- include '@oe-bcl/bcl-navigation/navigation.html.twig' with navigation only %}
|
|
39
|
+
{%- if banner_description is not empty and contact is not empty %}
|
|
40
|
+
{%- include '@oe-bcl/bcl-link/link.html.twig' with banner_description.collapse_trigger only -%}
|
|
41
|
+
<div class="collapse d-md-block" id="banner-description">{# -#}
|
|
42
|
+
<div class="row mt-md-4 mb-md-5 pb-md-5">{# -#}
|
|
43
|
+
<div class="col-md-8">{# -#}
|
|
44
44
|
<div class="ps-md-3">
|
|
45
|
-
{
|
|
45
|
+
{%- if banner_description.metas is not empty and banner_description.metas is iterable -%}
|
|
46
46
|
<div class="d-block">
|
|
47
|
-
{
|
|
47
|
+
{%- for _meta in banner_description.metas -%}
|
|
48
48
|
<p class="mb-0 me-4 d-inline-block text-muted">
|
|
49
|
-
{
|
|
49
|
+
{%- include '@oe-bcl/bcl-icon/icon.html.twig' with _meta.icon only %}
|
|
50
50
|
{{- _meta.label -}}
|
|
51
51
|
</p>
|
|
52
|
-
{
|
|
52
|
+
{%- endfor -%}
|
|
53
53
|
</div>
|
|
54
|
-
{
|
|
55
|
-
{{ banner_description.content }}
|
|
56
|
-
</div>
|
|
57
|
-
</div>
|
|
58
|
-
<div class="col-md-4">
|
|
54
|
+
{%- endif %}
|
|
55
|
+
{{- banner_description.content -}}
|
|
56
|
+
</div>{# -#}
|
|
57
|
+
</div>{# -#}
|
|
58
|
+
<div class="col-md-4">{# -#}
|
|
59
59
|
<h2 class="mb-3 pb-2">{{ contact.title }}</h2>
|
|
60
|
-
{
|
|
61
|
-
{
|
|
62
|
-
{
|
|
63
|
-
{
|
|
64
|
-
{
|
|
65
|
-
{
|
|
66
|
-
{
|
|
67
|
-
{
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
60
|
+
{%- if contact.profiles is not empty and contact.profiles is iterable %}
|
|
61
|
+
{%- for _profile in contact.profiles %}
|
|
62
|
+
{%- include '@oe-bcl/bcl-user/user-compact.html.twig' with _profile only %}
|
|
63
|
+
{%- endfor %}
|
|
64
|
+
{%- endif %}
|
|
65
|
+
{%- if contact.more_link is not empty %}
|
|
66
|
+
{%- include '@oe-bcl/bcl-link/link.html.twig' with contact.more_link only %}
|
|
67
|
+
{%- endif -%}
|
|
68
|
+
</div>{# -#}
|
|
69
|
+
</div>{# -#}
|
|
70
70
|
</div>
|
|
71
|
-
{
|
|
71
|
+
{%- endif -%}
|
|
72
72
|
</div>
|
|
73
73
|
{%- endblock -%}
|
|
74
74
|
|
|
75
75
|
{%- block content %}
|
|
76
|
-
{
|
|
77
|
-
<div class="row mt-3">
|
|
78
|
-
<div class="col-md-8">
|
|
76
|
+
{%- if recent is not empty and members is not empty -%}
|
|
77
|
+
<div class="row mt-3">{# -#}
|
|
78
|
+
<div class="col-md-8">{# -#}
|
|
79
79
|
<h2 class="mb-4 pb-2">{{ recent.title }}</h2>
|
|
80
|
-
{
|
|
81
|
-
</div>
|
|
82
|
-
<div class="col-md-4">
|
|
83
|
-
<h2 class="mt-4 mt-md-0 mb-4 pb-2">{{ members.title}}</h2>
|
|
84
|
-
{
|
|
85
|
-
{
|
|
86
|
-
{
|
|
87
|
-
{
|
|
88
|
-
{
|
|
89
|
-
{
|
|
90
|
-
{
|
|
91
|
-
{
|
|
92
|
-
</div>
|
|
80
|
+
{%- include '@oe-bcl/bcl-recent-activities/recent-activities.html.twig' with recent.block_data only -%}
|
|
81
|
+
</div>{# -#}
|
|
82
|
+
<div class="col-md-4">{# -#}
|
|
83
|
+
<h2 class="mt-4 mt-md-0 mb-4 pb-2">{{ members.title }}</h2>
|
|
84
|
+
{%- if members.profiles is not empty and members.profiles is iterable %}
|
|
85
|
+
{%- for _profile in members.profiles %}
|
|
86
|
+
{%- include '@oe-bcl/bcl-user/user-compact.html.twig' with _profile only %}
|
|
87
|
+
{%- endfor %}
|
|
88
|
+
{%- endif %}
|
|
89
|
+
{%- if members.more_link is not empty %}
|
|
90
|
+
{%- include '@oe-bcl/bcl-link/link.html.twig' with members.more_link only %}
|
|
91
|
+
{%- endif -%}
|
|
92
|
+
</div>{# -#}
|
|
93
93
|
</div>
|
|
94
|
-
{
|
|
95
|
-
{
|
|
96
|
-
<h2 class="my-4 pt-3 pb-2">{{ contributions.title}}</h2>
|
|
97
|
-
{
|
|
98
|
-
{
|
|
99
|
-
{
|
|
100
|
-
{
|
|
94
|
+
{%- endif %}
|
|
95
|
+
{%- if contributions is not empty -%}
|
|
96
|
+
<h2 class="my-4 pt-3 pb-2">{{ contributions.title }}</h2>
|
|
97
|
+
{%- if contributions.listing is not empty %}
|
|
98
|
+
{%- include '@oe-bcl/bcl-listing/listing.html.twig' with contributions.listing only %}
|
|
99
|
+
{%- endif %}
|
|
100
|
+
{%- endif %}
|
|
101
101
|
{%- endblock -%}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
{% extends "@oe-bcl/bcl-base-templates/listing-page.html.twig" -%}
|
|
2
2
|
|
|
3
|
-
{%- block banner
|
|
4
|
-
<div class="container mt-4 mt-md-5">
|
|
5
|
-
<div class="col-xxl-11">
|
|
6
|
-
<div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">
|
|
3
|
+
{%- block banner -%}
|
|
4
|
+
<div class="container mt-4 mt-md-5">{# -#}
|
|
5
|
+
<div class="col-xxl-11">{# -#}
|
|
6
|
+
<div class="p-md-3-5 pt-3 bg-lighter d-md-flex n-mx-container">{# -#}
|
|
7
7
|
<h1 class="mb-0 d-inline-block">{{ banner.main_title }}</h1>
|
|
8
|
-
{
|
|
8
|
+
{%- if banner.actions is not empty and banner.actions is iterable -%}
|
|
9
9
|
<div class="d-grid d-md-block ms-auto">
|
|
10
|
-
{
|
|
11
|
-
{
|
|
12
|
-
{
|
|
13
|
-
{
|
|
14
|
-
{
|
|
15
|
-
{
|
|
16
|
-
{
|
|
17
|
-
{
|
|
18
|
-
{
|
|
10
|
+
{%- for _action in banner.actions %}
|
|
11
|
+
{%- if _action.type == "link" %}
|
|
12
|
+
{%- include '@oe-bcl/bcl-link/link.html.twig' with _action only %}
|
|
13
|
+
{%- elseif _action.type == "button" %}
|
|
14
|
+
{%- include '@oe-bcl/bcl-button/button.html.twig' with _action only %}
|
|
15
|
+
{%- elseif _action.type == "dropdown" %}
|
|
16
|
+
{%- include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _action only %}
|
|
17
|
+
{%- endif %}
|
|
18
|
+
{%- endfor -%}
|
|
19
19
|
</div>
|
|
20
|
-
{
|
|
20
|
+
{%- endif -%}
|
|
21
21
|
</div>
|
|
22
|
-
{
|
|
23
|
-
{
|
|
24
|
-
{
|
|
25
|
-
</div>
|
|
22
|
+
{%- if navigation is not empty %}
|
|
23
|
+
{%- include '@oe-bcl/bcl-navigation/navigation.html.twig' with navigation only %}
|
|
24
|
+
{%- endif -%}
|
|
25
|
+
</div>{# -#}
|
|
26
26
|
</div>
|
|
27
27
|
{%- endblock -%}
|