epfl-elements 4.7.0 → 4.9.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/dist/components/atoms/picture/picture-news-thumb.twig +11 -0
- package/dist/components/atoms/switch/switch-inline.twig +5 -0
- package/dist/components/atoms/switch/switch-states.twig +3 -0
- package/dist/components/atoms/switch/switch.twig +4 -0
- package/dist/components/atoms/switch/switch.yml +10 -0
- package/dist/components/content-types/news/news-horizontal-listing-gray.twig +36 -0
- package/dist/components/content-types/news/news-horizontal-listing.twig +36 -0
- package/dist/components/content-types/news/news.yml +7 -0
- package/dist/components/molecules/breadcrumb/breadcrumb-dropdown.twig +69 -0
- package/dist/components/molecules/breadcrumb/breadcrumb-tagged.twig +59 -4
- package/dist/components/molecules/breadcrumb/breadcrumb.twig +8 -2
- package/dist/components/molecules/breadcrumb/breadcrumb.yml +4 -0
- package/dist/components/molecules/key-number/key-number-hn-link.twig +23 -0
- package/dist/components/molecules/key-number/key-number-hn.twig +23 -0
- package/dist/components/molecules/key-number/key-number.yml +4 -0
- package/dist/components/molecules/list-group/list-group-teasers.twig +35 -1
- package/dist/components/organisms/footer/footer-legal.twig +12 -3
- package/dist/components/organisms/key-number-group/key-number-group-hn.twig +7 -0
- package/dist/components/organisms/key-number-group/key-number-group.yml +3 -0
- package/dist/components/organisms/nav-aside/nav-aside.twig +12 -2
- package/dist/components/organisms/nav-aside/nav-aside.yml +4 -0
- package/dist/components/organisms/nav-mobile/nav-mobile.twig +24 -0
- package/dist/components/organisms/nav-mobile/nav-mobile.yml +5 -0
- package/dist/components/pages/about/about.twig +2 -0
- package/dist/components/pages/association-list/association-list.twig +2 -0
- package/dist/components/pages/blog-single/blog-single.twig +22 -5
- package/dist/components/pages/lab-homepage/lab-homepage.twig +6 -2
- package/dist/components/pages/news-detail/news-detail.twig +19 -27
- package/dist/components/pages/news-homepage/news-homepage.twig +1 -0
- package/dist/components/pages/study-plan/study-plan.twig +25 -3
- package/dist/components/pages/study-plan-course/study-plan-course.twig +27 -5
- package/dist/components/templates/base/base.twig +7 -12
- package/dist/css/elements.css +279 -37
- package/dist/css/elements.min.css +1 -1
- package/dist/css/elements.min.css.map +1 -1
- package/dist/css/reader.css +4 -2
- package/dist/css/reader.min.css +1 -1
- package/dist/css/reader.min.css.map +1 -1
- package/dist/images/icons/icon-teaser-video.svg +1 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-1080x608.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-120x68.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-160x90.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-190x107.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-240x135.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-540x304.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-80x45.jpg +0 -0
- package/dist/images/styleguide/news-thumbs/news_thumb_02-95x53.jpg +0 -0
- package/dist/js/elements.js +22 -49
- package/dist/js/elements.min.js +1 -1
- package/dist/js/elements.min.js.map +1 -1
- package/dist/js/reader.js +5618 -5651
- package/dist/js/reader.min.js +1 -1
- package/dist/js/reader.min.js.LICENSE.txt +16 -0
- package/dist/js/reader.min.js.map +1 -1
- package/dist/package.json +6 -6
- package/package.json +6 -6
- /package/dist/images/styleguide/news-thumbs/{news_thumb-120x58.jpg → news_thumb-120x68.jpg} +0 -0
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
{% if light_image %}
|
|
2
|
+
<picture>
|
|
3
|
+
<source media="(min-width: 1140px)" srcset="./images/styleguide/news-thumbs/news_thumb_02-95x53.jpg 1x, ./images/styleguide/news-thumbs/news_thumb_02-190x107.jpg 2x">
|
|
4
|
+
<source media="(min-width: 960px)" srcset="./images/styleguide/news-thumbs/news_thumb_02-95x53.jpg 1x, ./images/styleguide/news-thumbs/news_thumb_02-190x107.jpg 2x">
|
|
5
|
+
<source media="(min-width: 720px)" srcset="./images/styleguide/news-thumbs/news_thumb_02-80x45.jpg 1x, ./images/styleguide/news-thumbs/news_thumb_02-160x90.jpg 2x">
|
|
6
|
+
<source media="(min-width: 541px)" srcset="./images/styleguide/news-thumbs/news_thumb_02-120x68.jpg 1x, ./images/styleguide/news-thumbs/news_thumb_02-240x135.jpg 2x">
|
|
7
|
+
<source media="(max-width: 540px)" srcset="./images/styleguide/news-thumbs/news_thumb_02-540x304.jpg 1x, ./images/styleguide/news-thumbs/news_thumb_02-1080x608.jpg 2x">
|
|
8
|
+
<img src="./images/styleguide/news-thumbs/news_thumb_02-95x53.jpg" class="img-fluid" alt="ALT">
|
|
9
|
+
</picture>
|
|
10
|
+
{% else %}
|
|
1
11
|
<picture>
|
|
2
12
|
<source media="(min-width: 1140px)" srcset="./images/styleguide/news-thumbs/news_thumb-95x53.jpg 1x, ./images/styleguide/news-thumbs/news_thumb-190x107.jpg 2x">
|
|
3
13
|
<source media="(min-width: 960px)" srcset="./images/styleguide/news-thumbs/news_thumb-95x53.jpg 1x, ./images/styleguide/news-thumbs/news_thumb-190x107.jpg 2x">
|
|
@@ -6,3 +16,4 @@
|
|
|
6
16
|
<source media="(max-width: 540px)" srcset="./images/styleguide/news-thumbs/news_thumb-540x304.jpg 1x, ./images/styleguide/news-thumbs/news_thumb-1080x608.jpg 2x">
|
|
7
17
|
<img src="./images/styleguide/news-thumbs/news_thumb-95x53.jpg" class="img-fluid" alt="ALT">
|
|
8
18
|
</picture>
|
|
19
|
+
{% endif %}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<div class="custom-controls-inline">
|
|
2
|
+
{% include '@atoms/switch/switch.twig' with { id: '22', label: 'Cellular data', state: 'checked' } %}
|
|
3
|
+
{% include '@atoms/switch/switch.twig' with { id: '23', label: 'Airplane mode' } %}
|
|
4
|
+
{% include '@atoms/switch/switch.twig' with { id: '24', label: 'Turn off notifications'} %}
|
|
5
|
+
</div>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
title: Switch
|
|
2
|
+
name: switch
|
|
3
|
+
variants:
|
|
4
|
+
- name: states
|
|
5
|
+
title: Switch sample
|
|
6
|
+
notes: Switches also support the disabled attribute.
|
|
7
|
+
- name: inline
|
|
8
|
+
title: Inline switch
|
|
9
|
+
notes: |
|
|
10
|
+
A switch has the markup of a custom [checkbox](#/atoms/checkbox) but uses the `.custom-switch` class to render a toggle switch.
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<div class="card-slider-wrapper">
|
|
2
|
+
<div class="card-slider">
|
|
3
|
+
{% for i in 1..10 %}
|
|
4
|
+
<div class="card-slider-cell">
|
|
5
|
+
<a href="#" class="card link-trapeze-horizontal">
|
|
6
|
+
<div class="card-body">
|
|
7
|
+
{% include '@atoms/picture/picture.twig' with {'variant':'news-thumb'} %}
|
|
8
|
+
<div itemscope itemtype="http://schema.org/Article">
|
|
9
|
+
<h3 class="card-title h5 mt-3" itemprop="name">Physics: new e-books for the AIAA Education Series</h3>
|
|
10
|
+
<p>
|
|
11
|
+
<time datetime="2018-03-26" itemprop="datePublished"><span class="sr-only">Published:</span>26.03.2018</time>
|
|
12
|
+
<span class="text-muted" itemprop="description">— Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet
|
|
13
|
+
Epicureum esse, si probarem, quae ille diceret?</span>
|
|
14
|
+
</p>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</a>
|
|
18
|
+
</div>
|
|
19
|
+
{% endfor %}
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="card-slider-footer">
|
|
23
|
+
<div>
|
|
24
|
+
<button role="button" id="card-slider-prev" class="card-slider-btn link-trapeze-horizontal disabled">
|
|
25
|
+
<svg class="icon" aria-hidden="true">
|
|
26
|
+
<use xlink:href="#icon-chevron-left"></use>
|
|
27
|
+
</svg>
|
|
28
|
+
</button>
|
|
29
|
+
<button role="button" id="card-slider-next" class="card-slider-btn link-trapeze-horizontal">
|
|
30
|
+
<svg class="icon" aria-hidden="true">
|
|
31
|
+
<use xlink:href="#icon-chevron-right"></use>
|
|
32
|
+
</svg>
|
|
33
|
+
</button>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
<div class="card-slider-wrapper">
|
|
2
|
+
<div class="card-slider">
|
|
3
|
+
{% for i in 1..10 %}
|
|
4
|
+
<div class="card-slider-cell">
|
|
5
|
+
<a href="#" class="card card-gray link-trapeze-horizontal">
|
|
6
|
+
<div class="card-body">
|
|
7
|
+
{% include '@atoms/picture/picture.twig' with {'variant':'news-thumb'} %}
|
|
8
|
+
<div itemscope itemtype="http://schema.org/Article">
|
|
9
|
+
<h3 class="card-title h5 mt-3" itemprop="name">Physics: new e-books for the AIAA Education Series</h3>
|
|
10
|
+
<p>
|
|
11
|
+
<time datetime="2018-03-26" itemprop="datePublished"><span class="sr-only">Published:</span>26.03.2018</time>
|
|
12
|
+
<span class="text-muted" itemprop="description">— Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet
|
|
13
|
+
Epicureum esse, si probarem, quae ille diceret?</span>
|
|
14
|
+
</p>
|
|
15
|
+
</div>
|
|
16
|
+
</div>
|
|
17
|
+
</a>
|
|
18
|
+
</div>
|
|
19
|
+
{% endfor %}
|
|
20
|
+
</div>
|
|
21
|
+
|
|
22
|
+
<div class="card-slider-footer">
|
|
23
|
+
<div>
|
|
24
|
+
<button role="button" id="card-slider-prev" class="card-slider-btn link-trapeze-horizontal disabled">
|
|
25
|
+
<svg class="icon" aria-hidden="true">
|
|
26
|
+
<use xlink:href="#icon-chevron-left"></use>
|
|
27
|
+
</svg>
|
|
28
|
+
</button>
|
|
29
|
+
<button role="button" id="card-slider-next" class="card-slider-btn link-trapeze-horizontal">
|
|
30
|
+
<svg class="icon" aria-hidden="true">
|
|
31
|
+
<use xlink:href="#icon-chevron-right"></use>
|
|
32
|
+
</svg>
|
|
33
|
+
</button>
|
|
34
|
+
</div>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
title: News
|
|
2
2
|
name: news
|
|
3
3
|
variants:
|
|
4
|
+
- name: horizontal-listing
|
|
5
|
+
title: Horizontal Listing
|
|
6
|
+
notes: Don't forget to wrap your card slider with a wrapper that will hide the overflow (`.overflow-hidden` helper class will achieve just that).
|
|
7
|
+
- name: horizontal-listing-gray
|
|
8
|
+
title: Horizontal Listing with gray background
|
|
9
|
+
notes: Don't forget to wrap your card slider with a wrapper that will hide the overflow (`.overflow-hidden` helper class will achieve just that).
|
|
10
|
+
wrapper: bg-gray-100 py-4 my-4
|
|
4
11
|
- name: highlighted
|
|
5
12
|
title: Highlighted
|
|
6
13
|
- name: highlighted-carousel
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
<nav aria-label="breadcrumb" class="breadcrumb-wrapper">
|
|
2
|
+
<ol class="breadcrumb">
|
|
3
|
+
<li class="breadcrumb-item">
|
|
4
|
+
<a class="bread-link bread-home" href="#">
|
|
5
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'icon-home' } %}
|
|
6
|
+
</a>
|
|
7
|
+
</li>
|
|
8
|
+
<li class="breadcrumb-item expand-links">
|
|
9
|
+
<button class="btn btn-expand-links" aria-expanded="false" title="Display the complete path">
|
|
10
|
+
<span class="dots" aria-hidden="true">…</span>
|
|
11
|
+
<span class="sr-only">Display the complete path</span>
|
|
12
|
+
</button>
|
|
13
|
+
</li>
|
|
14
|
+
<li class="breadcrumb-item">
|
|
15
|
+
<a class="bread-link" href="#">Schools</a>
|
|
16
|
+
<div class="dropdown">
|
|
17
|
+
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="dropdown-menu-1">
|
|
18
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'arrow-down-circle', icon_classes:'feather' } %}
|
|
19
|
+
<span class="sr-only">Display same level pages – Schools</span>
|
|
20
|
+
</button>
|
|
21
|
+
<ul class="dropdown-menu" id="dropdown-menu-1">
|
|
22
|
+
<li class="dropdown-item"><a href="#">About</a></li>
|
|
23
|
+
<li class="dropdown-item"><a href="#">Education</a></li>
|
|
24
|
+
<li class="dropdown-item"><a href="#">Research</a></li>
|
|
25
|
+
<li class="dropdown-item"><a href="#">Innovation</a></li>
|
|
26
|
+
<li class="dropdown-item current-menu-item-parent"><a href="#">Schools</a></li>
|
|
27
|
+
<li class="dropdown-item"><a href="#">Campus</a></li>
|
|
28
|
+
</ul>
|
|
29
|
+
</div>
|
|
30
|
+
</li>
|
|
31
|
+
<li class="breadcrumb-item">
|
|
32
|
+
<a class="bread-link" href="#">School of Architecture, Civil and Environmental Engineering</a>
|
|
33
|
+
<div class="dropdown">
|
|
34
|
+
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="dropdown-menu-2">
|
|
35
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'arrow-down-circle', icon_classes:'feather' } %}
|
|
36
|
+
<span class="sr-only">Display same level pages – School of Architecture, Civil and Environmental Engineering</span>
|
|
37
|
+
</button>
|
|
38
|
+
<ul class="dropdown-menu" id="dropdown-menu-2">
|
|
39
|
+
<li class="dropdown-item current-menu-item-parent"><a href="#">School of Architecture, Civil and Environmental Engineering</a></li>
|
|
40
|
+
<li class="dropdown-item"><a href="#">School of Computer and Communication Sciences</a></li>
|
|
41
|
+
<li class="dropdown-item"><a href="#">School of Basic Sciences</a></li>
|
|
42
|
+
<li class="dropdown-item"><a href="#">School of Engineering</a></li>
|
|
43
|
+
<li class="dropdown-item"><a href="#">School of Life Sciences</a></li>
|
|
44
|
+
<li class="dropdown-item"><a href="#">College of Management of Technology</a></li>
|
|
45
|
+
<li class="dropdown-item"><a href="#">College of Humanities</a></li>
|
|
46
|
+
<li class="dropdown-item"><a href="#">Sections</a></li>
|
|
47
|
+
</ul>
|
|
48
|
+
</div>
|
|
49
|
+
</li>
|
|
50
|
+
<li class="breadcrumb-item">
|
|
51
|
+
<a class="bread-link" href="#">Sustainability challenges</a>
|
|
52
|
+
</li>
|
|
53
|
+
<li class="breadcrumb-item active" aria-current="page">
|
|
54
|
+
<span class="bread-item">FUSTIC association</span>
|
|
55
|
+
<div class="dropdown">
|
|
56
|
+
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="dropdown-menu-3">
|
|
57
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'arrow-down-circle', icon_classes:'feather' } %}
|
|
58
|
+
<span class="sr-only">Display same level pages – FUSTIC association</span>
|
|
59
|
+
</button>
|
|
60
|
+
<ul class="dropdown-menu" id="dropdown-menu-3">
|
|
61
|
+
<li class="dropdown-item"><a href="#">ENAC Clusters</a></li>
|
|
62
|
+
<li class="dropdown-item"><a href="#">Interdisciplinary Centers</a></li>
|
|
63
|
+
<li class="dropdown-item current-menu-item-parent"><a href="#">FUSTIC association</a></li>
|
|
64
|
+
<li class="dropdown-item"><a href="#">Sustainability grants</a></li>
|
|
65
|
+
</ul>
|
|
66
|
+
</div>
|
|
67
|
+
</li>
|
|
68
|
+
</ol>
|
|
69
|
+
</nav>
|
|
@@ -10,9 +10,64 @@
|
|
|
10
10
|
<a href="#" class="tag tag-primary">Innovation</a>
|
|
11
11
|
<a href="#" class="tag tag-primary">W3C</a>
|
|
12
12
|
</li>
|
|
13
|
-
<li class="breadcrumb-item
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
<li class="breadcrumb-item expand-links">
|
|
14
|
+
<button class="btn btn-expand-links" aria-expanded="false" title="Display the complete path">
|
|
15
|
+
<span class="dots" aria-hidden="true">…</span>
|
|
16
|
+
<span class="sr-only">Display the complete path</span>
|
|
17
|
+
</button>
|
|
18
|
+
</li>
|
|
19
|
+
<li class="breadcrumb-item">
|
|
20
|
+
<a class="bread-link" href="#">Schools</a>
|
|
21
|
+
<div class="dropdown">
|
|
22
|
+
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="dropdown-menu-1">
|
|
23
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'arrow-down-circle', icon_classes:'feather' } %}
|
|
24
|
+
<span class="sr-only">Display same level pages – Schools</span>
|
|
25
|
+
</button>
|
|
26
|
+
<ul class="dropdown-menu" id="dropdown-menu-1">
|
|
27
|
+
<li class="dropdown-item"><a href="#">About</a></li>
|
|
28
|
+
<li class="dropdown-item"><a href="#">Education</a></li>
|
|
29
|
+
<li class="dropdown-item"><a href="#">Research</a></li>
|
|
30
|
+
<li class="dropdown-item"><a href="#">Innovation</a></li>
|
|
31
|
+
<li class="dropdown-item current-menu-item-parent"><a href="#">Schools</a></li>
|
|
32
|
+
<li class="dropdown-item"><a href="#">Campus</a></li>
|
|
33
|
+
</ul>
|
|
34
|
+
</div>
|
|
35
|
+
</li>
|
|
36
|
+
<li class="breadcrumb-item">
|
|
37
|
+
<a class="bread-link" href="#">School of Architecture, Civil and Environmental Engineering</a>
|
|
38
|
+
<div class="dropdown">
|
|
39
|
+
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="dropdown-menu-2">
|
|
40
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'arrow-down-circle', icon_classes:'feather' } %}
|
|
41
|
+
<span class="sr-only">Display same level pages – School of Architecture, Civil and Environmental Engineering</span>
|
|
42
|
+
</button>
|
|
43
|
+
<ul class="dropdown-menu" id="dropdown-menu-2">
|
|
44
|
+
<li class="dropdown-item current-menu-item-parent"><a href="#">School of Architecture, Civil and Environmental Engineering</a></li>
|
|
45
|
+
<li class="dropdown-item"><a href="#">School of Computer and Communication Sciences</a></li>
|
|
46
|
+
<li class="dropdown-item"><a href="#">School of Basic Sciences</a></li>
|
|
47
|
+
<li class="dropdown-item"><a href="#">School of Engineering</a></li>
|
|
48
|
+
<li class="dropdown-item"><a href="#">School of Life Sciences</a></li>
|
|
49
|
+
<li class="dropdown-item"><a href="#">College of Management of Technology</a></li>
|
|
50
|
+
<li class="dropdown-item"><a href="#">College of Humanities</a></li>
|
|
51
|
+
<li class="dropdown-item"><a href="#">Sections</a></li>
|
|
52
|
+
</ul>
|
|
53
|
+
</div>
|
|
54
|
+
</li>
|
|
55
|
+
<li class="breadcrumb-item active" aria-current="page">
|
|
56
|
+
<span class="bread-item">ENAC Faculty</span>
|
|
57
|
+
<div class="dropdown">
|
|
58
|
+
<button class="btn btn-secondary dropdown-toggle" type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-controls="dropdown-menu-3">
|
|
59
|
+
{% include '@atoms/icon/icon.twig' with { icon: 'arrow-down-circle', icon_classes:'feather' } %}
|
|
60
|
+
<span class="sr-only">Display same level pages – ENAC Faculty</span>
|
|
61
|
+
</button>
|
|
62
|
+
<ul class="dropdown-menu" id="dropdown-menu-3">
|
|
63
|
+
<li class="dropdown-item"><a href="#">News</a></li>
|
|
64
|
+
<li class="dropdown-item current-menu-item-parent"><a href="#">ENAC Faculty</a></li>
|
|
65
|
+
<li class="dropdown-item"><a href="#">Education</a></li>
|
|
66
|
+
<li class="dropdown-item"><a href="#">Research</a></li>
|
|
67
|
+
<li class="dropdown-item"><a href="#">Sustainability challenges</a></li>
|
|
68
|
+
<li class="dropdown-item"><a href="#">Intranet ENAC</a></li>
|
|
69
|
+
</ul>
|
|
70
|
+
</div>
|
|
71
|
+
</li>
|
|
17
72
|
</ol>
|
|
18
73
|
</nav>
|
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
<nav aria-label="breadcrumb" class="breadcrumb-wrapper">
|
|
2
2
|
<ol class="breadcrumb">
|
|
3
3
|
<li class="breadcrumb-item">
|
|
4
|
-
<a href="#">
|
|
4
|
+
<a class="bread-link bread-home" href="#">
|
|
5
5
|
{% include '@atoms/icon/icon.twig' with { icon: 'icon-home' } %}
|
|
6
6
|
</a>
|
|
7
7
|
</li>
|
|
8
|
-
<li class="breadcrumb-item
|
|
8
|
+
<li class="breadcrumb-item expand-links">
|
|
9
|
+
<button class="btn btn-expand-links" aria-expanded="false" title="Display the complete path">
|
|
10
|
+
<span class="dots" aria-hidden="true">…</span>
|
|
11
|
+
<span class="sr-only">Display the complete path</span>
|
|
12
|
+
</button>
|
|
13
|
+
</li>
|
|
14
|
+
<li class="breadcrumb-item"><a class="bread-link" href="#">Schools</a></li>
|
|
9
15
|
<li class="breadcrumb-item active" aria-current="page">ENAC</li>
|
|
10
16
|
</ol>
|
|
11
17
|
</nav>
|
|
@@ -3,5 +3,9 @@ name: breadcrumb
|
|
|
3
3
|
notes: |
|
|
4
4
|
The breadcrumb is your compass, on every page. It helps you to understand where you are, so you can decide where to go next.
|
|
5
5
|
variants:
|
|
6
|
+
- name: dropdown
|
|
7
|
+
title: Dropdown
|
|
8
|
+
notes: |
|
|
9
|
+
Breadcrumb dropdowns are used to display same level pages.
|
|
6
10
|
- name: tagged
|
|
7
11
|
title: Tagged
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{% set icon = icon|default("https://via.placeholder.com/") %}
|
|
2
|
+
<a class="card link-trapeze-horizontal" href="#">
|
|
3
|
+
<div class="card border-0 bg-white m-0 h-100">
|
|
4
|
+
<div class="card-header border-0">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-md-6">
|
|
7
|
+
<p class="h4">près de 18'000</p>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="col-md-6 text-right">
|
|
10
|
+
<img src="images/styleguide/key-numbers/students.png" class="d-block m-auto" alt="Pictogramme avec deux personnages" />
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="card-body pt-0">
|
|
15
|
+
<div class="row">
|
|
16
|
+
<div class="col-md-12">
|
|
17
|
+
<hr />
|
|
18
|
+
<p>étudiant·es, collaborateurs et collaboratrices font de l'EPFL une petite ville trépidante et dynamique</p>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</a>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{% set icon = icon|default("https://via.placeholder.com/") %}
|
|
2
|
+
<div class="card">
|
|
3
|
+
<div class="card border-0 bg-white m-0 h-100">
|
|
4
|
+
<div class="card-header border-0">
|
|
5
|
+
<div class="row">
|
|
6
|
+
<div class="col-md-6">
|
|
7
|
+
<p class="h4">près de 18'000</p>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="col-md-6 text-right">
|
|
10
|
+
<img src="images/styleguide/key-numbers/students.png" class="d-block m-auto" alt="Pictogramme avec deux personnages" />
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
<div class="card-body pt-0">
|
|
15
|
+
<div class="row">
|
|
16
|
+
<div class="col-md-12">
|
|
17
|
+
<hr />
|
|
18
|
+
<p>étudiant·es, collaborateurs et collaboratrices font de l'EPFL une petite ville trépidante et dynamique</p>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</div>
|
|
22
|
+
</div>
|
|
23
|
+
</div>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<div class="list-group">
|
|
2
|
-
{% for i in 1..
|
|
2
|
+
{% for i in 1..2 %}
|
|
3
3
|
|
|
4
4
|
<div class="list-group-teaser list-group-item list-group-teaser-container">
|
|
5
5
|
<div class="list-group-teaser-thumbnail">
|
|
@@ -18,6 +18,40 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
{% endfor %}
|
|
20
20
|
|
|
21
|
+
<div class="list-group-teaser list-group-item list-group-teaser-container">
|
|
22
|
+
<div class="list-group-teaser-thumbnail">
|
|
23
|
+
<a href="#" class="link-trapeze-horizontal">
|
|
24
|
+
{% include '@atoms/picture/picture-news-thumb.twig' %}
|
|
25
|
+
<div class="news-video-overlay"></div>
|
|
26
|
+
</a>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="list-group-teaser-content">
|
|
29
|
+
<h3 class="h5"><a href="#">Physics: new e-books for the AIAA Education Series</a></h3>
|
|
30
|
+
<p>
|
|
31
|
+
<time datetime="2018-03-26"><span class="sr-only">Published:</span>26.03.2018</time>
|
|
32
|
+
<span class="text-muted">— Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet
|
|
33
|
+
Epicureum esse, si probarem, quae ille diceret?</span>
|
|
34
|
+
</p>
|
|
35
|
+
</div>
|
|
36
|
+
</div>
|
|
37
|
+
|
|
38
|
+
<div class="list-group-teaser list-group-item list-group-teaser-container">
|
|
39
|
+
<div class="list-group-teaser-thumbnail">
|
|
40
|
+
<a href="#" class="link-trapeze-horizontal">
|
|
41
|
+
{% include '@atoms/picture/picture-news-thumb.twig' with { light_image: true } %}
|
|
42
|
+
<div class="news-video-overlay"></div>
|
|
43
|
+
</a>
|
|
44
|
+
</div>
|
|
45
|
+
<div class="list-group-teaser-content">
|
|
46
|
+
<h3 class="h5"><a href="#">Physics: new e-books for the AIAA Education Series</a></h3>
|
|
47
|
+
<p>
|
|
48
|
+
<time datetime="2018-03-26"><span class="sr-only">Published:</span>26.03.2018</time>
|
|
49
|
+
<span class="text-muted">— Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet
|
|
50
|
+
Epicureum esse, si probarem, quae ille diceret?</span>
|
|
51
|
+
</p>
|
|
52
|
+
</div>
|
|
53
|
+
</div>
|
|
54
|
+
|
|
21
55
|
<div class="list-group-teaser list-group-item list-group-teaser-container teaser-img-right">
|
|
22
56
|
<div class="list-group-teaser-thumbnail">
|
|
23
57
|
<a href="#" class="link-trapeze-horizontal">
|
|
@@ -6,9 +6,12 @@
|
|
|
6
6
|
<a href="https://www.epfl.ch/about/overview/fr/reglements-et-directives/mentions-legales/">Accessibilité</a>
|
|
7
7
|
<a href="https://www.epfl.ch/about/overview/fr/reglements-et-directives/mentions-legales/">Mentions légales</a>
|
|
8
8
|
<a href="https://go.epfl.ch/protection-des-donnees/">Protection des données</a>
|
|
9
|
+
{% if isNews %}
|
|
10
|
+
<a href="https://go.epfl.ch/charte">Charte</a>
|
|
11
|
+
{% endif %}
|
|
9
12
|
</div>
|
|
10
13
|
<div>
|
|
11
|
-
<p>©
|
|
14
|
+
<p>© 2024 EPFL, tous droits réservés</p>
|
|
12
15
|
</div>
|
|
13
16
|
</div>
|
|
14
17
|
{% endif %}
|
|
@@ -18,9 +21,12 @@
|
|
|
18
21
|
<a href="https://www.epfl.ch/about/overview/regulations-and-guidelines/disclaimer/">Accessibility</a>
|
|
19
22
|
<a href="https://www.epfl.ch/about/overview/regulations-and-guidelines/disclaimer/">Disclaimer</a>
|
|
20
23
|
<a href="https://go.epfl.ch/privacy-policy/">Privacy policy</a>
|
|
24
|
+
{% if isNews %}
|
|
25
|
+
<a href="https://go.epfl.ch/guidelines">Charter</a>
|
|
26
|
+
{% endif %}
|
|
21
27
|
</div>
|
|
22
28
|
<div>
|
|
23
|
-
<p>©
|
|
29
|
+
<p>© 2024 EPFL, all rights reserved</p>
|
|
24
30
|
</div>
|
|
25
31
|
</div>
|
|
26
32
|
{% endif %}
|
|
@@ -30,9 +36,12 @@
|
|
|
30
36
|
<a href="https://www.epfl.ch/about/overview/regulations-and-guidelines/disclaimer/">Zugänglichkeit</a>
|
|
31
37
|
<a href="https://www.epfl.ch/about/overview/regulations-and-guidelines/disclaimer/">Impressum</a>
|
|
32
38
|
<a href="https://go.epfl.ch/privacy-policy/">Datenschutzerklärung</a>
|
|
39
|
+
{% if isNews %}
|
|
40
|
+
<a href="https://go.epfl.ch/guidelines">Richtlinien</a>
|
|
41
|
+
{% endif %}
|
|
33
42
|
</div>
|
|
34
43
|
<div>
|
|
35
|
-
<p>©
|
|
44
|
+
<p>© 2024 EPFL, alle Rechte vorbehalten</p>
|
|
36
45
|
</div>
|
|
37
46
|
</div>
|
|
38
47
|
{% endif %}
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
role="navigation"
|
|
5
5
|
aria-describedby="nav-aside-title"
|
|
6
6
|
>
|
|
7
|
-
<h2 class="h5 sr-only-xl">Dans la même section</h2>
|
|
8
|
-
<ul>
|
|
7
|
+
<h2 class="h5 sr-only-xl" id="nav-aside-title">Dans la même section</h2>
|
|
8
|
+
<ul class="nav-menu">
|
|
9
9
|
{% if nav_aside_items %}
|
|
10
10
|
{% for item in nav_aside_items %}
|
|
11
|
+
{% if item.siblings_before and loop.index0 == nav_aside_active %}
|
|
12
|
+
{% for child in item.siblings_before %}
|
|
13
|
+
<li><a href="#">{{child}}</a></li>
|
|
14
|
+
{% endfor %}
|
|
15
|
+
{% endif %}
|
|
11
16
|
<li{% if loop.index0 == nav_aside_active %} class="active"{% endif %}>
|
|
12
17
|
<a href="#">
|
|
13
18
|
{{item.label}}
|
|
@@ -23,6 +28,11 @@
|
|
|
23
28
|
</ul>
|
|
24
29
|
{% endif %}
|
|
25
30
|
</li>
|
|
31
|
+
{% if item.siblings_after and loop.index0 == nav_aside_active %}
|
|
32
|
+
{% for child in item.siblings_after %}
|
|
33
|
+
<li><a href="#">{{child}}</a></li>
|
|
34
|
+
{% endfor %}
|
|
35
|
+
{% endif %}
|
|
26
36
|
{% endfor %}
|
|
27
37
|
{% else %}
|
|
28
38
|
<li><a href="#">S'inscrire au Master</a></li>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
<div class="nav-container">
|
|
2
|
+
<nav class="nav-main nav-main-mobile" id="main-navigation" role="navigation">
|
|
3
|
+
<div class="nav-wrapper">
|
|
4
|
+
<div class="nav-container current-menu-parent">
|
|
5
|
+
<ul id="menu-main" class="nav-menu">
|
|
6
|
+
<li class=""><a href="#">About</a></li>
|
|
7
|
+
<li><a href="#">Education</a></li>
|
|
8
|
+
<li><a href="#">Research</a></li>
|
|
9
|
+
<li><a href="#">Innovation</a></li>
|
|
10
|
+
<li class="current-menu-item"><a href="#">Schools</a></li>
|
|
11
|
+
<li><a href="#">Campus</a></li>
|
|
12
|
+
</ul>
|
|
13
|
+
</div>
|
|
14
|
+
</div>
|
|
15
|
+
</nav>
|
|
16
|
+
<!-- Add side navigation here in order to display it in the mobile menu -->
|
|
17
|
+
{% if not isSpecial %}
|
|
18
|
+
<aside class="nav-aside-wrapper">
|
|
19
|
+
{% block sideNav %}
|
|
20
|
+
{% include '@organisms/nav-aside/nav-aside.twig' %}
|
|
21
|
+
{% endblock %}
|
|
22
|
+
</aside>
|
|
23
|
+
{% endif %}
|
|
24
|
+
</div>
|
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
|
|
7
7
|
{% block content %}
|
|
8
8
|
|
|
9
|
-
<article class="blog-post">
|
|
9
|
+
<article class="blog-post container">
|
|
10
10
|
|
|
11
|
-
<header class="entry-header mb-5">
|
|
11
|
+
<header class="entry-header mb-5 container-grid">
|
|
12
12
|
<h1 itemprop="name">Lorem ipsum dolor sit amet, consectetur adipiscing elit</h1>
|
|
13
13
|
<div class="post-meta my-4">
|
|
14
14
|
<p class="text-muted">Publié le 9 décembre 2019</p>
|
|
@@ -20,10 +20,22 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
</header>
|
|
22
22
|
|
|
23
|
-
<div class="entry-content mb-5">
|
|
23
|
+
<div class="entry-content mb-5 container-grid">
|
|
24
24
|
|
|
25
25
|
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent at pharetra est, non bibendum dolor. Proin turpis neque, viverra a augue vitae, dapibus iaculis tellus. Morbi ante nisi, venenatis vel velit id, ultrices efficitur nisl. Morbi consectetur non turpis eu interdum. Phasellus nec felis at justo efficitur cursus sed quis sapien. Proin facilisis sapien sit amet venenatis pellentesque. Nulla efficitur, massa a facilisis egestas, massa nulla scelerisque tellus, quis fringilla orci ante sed risus.</p>
|
|
26
|
-
|
|
26
|
+
|
|
27
|
+
<div class="container my-5">
|
|
28
|
+
{% include "@atoms/picture/picture.twig" %}
|
|
29
|
+
</div>
|
|
30
|
+
|
|
31
|
+
<p>Sed varius volutpat mollis. Vestibulum suscipit hendrerit congue. Donec ante urna, molestie et magna quis, pellentesque auctor urna. Donec porta ligula sed nisl consequat vehicula. Maecenas aliquet, sapien vitae iaculis vestibulum, arcu neque viverra tellus, nec pulvinar diam sem id massa. Nunc vestibulum lacus nunc.</p>
|
|
32
|
+
|
|
33
|
+
<div class="my-3">
|
|
34
|
+
{% include "@atoms/picture/picture.twig" %}
|
|
35
|
+
</div>
|
|
36
|
+
|
|
37
|
+
<p>Nunc sodales nisi in ante molestie gravida. Sed iaculis, libero quis efficitur fermentum, lacus orci sagittis lacus, sit amet consectetur lectus nibh vel nisi. Sed et accumsan orci. Cras imperdiet nibh odio, vitae dictum purus luctus in. Maecenas a nunc sit amet mauris fermentum fermentum. Curabitur sit amet neque sit amet lorem commodo rutrum vitae sed magna. Sed quis lectus dolor. Nullam placerat augue ut sollicitudin pharetra.</p>
|
|
38
|
+
|
|
27
39
|
|
|
28
40
|
<blockquote class="blockquote">
|
|
29
41
|
<p>In ut viverra mauris. Duis hendrerit, nulla ac condimentum condimentum, quam sem dignissim nulla, ut suscipit lorem purus sodales sapien. Mauris luctus scelerisque malesuada. Maecenas id augue velit. Donec malesuada, dolor vel auctor fermentum, eros enim auctor tellus, non vestibulum felis elit ut arcu. Maecenas sed euismod arcu, quis aliquam mi. Donec faucibus tristique ex, id cursus metus varius quis. Aenean neque mauris, pulvinar id placerat ac, finibus vel quam.</p>
|
|
@@ -33,12 +45,17 @@
|
|
|
33
45
|
</blockquote>
|
|
34
46
|
|
|
35
47
|
<p>In ut viverra mauris. Duis hendrerit, nulla ac condimentum condimentum, quam sem dignissim nulla, ut suscipit lorem purus sodales sapien. Mauris luctus scelerisque malesuada. Maecenas id augue velit. Donec malesuada, dolor vel auctor fermentum, eros enim auctor tellus, non vestibulum felis elit ut arcu. Maecenas sed euismod arcu, quis aliquam mi. Donec faucibus tristique ex, id cursus metus varius quis. Aenean neque mauris, pulvinar id placerat ac, finibus vel quam. Praesent fringilla neque ante, et auctor augue gravida at. Nunc pulvinar, nibh fringilla suscipit interdum, augue velit convallis enim, tempor rutrum risus justo ac mauris. Praesent lobortis odio augue. Curabitur vestibulum condimentum ipsum, a rhoncus est malesuada quis. Fusce luctus nisl et tortor varius ornare.</p>
|
|
48
|
+
|
|
49
|
+
<div class="container my-5">
|
|
50
|
+
{% include '@atoms/video/video.twig' %}
|
|
51
|
+
</div>
|
|
52
|
+
|
|
36
53
|
<p>Nunc id imperdiet est. Phasellus a semper ante. Sed purus nisi, iaculis non purus id, ultricies vulputate leo. Ut dignissim vitae quam eget gravida. Nulla nec metus tortor. Nullam quis nisl at purus commodo consequat. Nullam sem dolor, faucibus in turpis eleifend, condimentum ultricies nisi. Phasellus vitae gravida lectus. Nam tellus magna, lacinia vel congue non, egestas at erat. Mauris consequat, justo in lobortis pharetra, nibh sapien gravida risus, vitae commodo nunc tellus eu nisi. Fusce tempus nisl laoreet diam luctus dictum. Aenean nisi felis, maximus nec ante ut, sodales viverra nisl. Vivamus iaculis fermentum lorem, vel sagittis erat imperdiet ac. In hac habitasse platea dictumst. Vivamus congue augue eget mi mollis tristique.</p>
|
|
37
54
|
<p>Cras non sem sed erat feugiat pellentesque. In in risus est. Praesent ut lectus sit amet leo viverra scelerisque. Nulla facilisi. Cras vel lectus tortor. In auctor dictum odio vitae mollis. Donec fringilla viverra suscipit. Curabitur cursus nibh a purus volutpat imperdiet. Integer mollis varius enim eu porttitor.</p>
|
|
38
55
|
|
|
39
56
|
</div>
|
|
40
57
|
|
|
41
|
-
<footer class="post-footer pt-4">
|
|
58
|
+
<footer class="post-footer pt-4 container-grid">
|
|
42
59
|
|
|
43
60
|
<div class="post-nav py-md-1">
|
|
44
61
|
|