@openeuropa/bcl-theme-default 0.12.0 → 0.16.0
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/bcl-builder.config.js +4 -0
- package/css/oe-bcl-default.css +1604 -63
- 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/icons/icons-flag.svg +1 -0
- package/js/oe-bcl-default.bundle.js +53 -21
- 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.min.js.map +1 -1
- package/js/oe-bcl-default.umd.js +61 -24
- 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 +6 -5
- package/src/scss/_badge.scss +17 -1
- package/src/scss/_banners.scss +9 -7
- package/src/scss/_bcl-offcanvas.scss +4 -4
- package/src/scss/_footer.scss +16 -7
- package/src/scss/_header.scss +68 -17
- package/src/scss/_inpage-navigation.scss +19 -0
- package/src/scss/_multiselect.scss +3 -2
- package/src/scss/_timeline.scss +78 -0
- package/src/scss/_utilities.scss +70 -0
- package/src/scss/_variables.scss +27 -15
- package/src/scss/oe-bcl-default.scss +2 -14
- package/templates/bcl-badge/badge.html.twig +9 -1
- package/templates/bcl-banner/banner.html.twig +22 -5
- package/templates/bcl-base-templates/content-type.html.twig +116 -0
- package/templates/bcl-base-templates/listing-page.html.twig +63 -0
- package/templates/{bcl-group-landing-listing/group-landing-listing-offcanvas.html.twig → bcl-base-templates/sidebar-search.html.twig} +0 -1
- package/templates/bcl-breadcrumb/breadcrumb.html.twig +2 -2
- package/templates/bcl-card/card.html.twig +43 -42
- package/templates/bcl-content-banner/content-banner.html.twig +103 -0
- package/templates/bcl-date-block/date-block.html.twig +42 -0
- package/templates/bcl-description-list/description-list.html.twig +110 -0
- package/templates/bcl-event/event.html.twig +41 -0
- package/templates/bcl-fact-figures/fact-figures.html.twig +115 -0
- package/templates/bcl-featured-media/featured-media.html.twig +49 -5
- package/templates/bcl-file/file.html.twig +205 -0
- package/templates/bcl-footer/footer.html.twig +4 -2
- package/templates/bcl-group/group-landing.html.twig +101 -0
- package/templates/bcl-group/group.html.twig +27 -0
- package/templates/bcl-header/header.html.twig +11 -2
- package/templates/bcl-inpage-navigation/inpage-navigation.html.twig +42 -0
- package/templates/bcl-landing-page/landing-page.html.twig +59 -0
- package/templates/bcl-link/link.html.twig +5 -0
- package/templates/bcl-links-block/links-block.html.twig +5 -2
- package/templates/bcl-listing/listing.html.twig +67 -38
- package/templates/bcl-navbar/navbar.html.twig +22 -20
- package/templates/bcl-navigation/navigation.html.twig +135 -110
- package/templates/bcl-page/page.html.twig +64 -0
- package/templates/bcl-recent-activities/recent-activities.html.twig +1 -1
- package/templates/bcl-timeline/timeline.html.twig +109 -0
- package/templates/bcl-user/user-edit.html.twig +38 -0
- package/templates/{bcl-user-view → bcl-user}/user-view-compact.html.twig +2 -2
- package/templates/bcl-user/user-view.html.twig +96 -0
- package/templates/bcl-group-landing/group-landing.html.twig +0 -106
- package/templates/bcl-group-landing-listing/group-landing-listing.html.twig +0 -74
- package/templates/bcl-search/search-offcanvas.html.twig +0 -8
- package/templates/bcl-search/search.html.twig +0 -48
- package/templates/bcl-user-edit/edit-contents.html.twig +0 -32
- package/templates/bcl-user-edit/user-edit.html.twig +0 -19
- package/templates/bcl-user-listing/user-listing-offcanvas.html.twig +0 -8
- package/templates/bcl-user-listing/user-listing.html.twig +0 -48
- package/templates/bcl-user-view/user-view.html.twig +0 -106
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{% extends '@oe-bcl/bcl-base-templates/content-type.html.twig' %}
|
|
2
|
+
|
|
3
|
+
{% block sidebar %}
|
|
4
|
+
{% include '@oe-bcl/bcl-inpage-navigation/inpage-navigation.html.twig' with sidebar only %}
|
|
5
|
+
{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block content %}
|
|
8
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
|
|
9
|
+
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
10
|
+
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
11
|
+
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
12
|
+
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
13
|
+
</p>
|
|
14
|
+
<h3 id="item-1" class="fw-bold my-4">Section 1</h3>
|
|
15
|
+
{% if featured_item %}
|
|
16
|
+
{% include '@oe-bcl/bcl-featured-media/featured-media.html.twig' with featured_item only %}
|
|
17
|
+
{% endif %}
|
|
18
|
+
|
|
19
|
+
{% if page_banner %}
|
|
20
|
+
{% include '@oe-bcl/bcl-banner/banner.html.twig' with page_banner only %}
|
|
21
|
+
{% endif %}
|
|
22
|
+
|
|
23
|
+
{% if listing %}
|
|
24
|
+
{% include '@oe-bcl/bcl-listing/listing.html.twig' with listing only %}
|
|
25
|
+
{% endif %}
|
|
26
|
+
|
|
27
|
+
<h3 id="item-2" class="fw-bold my-4">Section 2</h3>
|
|
28
|
+
|
|
29
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
|
|
30
|
+
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
31
|
+
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
32
|
+
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
33
|
+
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
34
|
+
</p>
|
|
35
|
+
|
|
36
|
+
{% if blockquote %}
|
|
37
|
+
{% include '@oe-bcl/bcl-blockquote/blockquote.html.twig' with blockquote only %}
|
|
38
|
+
{% endif %}
|
|
39
|
+
{% if accordion %}
|
|
40
|
+
{% include '@oe-bcl/bcl-accordion/accordion.html.twig' with accordion only %}
|
|
41
|
+
{% endif %}
|
|
42
|
+
{% if timeline %}
|
|
43
|
+
{% include '@oe-bcl/bcl-timeline/timeline.html.twig' with timeline only %}
|
|
44
|
+
{% endif %}
|
|
45
|
+
|
|
46
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
|
|
47
|
+
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
48
|
+
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
49
|
+
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
50
|
+
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
51
|
+
</p>
|
|
52
|
+
|
|
53
|
+
<h3 id="item-3" class="fw-bold my-4">Section 3</h3>
|
|
54
|
+
|
|
55
|
+
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet eleifend tortor. In facilisis eros vitae turpis ullamcorper,
|
|
56
|
+
a euismod dolor lacinia. Nam facilisis ipsum et sollicitudin imperdiet. Curabitur a efficitur ante. Phasellus non felis laoreet,
|
|
57
|
+
posuere ante ut, rhoncus tortor. Proin sed erat vel nisl luctus vulputate. Nunc tristique ultricies turpis, eu dictum enim ultrices vel.
|
|
58
|
+
Sed posuere at leo sit amet placerat. Sed dapibus viverra urna ac pretium. Praesent et laoreet erat, eget volutpat metus. Duis ac augue
|
|
59
|
+
sed tortor elementum dignissim in sit amet velit. Nullam nec viverra mi.
|
|
60
|
+
</p>
|
|
61
|
+
|
|
62
|
+
{% include '@oe-bcl/bcl-file/file.html.twig' with files[0] only %}
|
|
63
|
+
{% include '@oe-bcl/bcl-file/file.html.twig' with files[1] only %}
|
|
64
|
+
{% endblock %}
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
>
|
|
29
29
|
{% if _activities is not empty and _activities is iterable %}
|
|
30
30
|
{% for _activity in _activities %}
|
|
31
|
-
<div class="d-flex bg-
|
|
31
|
+
<div class="d-flex bg-lighter py-3 px-3 px-md-3-5 mb-3-5">
|
|
32
32
|
{% if _activity.image is not empty %}
|
|
33
33
|
<div>
|
|
34
34
|
{{- _activity.image -}}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
{% spaceless %}
|
|
2
|
+
|
|
3
|
+
{#
|
|
4
|
+
Parameters:
|
|
5
|
+
- "id": (integer) (default: random(1000))
|
|
6
|
+
- "toggle_collapsed": (string) (default: '')
|
|
7
|
+
- "toggle_expanded": (string) (default: '')
|
|
8
|
+
- "hide" (object): (default: undefined)
|
|
9
|
+
- "from": (integer) (default: items.length) Item index after which to start hiding timeline items
|
|
10
|
+
- "to": (integer) (default: items.length) Item index after which to resume displaying timeline items
|
|
11
|
+
- title: (string) (default: "")
|
|
12
|
+
- title_tag: (string) (default: "h4")
|
|
13
|
+
- "items" (array) (default: []):
|
|
14
|
+
- "id": (string) (default: '')
|
|
15
|
+
- "label": (string) (default: '')
|
|
16
|
+
- "title": (string) (default: '')
|
|
17
|
+
- "content": (block) (default: '')
|
|
18
|
+
- "icons_path" (string) (default: ''): file containing the svg icons
|
|
19
|
+
#}
|
|
20
|
+
|
|
21
|
+
{# Internal properties #}
|
|
22
|
+
|
|
23
|
+
{% set _id = id|default(random(1000)) %}
|
|
24
|
+
{% set _title = title|default('') %}
|
|
25
|
+
{% set _title_tag = title_tag|default('h4') %}
|
|
26
|
+
{% set _items = items|default([]) %}
|
|
27
|
+
{% set _icons_path = icons_path|default('') %}
|
|
28
|
+
{% set _toggle_collapsed = toggle_collapsed|default('') %}
|
|
29
|
+
{% set _toggle_expanded = toggle_expanded|default('') %}
|
|
30
|
+
{% set _hide_from = hide.from|default(items|length) %}
|
|
31
|
+
{% set _hide_to = hide.to|default(items|length) %}
|
|
32
|
+
{% set _toggler = false %}
|
|
33
|
+
|
|
34
|
+
{% set attributes = attributes.addClass('bcl-timeline') %}
|
|
35
|
+
|
|
36
|
+
{# Internal logic - Process properties #}
|
|
37
|
+
|
|
38
|
+
{% set _display_amount = items|length %}
|
|
39
|
+
{% set _hide_amount = 0 %}
|
|
40
|
+
{% set _bottom_amount = 0 %}
|
|
41
|
+
|
|
42
|
+
{% if _hide_from > 0 %}
|
|
43
|
+
{% if _hide_to > 0 %}
|
|
44
|
+
{% set _bottom_amount = _display_amount - _hide_to %}
|
|
45
|
+
{% else %}
|
|
46
|
+
{% set _bottom_amount = _hide_to|abs %}
|
|
47
|
+
{% endif %}
|
|
48
|
+
{% set _countbase = items|length - _bottom_amount %}
|
|
49
|
+
{% set _display_amount = _hide_from %}
|
|
50
|
+
{% set _hide_amount = _countbase - _display_amount %}
|
|
51
|
+
{% set _toggle_collapsed = _toggle_collapsed|replace({'%d': _hide_amount}) %}
|
|
52
|
+
{% set _toggle_expanded = _toggle_expanded|replace({'%d': _hide_amount}) %}
|
|
53
|
+
{% endif %}
|
|
54
|
+
|
|
55
|
+
{% if _title is not empty %}
|
|
56
|
+
{% set _title_classes = 'fw-bold mb-4' %}
|
|
57
|
+
<{{ _title_tag }} class="{{ _title_classes }}">
|
|
58
|
+
{{- _title -}}
|
|
59
|
+
</{{ _title_tag }}>
|
|
60
|
+
{% endif %}
|
|
61
|
+
|
|
62
|
+
{# Print the result #}
|
|
63
|
+
<ol {{ attributes }}>
|
|
64
|
+
{% if _items is not empty %}
|
|
65
|
+
{% for _item in _items %}
|
|
66
|
+
{# Decide on per item if it should display. #}
|
|
67
|
+
{% set extra_class = (loop.index > _display_amount and loop.revindex > _bottom_amount) ? "collapse collapse-#{_id}" %}
|
|
68
|
+
<li
|
|
69
|
+
{% if extra_class is not empty %}
|
|
70
|
+
class="{{ extra_class }}"
|
|
71
|
+
{% endif %}
|
|
72
|
+
{% if _item.id is defined and _item.id is not empty %}
|
|
73
|
+
id="{{ _item.id }}"
|
|
74
|
+
{% endif %}>
|
|
75
|
+
<h5>{{ _item.label }}</h5>
|
|
76
|
+
{% if _item.title is defined and _item.title is not empty %}
|
|
77
|
+
<h6>{{ _item.title }}</h6>
|
|
78
|
+
{% endif %}
|
|
79
|
+
{% if _item.content is defined and _item.content is not empty %}
|
|
80
|
+
<div>{{ _item.content }}</div>
|
|
81
|
+
{% endif %}
|
|
82
|
+
</li>
|
|
83
|
+
{# Display the show more button if required. #}
|
|
84
|
+
{% if (_hide_amount > 0 and loop.revindex == _bottom_amount + 1) or (_hide_amount > 0 and _hide_to == 0 and loop.revindex == 1) %}
|
|
85
|
+
{% set _toggler = true %}
|
|
86
|
+
<li class="bcl-timeline__item--toggle">
|
|
87
|
+
<button
|
|
88
|
+
aria-expanded="false"
|
|
89
|
+
data-bs-toggle="collapse"
|
|
90
|
+
data-bs-target=".collapse-{{ _id }}"
|
|
91
|
+
class="btn btn-light btn-md"
|
|
92
|
+
type="button"
|
|
93
|
+
>
|
|
94
|
+
<span class="label-collapsed">{{ _toggle_collapsed }}</span>
|
|
95
|
+
<span class="label-expanded">{{ _toggle_expanded }}</span>
|
|
96
|
+
{% include '@oe-bcl/bcl-icon/icon.html.twig' with {
|
|
97
|
+
name: 'chevron-down',
|
|
98
|
+
size: 'fluid',
|
|
99
|
+
path: _icons_path,
|
|
100
|
+
attributes: create_attribute().addClass('ms-2-5'),
|
|
101
|
+
} only %}
|
|
102
|
+
</button>
|
|
103
|
+
</li>
|
|
104
|
+
{% endif %}
|
|
105
|
+
{% endfor %}
|
|
106
|
+
{% endif %}
|
|
107
|
+
</ol>
|
|
108
|
+
|
|
109
|
+
{% endspaceless %}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
<h2 class="fw-bold mb-3 mb-md-5 d-inline-block">Edit my profile</h2>
|
|
5
|
+
<div class="mb-4 float-lg-end">
|
|
6
|
+
{% include '@oe-bcl/bcl-link/link.html.twig' with profile_back only %}
|
|
7
|
+
</div>
|
|
8
|
+
{% include "@oe-bcl/bcl-navigation/navigation.html.twig" with navigation only %}
|
|
9
|
+
<div class="tab-content">
|
|
10
|
+
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="profile-tab">
|
|
11
|
+
<div class="row">
|
|
12
|
+
<div class="offset-3 col-6 offset-lg-0 col-lg-2 mt-4 pt-3">
|
|
13
|
+
<img src="https://picsum.photos/seed/1002/400/400" class="img-fluid" alt="profile-image">
|
|
14
|
+
<div class="mt-3 d-grid">
|
|
15
|
+
{% include '@oe-bcl/bcl-form-input/form-input.html.twig' with image_upload_input only %}
|
|
16
|
+
{% include '@oe-bcl/bcl-button/button.html.twig' with remove_image_button only %}
|
|
17
|
+
</div>
|
|
18
|
+
</div>
|
|
19
|
+
<div class="col-12 col-lg-10">
|
|
20
|
+
<h3 class="fw-bold mt-4 mb-3 pt-3">Profile information</h3>
|
|
21
|
+
{% include '@oe-bcl/bcl-form/form.html.twig' with profile_information only %}
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="tab-pane fade" id="privacy" role="tabpanel" aria-labelledby="privacy-tab">
|
|
26
|
+
<h3 class="fw-bold pt-2 mt-4 mb-4">Privacy settings</h3>
|
|
27
|
+
{% include '@oe-bcl/bcl-form/form.html.twig' with privacy_settings only %}
|
|
28
|
+
<h3 class="fw-bold my-4">Public profile contents</h3>
|
|
29
|
+
<p class="mb-0">Select what information should be displayed to your profile.</p>
|
|
30
|
+
<p class="mb-4">Only people who have access to your data will be able to consult these informations.</p>
|
|
31
|
+
{% include '@oe-bcl/bcl-form/form.html.twig' with public_profile_content only %}
|
|
32
|
+
<h3 class="fw-bold my-4">Delete account</h3>
|
|
33
|
+
<p class="mb-0">Account deletion is permanent and cannot be undone.</p>
|
|
34
|
+
<p>If you delete your account, all content created by you (comments, articles, ...) will be anonymized.</p>
|
|
35
|
+
{% include '@oe-bcl/bcl-form/form.html.twig' with delete_account only %}
|
|
36
|
+
</div>
|
|
37
|
+
</div>
|
|
38
|
+
{% endblock %}
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
</div>
|
|
27
27
|
<div class="flex-grow-1 ms-3">
|
|
28
28
|
{% if name.link is not empty %}
|
|
29
|
-
<a href="{{ name.link }}" class="fs-5 text-
|
|
29
|
+
<a href="{{ name.link }}" class="fs-5 text-underline-hover mb-0">{{ name.text }}</a>
|
|
30
30
|
{% else %}
|
|
31
|
-
<p class="fs-5
|
|
31
|
+
<p class="fs-5 mb-0 text-primary">{{ name.text }}</p>
|
|
32
32
|
{% endif %}
|
|
33
33
|
<div class="d-flex flex-wrap">
|
|
34
34
|
{% for info in infos %}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
{% extends "@oe-bcl/bcl-base-templates/content-type.html.twig" %}
|
|
2
|
+
|
|
3
|
+
{% block content %}
|
|
4
|
+
<div class="row">
|
|
5
|
+
<div class="col-12 col-md-10">
|
|
6
|
+
{% include '@oe-bcl/bcl-card/card.html.twig' with user only %}
|
|
7
|
+
</div>
|
|
8
|
+
<div class="col-12 col-md-2 text-end">
|
|
9
|
+
<div class="d-grid d-md-block">
|
|
10
|
+
{% include '@oe-bcl/bcl-button/button.html.twig' with edit_button only %}
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="my-3">
|
|
15
|
+
<h4 class="fw-bold mb-4">Personal information</h4>
|
|
16
|
+
<div class="row">
|
|
17
|
+
<div class="col-12 col-md-6">
|
|
18
|
+
<div class="row">
|
|
19
|
+
<div class="col-12 col-md-4">
|
|
20
|
+
<p class="mb-0">Gender:</p>
|
|
21
|
+
</div>
|
|
22
|
+
<div class="col-12 col-md-8">
|
|
23
|
+
<p>Male</p>
|
|
24
|
+
</div>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="row">
|
|
27
|
+
<div class="col-12 col-md-4">
|
|
28
|
+
<p class="mb-0">Nationality:</p>
|
|
29
|
+
</div>
|
|
30
|
+
<div class="col-12 col-md-8">
|
|
31
|
+
<p>German</p>
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
<div class="row">
|
|
35
|
+
<div class="col-12 col-md-4">
|
|
36
|
+
<p class="mb-0">Date of birth:</p>
|
|
37
|
+
</div>
|
|
38
|
+
<div class="col-12 col-md-8">
|
|
39
|
+
<p>22/01/1972</p>
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-12 col-md-6">
|
|
44
|
+
<div class="row">
|
|
45
|
+
<div class="col-12 col-md-4">
|
|
46
|
+
<p class="mb-0">Country:</p>
|
|
47
|
+
</div>
|
|
48
|
+
<div class="col-12 col-md-8">
|
|
49
|
+
<p>Germany</p>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row">
|
|
53
|
+
<div class="col-12 col-md-4">
|
|
54
|
+
<p class="mb-0">City:</p>
|
|
55
|
+
</div>
|
|
56
|
+
<div class="col-12 col-md-8">
|
|
57
|
+
<p>Düsseldorf</p>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
</div>
|
|
62
|
+
</div>
|
|
63
|
+
<div class="my-3">
|
|
64
|
+
<h4 class="fw-bold mb-4">Professional information</h4>
|
|
65
|
+
<div class="row">
|
|
66
|
+
<div class="col-12 col-md-6">
|
|
67
|
+
<div class="row">
|
|
68
|
+
<div class="col-12 col-md-4">
|
|
69
|
+
<p class="mb-0">Organisation:</p>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="col-12 col-md-8">
|
|
72
|
+
<p>DG Test</p>
|
|
73
|
+
</div>
|
|
74
|
+
</div>
|
|
75
|
+
<div class="row">
|
|
76
|
+
<div class="col-12 col-md-4">
|
|
77
|
+
<p class="mb-0">Position:</p>
|
|
78
|
+
</div>
|
|
79
|
+
<div class="col-12 col-md-8">
|
|
80
|
+
<p>Director</p>
|
|
81
|
+
</div>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="col-12 col-md-6">
|
|
85
|
+
<div class="row">
|
|
86
|
+
<div class="col-12 col-md-4">
|
|
87
|
+
<p class="mb-0">Working languages:</p>
|
|
88
|
+
</div>
|
|
89
|
+
<div class="col-12 col-md-8">
|
|
90
|
+
<p>English, German</p>
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</div>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
{% endblock %}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
{% spaceless %}
|
|
2
|
-
|
|
3
|
-
{% if data.header is defined %}
|
|
4
|
-
{% include '@oe-bcl/bcl-header/header.html.twig' with data.header only %}
|
|
5
|
-
{% endif %}
|
|
6
|
-
<main>
|
|
7
|
-
<div class="container">
|
|
8
|
-
{% if data.banner is not empty %}
|
|
9
|
-
<div class="mt-4 mt-md-5">
|
|
10
|
-
{% if data.banner.image is not empty %}
|
|
11
|
-
<img
|
|
12
|
-
src="{{ data.banner.image.path }}"
|
|
13
|
-
{% if data.banner.image.alt is not empty %}
|
|
14
|
-
alt="{{ data.banner.image.alt }}"
|
|
15
|
-
{% endif %}
|
|
16
|
-
{% if data.banner.image.class is not empty %}
|
|
17
|
-
class="{{ data.banner.image.class }}"
|
|
18
|
-
{% endif %}
|
|
19
|
-
/>
|
|
20
|
-
{% endif %}
|
|
21
|
-
{% if data.banner.title is not empty %}
|
|
22
|
-
<div class="p-md-3-5 pt-3 bg-light d-md-flex n-mx-container">
|
|
23
|
-
<h2 class="mb-0 d-inline-block fw-bold">{{ data.banner.title }}</h2>
|
|
24
|
-
{% if data.banner.actions is not empty and data.banner.actions is iterable %}
|
|
25
|
-
<div class="d-grid d-md-block ms-auto">
|
|
26
|
-
{% for _action in data.banner.actions %}
|
|
27
|
-
{% if _action.type == "link" %}
|
|
28
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with _action only %}
|
|
29
|
-
{% elseif _action.type == "button" %}
|
|
30
|
-
{% include '@oe-bcl/bcl-button/button.html.twig' with _action only %}
|
|
31
|
-
{% elseif _action.type == "dropdown" %}
|
|
32
|
-
{% include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _action only %}
|
|
33
|
-
{% endif %}
|
|
34
|
-
{% endfor %}
|
|
35
|
-
</div>
|
|
36
|
-
{% endif %}
|
|
37
|
-
</div>
|
|
38
|
-
{% endif %}
|
|
39
|
-
</div>
|
|
40
|
-
{% endif %}
|
|
41
|
-
{% include '@oe-bcl/bcl-navigation/navigation.html.twig' with data.navigation only %}
|
|
42
|
-
{% if data.banner_description is not empty and data.contact is not empty %}
|
|
43
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with data.banner_description.collapse_trigger only %}
|
|
44
|
-
<div class="collapse d-md-block" id="banner-description">
|
|
45
|
-
<div class="row mt-md-4 mb-md-5 pb-md-5">
|
|
46
|
-
<div class="col-md-8">
|
|
47
|
-
<div class="ps-md-3">
|
|
48
|
-
{% if data.banner_description.metas is not empty and data.banner_description.metas is iterable %}
|
|
49
|
-
<div class="d-block">
|
|
50
|
-
{% for _meta in data.banner_description.metas %}
|
|
51
|
-
<p class="mb-0 me-4 d-inline-block text-muted">
|
|
52
|
-
{% include '@oe-bcl/bcl-icon/icon.html.twig' with _meta.icon only %}
|
|
53
|
-
{{- _meta.label -}}
|
|
54
|
-
</p>
|
|
55
|
-
{% endfor %}
|
|
56
|
-
</div>
|
|
57
|
-
{% endif %}
|
|
58
|
-
{{ data.banner_description.content }}
|
|
59
|
-
</div>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="col-md-4">
|
|
62
|
-
<h4 class="mb-3 pb-2">{{ data.contact.title }}</h4>
|
|
63
|
-
{% if data.contact.profiles is not empty and data.contact.profiles is iterable %}
|
|
64
|
-
{% for _profile in data.contact.profiles %}
|
|
65
|
-
{% include '@oe-bcl/bcl-user-view/user-view-compact.html.twig' with _profile only %}
|
|
66
|
-
{% endfor %}
|
|
67
|
-
{% endif %}
|
|
68
|
-
{% if data.contact.more_link is not empty %}
|
|
69
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with data.contact.more_link only %}
|
|
70
|
-
{% endif %}
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
{% endif %}
|
|
75
|
-
{% if data.recent is not empty and data.members is not empty %}
|
|
76
|
-
<div class="row mt-3 mt-md-5 pt-md-5">
|
|
77
|
-
<div class="col-md-8">
|
|
78
|
-
<h4 class="mb-4 pb-2">{{ data.recent.title }}</h4>
|
|
79
|
-
{% include '@oe-bcl/bcl-recent-activities/recent-activities.html.twig' with data.recent.block_data only %}
|
|
80
|
-
</div>
|
|
81
|
-
<div class="col-md-4">
|
|
82
|
-
<h4 class="mt-4 mt-md-0 mb-4 pb-2">{{ data.members.title}}</h4>
|
|
83
|
-
{% if data.members.profiles is not empty and data.members.profiles is iterable %}
|
|
84
|
-
{% for _profile in data.members.profiles %}
|
|
85
|
-
{% include '@oe-bcl/bcl-user-view/user-view-compact.html.twig' with _profile only %}
|
|
86
|
-
{% endfor %}
|
|
87
|
-
{% endif %}
|
|
88
|
-
{% if data.members.more_link is not empty %}
|
|
89
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with data.members.more_link only %}
|
|
90
|
-
{% endif %}
|
|
91
|
-
</div>
|
|
92
|
-
</div>
|
|
93
|
-
{% endif %}
|
|
94
|
-
{% if data.contributions is not empty %}
|
|
95
|
-
<h4 class="my-4 pt-3 pb-2">{{ data.contributions.title}}</h4>
|
|
96
|
-
{% if data.contributions.listing is not empty %}
|
|
97
|
-
{% include '@oe-bcl/bcl-listing/listing.html.twig' with data.contributions.listing only %}
|
|
98
|
-
{% endif %}
|
|
99
|
-
{% endif %}
|
|
100
|
-
</div>
|
|
101
|
-
</main>
|
|
102
|
-
{% if data.footer is defined %}
|
|
103
|
-
{% include '@oe-bcl/bcl-footer/footer.html.twig' with data.footer only %}
|
|
104
|
-
{% endif %}
|
|
105
|
-
|
|
106
|
-
{% endspaceless %}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
{% spaceless %}
|
|
2
|
-
|
|
3
|
-
{% if data.header is defined %}
|
|
4
|
-
{% include '@oe-bcl/bcl-header/header.html.twig' with data.header only %}
|
|
5
|
-
{% endif %}
|
|
6
|
-
<main>
|
|
7
|
-
<div class="container mt-4 mt-md-5">
|
|
8
|
-
{% if data.banner.title is not empty %}
|
|
9
|
-
<div class="p-md-3-5 pt-3 bg-light d-md-flex n-mx-container">
|
|
10
|
-
<h2 class="mb-0 d-inline-block fw-bold">{{ data.banner.title }}</h2>
|
|
11
|
-
{% if data.banner.actions is not empty and data.banner.actions is iterable %}
|
|
12
|
-
<div class="d-grid d-md-block ms-auto">
|
|
13
|
-
{% for _action in data.banner.actions %}
|
|
14
|
-
{% if _action.type == "link" %}
|
|
15
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with _action only %}
|
|
16
|
-
{% elseif _action.type == "button" %}
|
|
17
|
-
{% include '@oe-bcl/bcl-button/button.html.twig' with _action only %}
|
|
18
|
-
{% elseif _action.type == "dropdown" %}
|
|
19
|
-
{% include '@oe-bcl/bcl-dropdown/dropdown.html.twig' with _action only %}
|
|
20
|
-
{% endif %}
|
|
21
|
-
{% endfor %}
|
|
22
|
-
</div>
|
|
23
|
-
{% endif %}
|
|
24
|
-
</div>
|
|
25
|
-
{% endif %}
|
|
26
|
-
{% if data.navigation is not empty %}
|
|
27
|
-
{% include '@oe-bcl/bcl-navigation/navigation.html.twig' with data.navigation only %}
|
|
28
|
-
{% endif %}
|
|
29
|
-
<div class="row">
|
|
30
|
-
<div class="col-md-3">
|
|
31
|
-
{% include '@oe-bcl/bcl-group-landing-listing/group-landing-listing-offcanvas.html.twig' with data.offcanvas only %}
|
|
32
|
-
</div>
|
|
33
|
-
<div class="col-12 col-lg-9">
|
|
34
|
-
{% include '@oe-bcl/bcl-button/button.html.twig' with data.filter_button only %}
|
|
35
|
-
<div class="mb-3 mb-md-4 clearfix">
|
|
36
|
-
<div class="float-end d-none d-md-flex align-items-baseline">
|
|
37
|
-
{% include '@oe-bcl/bcl-select/select.html.twig' with data.sort_select|merge({
|
|
38
|
-
extra_classes: "w-auto d-inline-block ms-2"
|
|
39
|
-
}) only %}
|
|
40
|
-
</div>
|
|
41
|
-
<h4 class="mb-4">{{ data.main_title }}</h4>
|
|
42
|
-
{% if data.badges is not empty and data.badges is iterable %}
|
|
43
|
-
{% for badge in data.badges %}
|
|
44
|
-
{% include '@oe-bcl/bcl-badge/badge.html.twig' with badge only %}
|
|
45
|
-
{% endfor %}
|
|
46
|
-
{% endif %}
|
|
47
|
-
</div>
|
|
48
|
-
<hr class="d-none d-md-block mt-4 mb-4-75"/>
|
|
49
|
-
<div class="d-md-none">
|
|
50
|
-
{% include '@oe-bcl/bcl-select/select.html.twig' with data.sort_select|merge({
|
|
51
|
-
extra_classes: "mb-4"
|
|
52
|
-
}) only %}
|
|
53
|
-
</div>
|
|
54
|
-
{% if data.cards is not empty and data.cards is iterable %}
|
|
55
|
-
{% for card in data.cards %}
|
|
56
|
-
{% include '@oe-bcl/bcl-card/card.html.twig' with card only %}
|
|
57
|
-
{% if card.border_bottom %}
|
|
58
|
-
<hr class="d-md-none mb-4-5">
|
|
59
|
-
{% endif %}
|
|
60
|
-
{% endfor %}
|
|
61
|
-
{% endif %}
|
|
62
|
-
{% if data.pagination.border_top %}
|
|
63
|
-
<hr class="d-none d-md-block mb-4-5">
|
|
64
|
-
{% endif %}
|
|
65
|
-
{% include '@oe-bcl/bcl-pagination/pagination.html.twig' with data.pagination only %}
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
</main>
|
|
70
|
-
{% if data.footer is defined %}
|
|
71
|
-
{% include '@oe-bcl/bcl-footer/footer.html.twig' with data.footer only %}
|
|
72
|
-
{% endif %}
|
|
73
|
-
|
|
74
|
-
{% endspaceless %}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
{% spaceless %}
|
|
2
|
-
|
|
3
|
-
{% if data.header is defined %}
|
|
4
|
-
{% include '@oe-bcl/bcl-header/header.html.twig' with data.header only %}
|
|
5
|
-
{% endif %}
|
|
6
|
-
<main>
|
|
7
|
-
<div class="container mt-5">
|
|
8
|
-
<div class="row">
|
|
9
|
-
<div class="col-md-3">
|
|
10
|
-
{% include '@oe-bcl/bcl-search/search-offcanvas.html.twig' with data.offcanvas only %}
|
|
11
|
-
</div>
|
|
12
|
-
<div class="col-12 col-lg-9">
|
|
13
|
-
{% include '@oe-bcl/bcl-button/button.html.twig' with data.filter_button only %}
|
|
14
|
-
<div class="mb-4 clearfix">
|
|
15
|
-
<div class="float-end d-none d-md-flex align-items-baseline">
|
|
16
|
-
{% include '@oe-bcl/bcl-select/select.html.twig' with data.sort_select|merge({
|
|
17
|
-
extra_classes: "w-auto d-inline-block ms-2"
|
|
18
|
-
}) only %}
|
|
19
|
-
</div>
|
|
20
|
-
<h4 class="mb-4">Search results (18)</h4>
|
|
21
|
-
{% if data.badges is not empty and data.badges is iterable %}
|
|
22
|
-
{% for badge in data.badges %}
|
|
23
|
-
{% include '@oe-bcl/bcl-badge/badge.html.twig' with badge only %}
|
|
24
|
-
{% endfor %}
|
|
25
|
-
{% endif %}
|
|
26
|
-
</div>
|
|
27
|
-
<hr class="d-none d-md-block mt-4 mb-4-75"/>
|
|
28
|
-
<div class="d-md-none">
|
|
29
|
-
{% include '@oe-bcl/bcl-select/select.html.twig' with data.sort_select|merge({
|
|
30
|
-
extra_classes: "mb-4"
|
|
31
|
-
}) only %}
|
|
32
|
-
</div>
|
|
33
|
-
{% if data.cards is not empty and data.cards is iterable %}
|
|
34
|
-
{% for card in data.cards %}
|
|
35
|
-
{% include '@oe-bcl/bcl-card/card.html.twig' with card only %}
|
|
36
|
-
<hr class="d-md-none mb-4-5">
|
|
37
|
-
{% endfor %}
|
|
38
|
-
{% endif %}
|
|
39
|
-
{% include '@oe-bcl/bcl-pagination/pagination.html.twig' with data.pagination only %}
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</div>
|
|
43
|
-
</main>
|
|
44
|
-
{% if data.footer is defined %}
|
|
45
|
-
{% include '@oe-bcl/bcl-footer/footer.html.twig' with data.footer only %}
|
|
46
|
-
{% endif %}
|
|
47
|
-
|
|
48
|
-
{% endspaceless %}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
{% extends "@oe-bcl/bcl-navigation/navigation.html.twig" %}
|
|
2
|
-
|
|
3
|
-
{% block contents %}
|
|
4
|
-
<div class="tab-pane fade show active" id="profile" role="tabpanel" aria-labelledby="profile-tab">
|
|
5
|
-
<div class="row">
|
|
6
|
-
<div class="offset-3 col-6 offset-lg-0 col-lg-2 mt-4 pt-3">
|
|
7
|
-
<img src="https://picsum.photos/seed/1002/400/400" class="img-fluid" alt="profile-image">
|
|
8
|
-
<div class="mt-3 d-grid">
|
|
9
|
-
{% include '@oe-bcl/bcl-form-input/form-input.html.twig' with imageUploadInput only %}
|
|
10
|
-
{% include '@oe-bcl/bcl-button/button.html.twig' with removeImageButton only %}
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
<div class="col-12 col-lg-10">
|
|
14
|
-
<h3 class="fw-bold mt-4 mb-3 pt-3">Profile information</h3>
|
|
15
|
-
{% include '@oe-bcl/bcl-form/form.html.twig' with profileInformation only %}
|
|
16
|
-
</div>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div class="tab-pane fade" id="privacy" role="tabpanel" aria-labelledby="privacy-tab">
|
|
20
|
-
<h3 class="fw-bold pt-2 mt-4 mb-4">Privacy settings</h3>
|
|
21
|
-
{% include '@oe-bcl/bcl-form/form.html.twig' with privacySettings only %}
|
|
22
|
-
<h3 class="fw-bold my-4">Public profile contents</h3>
|
|
23
|
-
<p class="mb-0">Select what information should be displayed to your profile.</p>
|
|
24
|
-
<p class="mb-4">Only people who have access to your data will be able to consult these informations.</p>
|
|
25
|
-
{% include '@oe-bcl/bcl-form/form.html.twig' with publicProfileContent only %}
|
|
26
|
-
<h3 class="fw-bold my-4">Delete account</h3>
|
|
27
|
-
<p class="mb-0">Account deletion is permanent and cannot be undone.</p>
|
|
28
|
-
<p>If you delete your account, all content created by you (comments, articles, ...) will be anonymized.</p>
|
|
29
|
-
{% include '@oe-bcl/bcl-form/form.html.twig' with deleteAccount only %}
|
|
30
|
-
</div>
|
|
31
|
-
|
|
32
|
-
{% endblock %}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
{% spaceless %}
|
|
2
|
-
|
|
3
|
-
{% if data.header is defined %}
|
|
4
|
-
{% include '@oe-bcl/bcl-header/header.html.twig' with data.header only %}
|
|
5
|
-
{% endif %}
|
|
6
|
-
<main>
|
|
7
|
-
<div class="container mt-5">
|
|
8
|
-
<h2 class="fw-bold mb-3 mb-md-5 d-inline-block">Edit my profile</h2>
|
|
9
|
-
<div class="mb-4 float-lg-end">
|
|
10
|
-
{% include '@oe-bcl/bcl-link/link.html.twig' with data.navigation.profileBack only %}
|
|
11
|
-
</div>
|
|
12
|
-
{% include '@oe-bcl/bcl-user-edit/edit-contents.html.twig' with data.navigation only %}
|
|
13
|
-
</div>
|
|
14
|
-
</main>
|
|
15
|
-
{% if data.footer is defined %}
|
|
16
|
-
{% include '@oe-bcl/bcl-footer/footer.html.twig' with data.footer only %}
|
|
17
|
-
{% endif %}
|
|
18
|
-
|
|
19
|
-
{% endspaceless %}
|