From bc4795d9a5f6273c26ef570a6240ab2e9be75e8e Mon Sep 17 00:00:00 2001 From: Toni Fisler Date: Tue, 24 Jul 2018 14:31:56 +0200 Subject: [PATCH 01/46] setup study plan --- assets/components/base.scss | 1 + .../components/study-plan/study-plan-ie.scss | 42 + .../components/study-plan/study-plan.scss | 274 ++++ .../components/study-plan/study-plan.twig | 1324 ++++++++++++++++- assets/config/bootstrap-variables.scss | 2 +- assets/config/mixins.scss | 2 + 6 files changed, 1643 insertions(+), 2 deletions(-) create mode 100644 assets/components/components/study-plan/study-plan-ie.scss diff --git a/assets/components/base.scss b/assets/components/base.scss index a60d1c048..4e0d8f379 100644 --- a/assets/components/base.scss +++ b/assets/components/base.scss @@ -83,6 +83,7 @@ @import 'components/pagination/pagination'; @import 'components/teaser-press-review/teaser-press-review'; @import 'components/study-plan/study-plan'; +@import 'components/study-plan/study-plan-ie'; @import 'components/coursebook/coursebook'; @import 'components/text/text'; @import 'components/newsletter-sign-up/newsletter-sign-up'; diff --git a/assets/components/components/study-plan/study-plan-ie.scss b/assets/components/components/study-plan/study-plan-ie.scss new file mode 100644 index 000000000..06404a0c3 --- /dev/null +++ b/assets/components/components/study-plan/study-plan-ie.scss @@ -0,0 +1,42 @@ +@charset "utf-8"; + +/* stylelint-disable */ +// This file is intended for IE 11 and has autoprefixer and stylelint off. + +// IE 11 table headings +@include ie11('.table-like .cours-title') {-ms-grid-column: 2;} +@include ie11('.table-like .section') {-ms-grid-column: 3;} +@include ie11('.table-like .enseignement') {-ms-grid-column: 4;} +@include ie11('.table-like .bachlor') {-ms-grid-column: 5;} +@include ie11('.table-like .bachlor + .bachlor') {-ms-grid-column: 6;} +@include ie11('.table-like .bachlor + .bachlor + .bachlor') {-ms-grid-column: 7;} +@include ie11('.table-like .examen') {-ms-grid-column: 8;} +@include ie11('.table-like .credit') {-ms-grid-column: 9;} + +// IE 11 table contents +@include ie11('.table-like .line .cours') { + -ms-grid-column: 2; + -ms-grid-column-span: 3; +} +@include ie11('.table-like .line .bachlor') {-ms-grid-column: 5;} +@include ie11('.table-like .line .bachlor + .bachlor') {-ms-grid-column: 6;} +@include ie11('.table-like .line .bachlor + .bachlor + .bachlor') {-ms-grid-column: 7;} +@include ie11('.table-like .line .examen') {-ms-grid-column: 8;} +@include ie11('.table-like .line .credit') {-ms-grid-column: 9;} + +// IE 11 cours grid +@include ie11('.table-like .cours .section-name') { + -ms-grid-column: 2; + -ms-grid-row-span: 2; +} +@include ie11('.table-like .cours .enseignement-name') { + -ms-grid-column: 3; + -ms-grid-row-span: 2; +} +@include ie11('.table-like .cours .cours-code') {-ms-grid-row: 2;} + +// IE 11 Bachlor section +@include ie11(' .cep + .cep') {-ms-grid-column: 2;} +@include ie11('.table-like .cep + .cep + .cep') {-ms-grid-column: 3;} +@include ie11('.table-like .cep + .cep') {-ms-grid-column: 2;} +@include ie11('.table-like .bachlor-text') {-ms-grid-rows: 100%;} diff --git a/assets/components/components/study-plan/study-plan.scss b/assets/components/components/study-plan/study-plan.scss index 7c81b0e79..ec5e9f67a 100644 --- a/assets/components/components/study-plan/study-plan.scss +++ b/assets/components/components/study-plan/study-plan.scss @@ -1 +1,275 @@ @charset 'utf-8'; + + + +.table-like { + $table-grid-template-columns: 1fr 3fr 1fr 3fr 2fr 2fr 2fr 3fr 1fr; + --table-columns: #{$table-grid-template-columns}; + + h4 { + font-weight: $font-weight-bold; + font-size: $font-size-base; + } + + // Lines + // Grid properties are overridden on browsers supporting "display: contents". + .line, + .first-line { + display: grid; + grid-template-columns: $table-grid-template-columns; + font-size: 0.9375 * $font-size-base; + + // Cells + > div { + padding: $table-cell-padding; + border-bottom: $table-border-width solid $table-border-color; + + &:first-child { + border-left: $table-border-width solid $table-border-color; + } + + &:last-child { + border-right: $table-border-width solid $table-border-color; + } + + + div { + border-left: $table-border-width solid $table-border-color; + } + } + } + + .first-line { + color: $table-head-color; + font-weight: $font-weight-bold; + text-transform: uppercase; + font-size: 0.6875 * $font-size-base; + + > div { + border-top: $table-border-width solid $table-border-color; + border-bottom-width: $table-border-width * 2; + } + } + + .line-up { + position: sticky; + top: 0; + background-color: $table-head-bg; + } + + // LOURD + @supports (display: contents) { + display: grid; + grid-template-columns: var(--table-columns); + background-color: $table-border-color; + + .line-up, + .line-down, + .line, + .first-line { + display: contents; + + > div { + background-color: $body-bg; + } + } + + .first-line { + > div { + background-color: $table-head-bg; + } + } + + h4 { + grid-column: 1 / -1; + background-color: $body-bg; + margin-bottom: 0; + padding-bottom: $headings-margin-bottom; + } + + .first-line + .clear, + .line + .clear { + display: block; + grid-column: 1 / -1; + height: 0; + } + } + // 👊✋🎤🎶 + + // Bachelor headings and content + .titre_bachlor { + text-align: center; + } + + .bachlor .titre, + .bachlor-text { + display: grid; + grid-column-gap: 2px; + grid-template-columns: repeat(3, 1fr); + + .cep { + + text-align: center; + } + } + + .bachlor .titre { + margin-right: -$table-cell-padding; + margin-left: -$table-cell-padding; + } + + .line-down .bachlor { + padding: 0 !important; + } + + // Stripes + .bachlor-text { + height: 100%; + background: repeating-linear-gradient(0deg, $body-bg, $body-bg 2px, $table-border-color 2px, $table-border-color 4px); + + .cep { + padding-top: $table-cell-padding; + padding-bottom: $table-cell-padding; + background-color: $body-bg; + + &:nth-child(2) { + background-color: $table-head-bg; + } + } + } + + .line-down .bachlor:nth-child(4) { + .cep { + background-color: $table-head-bg; + + &:nth-child(2) { + background-color: $body-bg; + } + } + } + + // Cours is actually 3 divs for the price of one! + .cours { + display: grid; + grid-template-columns: 3fr 1fr 3fr; + grid-auto-rows: auto; + grid-column: span 3; + grid-column-gap: $table-border-width; + padding: 0 !important; // Have to do this, the > and + are so specific + background-color: $table-border-color !important; // Will override the normal background color for grid gap color + + > div { + padding: $table-cell-padding; + background-color: $body-bg; + } + + .cours-code { + grid-area: 2 / 1; + } + + .section-name, + .enseignement-name { + grid-row: span 2; + } + } + + .cours-name { + padding-bottom: 0 !important; + } + + .cours-code { + padding-top: 0 !important; + } + + .cours-title { + .bold { + color: $body-color; + } + } + + // Exam + .examen { + display: flex; + } + + // Credit + .credit-time { + font-size: $font-size-lg; + text-align: right; + color: $text-muted; + } + + // Languages + .first-line .langue { + &:before { + content: 'Langue'; + } + } + + .langue { + &.francais { + &:before { + content: 'FR'; + } + } + + &.anglais { + &:before { + content: 'EN'; + } + } + + .diet_icon { + display: none; + } + } + + // Icons + .exam-icon { + .sun { + &:before { + content: '☀️'; + } + } + + .winter { + &:before { + content: '❄️'; + } + } + } + + // Hover on line + .line { + &:hover { + > div, + .cours > div, + .cep { + background-color: $table-head-bg; + } + + .cep:nth-child(2), + .bachlor:nth-child(4) .cep { + background-color: darken($table-head-bg, 4%); + } + + .bachlor:nth-child(4) .cep:nth-child(2) { + background-color: $table-head-bg; + } + } + } + + // Maybe we'll have to handle those colors in some way. + //.bachlor { + // &.local-color { + // background-color: $table-border-color; + // } + // + // &.local-color-light { + // background-color: gray('100'); + // } + //} + + .clear { + display: none; + } +} diff --git a/assets/components/components/study-plan/study-plan.twig b/assets/components/components/study-plan/study-plan.twig index f20e67f0e..7c65d7ab8 100644 --- a/assets/components/components/study-plan/study-plan.twig +++ b/assets/components/components/study-plan/study-plan.twig @@ -1 +1,1323 @@ -🤷‍♀️ +
+

Bloc 2 (Propédeutique)

+
+
+
+
+
Cours
+
Code
+
+
+
 
+
Sections
+
+
+
 
+
Enseignants
+
+
+
Bachelor 1 
+
+
c
+
e
+
p
+
+
+
+
Bachelor 2 
+
+
c
+
e
+
p
+
+
+
+
Mise à niveau 
+
+
c
+
e
+
p
+
+
+
+
Examen
+
 
+
+
+
Coefficient
+
 
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-153 
+
AR 
+ +
+
+
+
 
+
 
+
 
+
+
+
+
+
1h 
+
2h 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-113 
+
AR 
+ +
+
+
+
 
+
 
+
 
+
+
+
+
+
1h 
+
3h 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-123 
+
AR 
+
Adam +   +
+
+
+
+
2h 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
+ Ecrit +
+
+
2
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-124 
+
AR 
+
Gargiani +   +
+
+
+
+
 
+
 
+
 
+
+
+
+
+
2h 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
+ Ecrit +
+
+
2
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-121 
+
AR 
+
Marchand +   +
+
+
+
+
2h 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-122 
+
AR 
+
Marchand +   +
+
+
+
+
 
+
 
+
 
+
+
+
+
+
2h 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-101 
+
AR 
+
Dietz +   +
+
+
+
+
2h 
+
 
+
4h 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
AR-102 
+
AR 
+
Dietz +   +
+
+
+
+
 
+
 
+
 
+
+
+
+
+
2h 
+
 
+
4h 
+
+
+
+
+
 
+
 
+
 
+
+
+
+
+
 
+
+ Pendant le semestre +
+
+
14
+
+
+
 
+
+
+ +
+

Mineur : Informatique

+
+
+
+
+
Cours
+
Code
+
+
+
 
+
Sections
+
+
+
 
+
Enseignants
+
+
+
Examen
+
 
+
+
+
Crédits
+
 
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-450 
+
IN 
+
Svensson +   +
+
+
+
+
 
+
+ Ecrit +
+
+
7
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-470 
+
IN 
+
Ienne +   +
+
+
+
+
 
+
+ Oral +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-440 
+
IN 
+
Jakob +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
6
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-250 
+
IN 
+
Kapralov +   +
+
+
+
+
 
+
+ Ecrit +
+
+
6
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-209 
+
IN 
+
Ienne +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-208 
+
IN 
+
Stojilovic +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
COM-208 
+
SC 
+
Argyraki +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
5
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-442 
+
IN 
+
Fua +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
COM-401 
+
SC 
+
Vaudenay +   +
+
+
+
+
 
+
+ Ecrit +
+
+
7
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-422 
+
IN 
+ +
+
+
+
 
+
+ Pendant le semestre +
+
+
7
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-451 
+
SC 
+
Guerraoui +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-423 
+
SC 
+
Aberer +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-452 
+
IN 
+
Odersky +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
COM-404 
+
SC 
+
Telatar +   +
+
+
+
+
 
+
+ Ecrit +
+
+
7
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-321 
+
SC 
+
Decotignie +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-330 
+
IN 
+
Faltings +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-430 
+
IN 
+
Faltings +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
6
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-341 
+
IN 
+
Pauly +   +
+
+
+
+
 
+
+ Ecrit +
+
+
6
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-322 
+
IN 
+
Ailamaki
Koch +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-323 
+
IN 
+
Zwaenepoel +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
3
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-433 
+
IN 
+
Jaggi
Urbanke +   +
+
+
+
+
 
+
+ Ecrit +
+
+
7
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-596 
+
IN 
+
Profs divers +   +
+
+
+
+
 
+
 
+
+ Pendant le semestre +
+
+
8
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-207 
+
IN 
+
Chappelier +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
3
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+ +
+
+
 
+
+ Pendant le semestre +
+
+
2
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
COM-301 
+
SC 
+
Oechslin +   +
+
+
+
+
 
+
+ Ecrit +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-305 
+
IN 
+
Candea +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
6
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-251 
+
IN 
+
Vishnoi +   +
+
+
+
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
+
+
+
+
 
  +
+   +
+
+ +
CS-455 
+
IN 
+
+   +
+
+
+
+
 
+
 
+
+ Pendant le semestre +
+
+
4
+
+
+
 
+
+
diff --git a/assets/config/bootstrap-variables.scss b/assets/config/bootstrap-variables.scss index 73a22af99..4bada6b8b 100644 --- a/assets/config/bootstrap-variables.scss +++ b/assets/config/bootstrap-variables.scss @@ -290,7 +290,7 @@ $table-border-width: $border-width !default; $table-border-color: $gray-200 !default; $table-border-color-light: $gray-100; -$table-head-bg: $gray-200 !default; +$table-head-bg: lighten($gray-100, 5.49) !default; $table-head-color: $gray-600 !default; $table-dark-bg: $black !default; diff --git a/assets/config/mixins.scss b/assets/config/mixins.scss index 35d453388..bf908f59f 100644 --- a/assets/config/mixins.scss +++ b/assets/config/mixins.scss @@ -208,8 +208,10 @@ // IE 11 mixin +// WARNING: Autoprefixer is off inside this. @mixin ie11($selector) { _:-ms-fullscreen, :root #{$selector} { + /* autoprefixer: off */ @content; } } From 5cb7172f60891d1214af95e95747f26b0718a61f Mon Sep 17 00:00:00 2001 From: Toni Fisler Date: Tue, 24 Jul 2018 15:03:00 +0200 Subject: [PATCH 02/46] update responsive and notes --- .../components/study-plan/study-plan.scss | 15 +++++++++++++-- .../components/study-plan/study-plan.twig | 2 +- .../components/study-plan/study-plan.yml | 10 ++++++++-- assets/config/layout.scss | 1 + 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/assets/components/components/study-plan/study-plan.scss b/assets/components/components/study-plan/study-plan.scss index ec5e9f67a..aafc455ed 100644 --- a/assets/components/components/study-plan/study-plan.scss +++ b/assets/components/components/study-plan/study-plan.scss @@ -3,9 +3,14 @@ .table-like { - $table-grid-template-columns: 1fr 3fr 1fr 3fr 2fr 2fr 2fr 3fr 1fr; + $table-cours-template-columns: minmax(200px, 3fr) minmax(auto, 1fr) minmax(200px, 3fr); + $table-grid-template-columns: 1fr $table-cours-template-columns 2fr 2fr 2fr minmax(200px, 3fr) 1fr; + --table-columns: #{$table-grid-template-columns}; + overflow-x: scroll; + max-width: 100%; + h4 { font-weight: $font-weight-bold; font-size: $font-size-base; @@ -92,6 +97,12 @@ grid-column: 1 / -1; height: 0; } + + .line-down:last-child { + .clear { + display: none; + } + } } // 👊✋🎤🎶 @@ -150,7 +161,7 @@ // Cours is actually 3 divs for the price of one! .cours { display: grid; - grid-template-columns: 3fr 1fr 3fr; + grid-template-columns: $table-cours-template-columns; grid-auto-rows: auto; grid-column: span 3; grid-column-gap: $table-border-width; diff --git a/assets/components/components/study-plan/study-plan.twig b/assets/components/components/study-plan/study-plan.twig index 7c65d7ab8..672e2c7bc 100644 --- a/assets/components/components/study-plan/study-plan.twig +++ b/assets/components/components/study-plan/study-plan.twig @@ -431,7 +431,7 @@ -
+

Mineur : Informatique

diff --git a/assets/components/components/study-plan/study-plan.yml b/assets/components/components/study-plan/study-plan.yml index c7a39b8d7..23a383985 100644 --- a/assets/components/components/study-plan/study-plan.yml +++ b/assets/components/components/study-plan/study-plan.yml @@ -1,4 +1,10 @@ -title: Study plan 🚧 +title: Study plan name: study-plan notes: | -

+ The study plan is a special case of table. The markup cannot be changed and we put in place a CSS Grid layout to display the content. + + Please override the columns width (if they do not fit your needs by using a CSS variable: `
`. + + The default behaviour is kept on IE, the content stays readable (the table might be a bit wonky when some columns are missing though). + + On mobile, the tables are scrollable horizontally. diff --git a/assets/config/layout.scss b/assets/config/layout.scss index 2239bff8e..1bbde1626 100644 --- a/assets/config/layout.scss +++ b/assets/config/layout.scss @@ -25,6 +25,7 @@ [content-start] minmax(min-content, #{col-width(sm, 12)}) [content-end] 1fr [full-end]; + max-width: 100%; @include media-breakpoint-down(sm) { grid-gap: $grid-gutter-width; From aef42df83757dc73416483837b6573a280bd161c Mon Sep 17 00:00:00 2001 From: knuch Date: Mon, 13 Aug 2018 16:31:18 +0200 Subject: [PATCH 03/46] implement key number, key number group and according images --- assets/components/base.scss | 2 ++ .../key-number/key-number-large.twig | 29 ++++++++++++++++++ .../molecules/key-number/key-number.scss | 1 + .../molecules/key-number/key-number.twig | 23 ++++++++++++++ .../molecules/key-number/key-number.yml | 7 +++++ .../key-number-group/key-number-group.scss | 28 +++++++++++++++++ .../key-number-group/key-number-group.twig | 10 ++++++ .../key-number-group/key-number-group.yml | 3 ++ assets/images/key-numbers/collaborations.png | Bin 0 -> 5192 bytes assets/images/key-numbers/earth.png | Bin 0 -> 5008 bytes assets/images/key-numbers/flag.png | Bin 0 -> 1507 bytes assets/images/key-numbers/ranking.png | Bin 0 -> 1934 bytes assets/images/key-numbers/students.png | Bin 0 -> 6171 bytes 13 files changed, 103 insertions(+) create mode 100644 assets/components/molecules/key-number/key-number-large.twig create mode 100644 assets/components/molecules/key-number/key-number.scss create mode 100644 assets/components/molecules/key-number/key-number.twig create mode 100644 assets/components/molecules/key-number/key-number.yml create mode 100644 assets/components/organisms/key-number-group/key-number-group.scss create mode 100644 assets/components/organisms/key-number-group/key-number-group.twig create mode 100644 assets/components/organisms/key-number-group/key-number-group.yml create mode 100644 assets/images/key-numbers/collaborations.png create mode 100644 assets/images/key-numbers/earth.png create mode 100644 assets/images/key-numbers/flag.png create mode 100644 assets/images/key-numbers/ranking.png create mode 100644 assets/images/key-numbers/students.png diff --git a/assets/components/base.scss b/assets/components/base.scss index f723f0a9c..e244874ac 100644 --- a/assets/components/base.scss +++ b/assets/components/base.scss @@ -71,6 +71,7 @@ @import 'molecules/tabs/tabs'; @import 'molecules/collapse-group/collapse-group'; @import 'molecules/card-deck/card-deck'; +@import 'molecules/key-number/key-number'; // // organisms: @@ -89,6 +90,7 @@ @import 'organisms/restauration/restauration'; @import 'organisms/social-feed-group/social-feed-group'; @import 'organisms/headlines/headlines'; +@import 'organisms/key-number-group/key-number-group'; // // content-types: diff --git a/assets/components/molecules/key-number/key-number-large.twig b/assets/components/molecules/key-number/key-number-large.twig new file mode 100644 index 000000000..d59a2eeaf --- /dev/null +++ b/assets/components/molecules/key-number/key-number-large.twig @@ -0,0 +1,29 @@ +{% set icon = icon|default("https://via.placeholder.com/") %} +
+
+
+
+
+

Pays d'origine

+
+
+ +
+
+
+
+
+
+
+

2'706

+

Femmes

+
+
+
+

7'180

+

Hommes

+
+
+
+
+
\ No newline at end of file diff --git a/assets/components/molecules/key-number/key-number.scss b/assets/components/molecules/key-number/key-number.scss new file mode 100644 index 000000000..b9725fa8f --- /dev/null +++ b/assets/components/molecules/key-number/key-number.scss @@ -0,0 +1 @@ +@charset 'utf-8'; \ No newline at end of file diff --git a/assets/components/molecules/key-number/key-number.twig b/assets/components/molecules/key-number/key-number.twig new file mode 100644 index 000000000..6d76e714c --- /dev/null +++ b/assets/components/molecules/key-number/key-number.twig @@ -0,0 +1,23 @@ +{% set icon = icon|default("https://via.placeholder.com/") %} +
+
+
+
Étudiants
+ +
+
+
+
+
+

2'706

+

Femmes

+
+
+
+

7'180

+

Hommes

+
+
+
+
+
\ No newline at end of file diff --git a/assets/components/molecules/key-number/key-number.yml b/assets/components/molecules/key-number/key-number.yml new file mode 100644 index 000000000..8b55d4ebf --- /dev/null +++ b/assets/components/molecules/key-number/key-number.yml @@ -0,0 +1,7 @@ +title: Key Number +name: key-number +wrapper: col-md-6 bg-gray-100 +variants: + - name: large + title: Large + wrapper: 'bg-gray-100' \ No newline at end of file diff --git a/assets/components/organisms/key-number-group/key-number-group.scss b/assets/components/organisms/key-number-group/key-number-group.scss new file mode 100644 index 000000000..54704b3bc --- /dev/null +++ b/assets/components/organisms/key-number-group/key-number-group.scss @@ -0,0 +1,28 @@ +@charset 'utf-8'; + +.key-number-group { + flex-wrap: wrap; + margin-left: $spacer * -0.5; + margin-right: $spacer * -0.5; + + > * { + flex: 0 0 100%; + padding: $spacer * 0.5; + } + + @include media-breakpoint-up(md) { + .key-number { + flex: 1 0 50%; + } + } + + @include media-breakpoint-up(lg) { + .key-number { + flex: 0 0 25%; + } + + .key-number-large { + flex: 0 0 50%; + } + } +} \ No newline at end of file diff --git a/assets/components/organisms/key-number-group/key-number-group.twig b/assets/components/organisms/key-number-group/key-number-group.twig new file mode 100644 index 000000000..d7bbd18ba --- /dev/null +++ b/assets/components/organisms/key-number-group/key-number-group.twig @@ -0,0 +1,10 @@ +
+
+ {% include '@molecules/key-number/key-number-large.twig' %} + {% include '@molecules/key-number/key-number.twig' %} + {% include '@molecules/key-number/key-number.twig' %} + {% include '@molecules/key-number/key-number.twig' %} + {% include '@molecules/key-number/key-number-large.twig' %} + {% include '@molecules/key-number/key-number.twig' %} +
+
\ No newline at end of file diff --git a/assets/components/organisms/key-number-group/key-number-group.yml b/assets/components/organisms/key-number-group/key-number-group.yml new file mode 100644 index 000000000..f144291bb --- /dev/null +++ b/assets/components/organisms/key-number-group/key-number-group.yml @@ -0,0 +1,3 @@ +title: Key number group +name: key-number-group +wrapper: bg-gray-100 \ No newline at end of file diff --git a/assets/images/key-numbers/collaborations.png b/assets/images/key-numbers/collaborations.png new file mode 100644 index 0000000000000000000000000000000000000000..f176617b68feb7e4c7b8a8dd1cf5ba55349d55b4 GIT binary patch literal 5192 zcmV-O6u0Y%P)Px}0!c(cRCodHng`fc#g%|nFk(Zbh>c(Y3t~57T@rg++ZtEUAiA+7#u$ypvdOA3 z*2KOR9!*wbL9whFyJj(py&zafMEMmJg;-HhgV}vw_B-rw{mT8y{eJRn&hxzgoICf- zIdkXEoSFN<0tcj0WG7HfzH$SPm2ejf88Uonrh=Uw~lROt=T8K=j2iDK}ZEo+E4U*Rc(I$9&E*jf!7dQA5t-e%Sv3-Hl}^ ztOVVl3$#k?@Fa+MmQ%sBcytMM>rxw+`T(d`Otq%7?Lh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;|>uFg+9UoaM3q)VdLB4R7rCkKs%2RRlfASq`Sn3C zn6S)0eET4kJQ%i1DgP@rS zW;MA%LtXRXCtu?^H~4>M_CI813_5FDbOw9bm-)rzc3<}A7*tUg1lo#5(HVA0xl zF-CrUdRxa$&-fr?^`hy=!x85=i7S$6HMUWLPH>TrPJV3FY3zmk>9ZQ(gD#g?sQKqJ zt|uC>w<*sGVUGNH_gOonkeI<5qN}4$5@I1Q^>legAl0FB0U=sYSRBPin+(6jk-ZbN z@U)=PeB&gc|0sIBP!=({Sw}jm`nBYF)4Ih3a&332g)O0@(HUJ%I{AaVQr{hE0Ou1u zWN8%&mNM+x`6R^Cwj=IFHs+eMU)UMVG+#@7f|8XNx=Qi9jCO1DBz?Rc4i=P{T3@xY zHonvE{8u8{K$Tx>TqFTfR~LsbWTJ7&319)?@Q6$7ga81LZWGs70S?zDT?sN z6yx)=o}4ZEzTP#2v3Xa9`qp6AclP_JvMBSz}>C1vxtoIhm>9ou#D{jBcRMHr@=(rEQ+yIF{ zO`s%fDfS%Za?g3abE%Era$k_kDYmC`AQL8u3ysTF0U-m;{KJllQOK+bvgR7IUid-8kIOkE?xf~!p33yeQUNSCgtU|uDFdQL?3+>+R5B~y}OZDDcZ(xq6#*RG{hTNhZE8z6S3-#fx1H2 zrma+v-fDbJM9o)r!)oGNPQZMNzoS+i z2Sm-@XPSrGK-K%hU)KaUzLd#B$D+m@5OE$_mHoPB6>{&h-tW9=uSKIyTx-3dRv?|i z8uH@ZB`vaG?ZGj3o!~S0Y?s9QYlc^|#Lbci`>D_QHa4k|OcQQPiJYc830g({c`6B6 z!pK*z*gnYBh56ZG$18bNsepd2(@^q>$)&VmK^9>3m|}dG%+ITRR+2r{UI-rW>g&HD z*kSm@TCC7XQXuzg=2%@9q+cpif(Npvw2*suA&lgRj-f literal 0 HcmV?d00001 diff --git a/assets/images/key-numbers/ranking.png b/assets/images/key-numbers/ranking.png new file mode 100644 index 0000000000000000000000000000000000000000..1433af3ce37a7af754aa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wwu($b7A5;YSF^zF)|y1Ovh z3$k~_B%2rCM(tP_=RL%Q=?Gdh7<%(CgLDWx0N5 zedmddO_ptRrTY(nA^Dpn@|>*jn6iHjje4D>@eZajkGXE%Sgu9K!puP#U#s;zY1x0N zGK+lw8CLl##6ostH1KCqt&TRPG*CZRiMCG6xLlC*nKj)_HZA2hsy*$|6_ t+NEgsDRA=7fU<>sfqdum9&ilv{|}XwLg*GKkJ11D002ovPDHLkV1n_|A<+N; literal 0 HcmV?d00001 From 6f24989a2b81e80a13b21b6bd08f2a7aec739871 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 20 Aug 2018 16:08:04 +0200 Subject: [PATCH 04/46] Clear error message --- publish.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/publish.sh b/publish.sh index f3850960d..7bf74e1de 100644 --- a/publish.sh +++ b/publish.sh @@ -22,7 +22,7 @@ then npm whoami || { echo "⚠️ You must be logged in to NPM to push a new release" ; exit 1; } fi -jq --version || { echo "⚠️ You have jq installed on your machine (brew install jq)" ; exit 1; } +jq --version || { echo "⚠️ You need jq installed on your machine (brew install jq)" ; exit 1; } # Proceed ===================================================================== echo "rebuild frontend assets" From 02955363bd2f2f60df5bcb36bef5eba9cb410330 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 20 Aug 2018 16:09:10 +0200 Subject: [PATCH 05/46] Change order according to linter --- assets/components/organisms/header/header.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/organisms/header/header.scss b/assets/components/organisms/header/header.scss index 568954aec..6e47b748c 100644 --- a/assets/components/organisms/header/header.scss +++ b/assets/components/organisms/header/header.scss @@ -25,8 +25,8 @@ } .nav-header { - flex: 1 0 auto; display: flex; + flex: 1 0 auto; flex-flow: row nowrap; margin: 0 0 0 (3.7 * $spacer); padding: 0; From 30ad0423ac5cb5f48f202657e521f3442cc4da3d Mon Sep 17 00:00:00 2001 From: knuch Date: Tue, 21 Aug 2018 10:39:03 +0200 Subject: [PATCH 06/46] implement new question design --- assets/components/molecules/question/question.scss | 11 +++++++++++ assets/components/molecules/question/question.twig | 10 ++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) diff --git a/assets/components/molecules/question/question.scss b/assets/components/molecules/question/question.scss index 4db2ace96..1c52bfe91 100644 --- a/assets/components/molecules/question/question.scss +++ b/assets/components/molecules/question/question.scss @@ -90,6 +90,17 @@ $animation: 0.2s; } } +.question-title { + font-size: $font-size-base * 1.2; + text-transform: uppercase; + color: gray('600'); +} + +.question-subtitle { + font-size: $font-size-base * 1.4; + font-weight: bold; +} + .question-img { flex: 0 0 100%; } diff --git a/assets/components/molecules/question/question.twig b/assets/components/molecules/question/question.twig index 123d1bb12..588bf1fc8 100644 --- a/assets/components/molecules/question/question.twig +++ b/assets/components/molecules/question/question.twig @@ -1,13 +1,14 @@ -

+
{% include '@atoms/picture/picture-question.twig' %}
-

À quoi l'éternel brouillard de San Francisco est-il dû ?

+

Question de science

+

À quoi l'éternel brouillard de San Francisco est-il dû ?

-
+
{% for i in [1,2,3] %} {% endfor %}
+
-
\ No newline at end of file +
From 1c11a9f7ff4e69c22503dccb7a85648fc4daf433 Mon Sep 17 00:00:00 2001 From: knuch Date: Tue, 21 Aug 2018 11:01:42 +0200 Subject: [PATCH 07/46] hotfix: hide nav aside when not using nav aside layout --- assets/components/organisms/nav-aside/nav-aside.scss | 2 ++ assets/components/organisms/nav-main/nav-main.scss | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/assets/components/organisms/nav-aside/nav-aside.scss b/assets/components/organisms/nav-aside/nav-aside.scss index 873f6a1a4..2bca92ad4 100644 --- a/assets/components/organisms/nav-aside/nav-aside.scss +++ b/assets/components/organisms/nav-aside/nav-aside.scss @@ -22,6 +22,8 @@ } .nav-aside-layout .nav-aside-wrapper { + display: block; + @include media-breakpoint-up(xxl){ flex: 0 0 16.1%; max-width: 16.1%; diff --git a/assets/components/organisms/nav-main/nav-main.scss b/assets/components/organisms/nav-main/nav-main.scss index 70a7cde1d..25bfe5d8d 100644 --- a/assets/components/organisms/nav-main/nav-main.scss +++ b/assets/components/organisms/nav-main/nav-main.scss @@ -290,6 +290,10 @@ a.nav-arrow { .nav-close { display: block; } + + .nav-aside-wrapper { + display: none; + } } .desktop-menu-open { From e9b295233e02794837eeb4cdf5be36e4a2d2569a Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 08:22:08 +0200 Subject: [PATCH 08/46] =?UTF-8?q?Rename=20IsHomepage=20to=20isSpecial=20(m?= =?UTF-8?q?ake=20more=20sense=20to=20No=C3=A9mie=20and=20I)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/association-homepage/association-homepage.twig | 2 +- assets/components/pages/blog-homepage/blog-homepage.twig | 2 +- assets/components/pages/event-detail/event-detail.twig | 2 +- .../components/pages/event-homepage/event-homepage.twig | 2 +- assets/components/pages/event-list/event-list.twig | 2 +- assets/components/pages/homepage/homepage.twig | 2 +- assets/components/pages/layout-demo/layout-demo.twig | 4 ++-- assets/components/pages/news-homepage/news-homepage.twig | 2 +- assets/components/pages/people-list/people-list.twig | 2 +- assets/components/templates/base/base.twig | 8 ++++---- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/assets/components/pages/association-homepage/association-homepage.twig b/assets/components/pages/association-homepage/association-homepage.twig index e4ecc3971..48663a0dc 100644 --- a/assets/components/pages/association-homepage/association-homepage.twig +++ b/assets/components/pages/association-homepage/association-homepage.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/blog-homepage/blog-homepage.twig b/assets/components/pages/blog-homepage/blog-homepage.twig index 16084639c..056917de8 100644 --- a/assets/components/pages/blog-homepage/blog-homepage.twig +++ b/assets/components/pages/blog-homepage/blog-homepage.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/event-detail/event-detail.twig b/assets/components/pages/event-detail/event-detail.twig index 71eae2168..e6b076ff3 100644 --- a/assets/components/pages/event-detail/event-detail.twig +++ b/assets/components/pages/event-detail/event-detail.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/event-homepage/event-homepage.twig b/assets/components/pages/event-homepage/event-homepage.twig index 491622046..16b938f27 100644 --- a/assets/components/pages/event-homepage/event-homepage.twig +++ b/assets/components/pages/event-homepage/event-homepage.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/event-list/event-list.twig b/assets/components/pages/event-list/event-list.twig index ce729c09e..c8ea4d2c5 100644 --- a/assets/components/pages/event-list/event-list.twig +++ b/assets/components/pages/event-list/event-list.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/homepage/homepage.twig b/assets/components/pages/homepage/homepage.twig index 6f7fa4915..73656ecc2 100644 --- a/assets/components/pages/homepage/homepage.twig +++ b/assets/components/pages/homepage/homepage.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/layout-demo/layout-demo.twig b/assets/components/pages/layout-demo/layout-demo.twig index 5cb3b201d..bca02b5aa 100644 --- a/assets/components/pages/layout-demo/layout-demo.twig +++ b/assets/components/pages/layout-demo/layout-demo.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} @@ -21,4 +21,4 @@

This .container class is the bootstrap defaut one. When used, It will fallback to the default bootstrap behavior, that cant be divided with rows, columns, etc... (see the Bootstrap documentation)

-{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/assets/components/pages/news-homepage/news-homepage.twig b/assets/components/pages/news-homepage/news-homepage.twig index c34d5d20d..9f4c9cdf5 100644 --- a/assets/components/pages/news-homepage/news-homepage.twig +++ b/assets/components/pages/news-homepage/news-homepage.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/pages/people-list/people-list.twig b/assets/components/pages/people-list/people-list.twig index 672e34548..eba7af09f 100644 --- a/assets/components/pages/people-list/people-list.twig +++ b/assets/components/pages/people-list/people-list.twig @@ -1,4 +1,4 @@ -{% set isHomepage = true %} +{% set isSpecial = true %} {% extends "@templates/base/base.twig" %} diff --git a/assets/components/templates/base/base.twig b/assets/components/templates/base/base.twig index 7ca0f01aa..50a17931c 100644 --- a/assets/components/templates/base/base.twig +++ b/assets/components/templates/base/base.twig @@ -8,16 +8,16 @@ {% endblock %}
- {% if not isHomepage %} {% block breadcrumb %} + {% if not isSpecial %} + {% endif %} {% endblock %} - {% endif %} - + {% block nav %} {% include '@organisms/nav-main/nav-main.twig' %} @@ -33,7 +33,7 @@
- {% if not isHomepage %} + {% if not isSpecial %} From 18935018433c4ef1ac4b1ee71e82349afce24122 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:14:34 +0200 Subject: [PATCH 09/46] Add review event page - add breadcrumb and reorganize content and add schema.org for events #217 --- .../pages/event-detail/event-detail.twig | 196 +++++++++++------- 1 file changed, 122 insertions(+), 74 deletions(-) diff --git a/assets/components/pages/event-detail/event-detail.twig b/assets/components/pages/event-detail/event-detail.twig index e6b076ff3..2a4c657ce 100644 --- a/assets/components/pages/event-detail/event-detail.twig +++ b/assets/components/pages/event-detail/event-detail.twig @@ -6,98 +6,146 @@ {% include '@organisms/header/header-light.twig' with { site_title: 'Event title' } %} {% endblock %} +{% block breadcrumb %} + +{% endblock %} + {% block content %} -
-
-
-
-

Summary of the event. For example :

-

L'exposition Kung Fu Motion retrace l’histoire dynamique des arts martiaux traditionnels de la Chine méridionale et de Hong Kong, à travers le prisme de technologies d’archivage de pointe. Située à l’intersection des arts, de la science et des pratiques rituelles, cette exposition expérimentale ouvre de nouvelles perspectives sur notre rapport au patrimoine culturel immatériel.

+
+
+
+
+
+

Event title may contains several words on maybe multiple lines, who knows?

+
-
- {% include '@atoms/picture/picture.twig' %} +
+
+ {% include '@atoms/picture/picture.twig' %} +
+
+
+

Détails de l'événement

+ + + + + + + + + + + + + + + + + + + + + + + +
Date + + 13.01.2018 - 12:00 → 13:30 + +
AvecProf Mohamed Bentires-Alj
Lieu +
+ SV 2811 +
+ EPFL
+ Lausanne, + 1015 +
+
+
Organisé parDouglas Hanahan
Prix + +
Accès libre
+ + +
+
+ {% include '@atoms/button/button.twig' %} +
+
+
-
-
-
-
-

Details about the event. For example :

-

L’exposition Kung Fu Motion découle d’une initiative de recherche majeure initiée en 2012, la « Hong Kong Martial Arts Living Archive » (les Archives vivantes des arts martiaux de Hong Kong). Cette recherche en cours est une collaboration entre la International Guoshu Association, City University of Hong Kong, et le Laboratoire de muséologie expérimentale (eM+) de l’Institut des humanités digitales de l’EPFL.

Hong Kong est un extraordinaire réservoir pour qui s’intéresse au patrimoine immatériel lié aux arts martiaux. Entre le début et ma moitié du XXème siècle, Hong Kong servit de refuge à des milliers d’immigrants de Chine, parmi lesquels quelques-uns des plus grands artistes martiaux au monde. Si leurs pratiques, rendues célèbres mondialement par le cinéma de Jackie Chan et autres, y demeurent présentes, la globalisation, l’urbanisation et le nombre décroissant de pratiquants les menacent de disparition.

« Kung Fu Motion examine les stratégies permettant d’encoder, de récupérer et de reproduire le patrimoine immatériel de manière à permettre à ces archives d’être « vivantes » dans le présent », explique la Prof. Sarah Kenderdine, directrice d’ArtLab et du laboratoire eM+ à l’EPFL.

-
- {% include '@atoms/button/button.twig' %} +
+
+
+

An event about technology

+

L’exposition Kung Fu Motion découle d’une initiative de recherche majeure initiée en 2012, la « Hong Kong Martial Arts Living Archive » (les Archives vivantes des arts martiaux de Hong Kong). Cette recherche en cours est une collaboration entre la International Guoshu Association, City University of Hong Kong, et le Laboratoire de muséologie expérimentale (eM+) de l’Institut des humanités digitales de l’EPFL.

Hong Kong est un extraordinaire réservoir pour qui s’intéresse au patrimoine immatériel lié aux arts martiaux. Entre le début et ma moitié du XXème siècle, Hong Kong servit de refuge à des milliers d’immigrants de Chine, parmi lesquels quelques-uns des plus grands artistes martiaux au monde. Si leurs pratiques, rendues célèbres mondialement par le cinéma de Jackie Chan et autres, y demeurent présentes, la globalisation, l’urbanisation et le nombre décroissant de pratiquants les menacent de disparition.

« Kung Fu Motion examine les stratégies permettant d’encoder, de récupérer et de reproduire le patrimoine immatériel de manière à permettre à ces archives d’être « vivantes » dans le présent », explique la Prof. Sarah Kenderdine, directrice d’ArtLab et du laboratoire eM+ à l’EPFL.

+
+ {% include '@atoms/button/button.twig' %} +
-
-
-
- {% include '@atoms/button/button.twig' %} -
+
-
-

Liens

- -
-
-

Date et lieu

-
    -
  • Vernissage le vendredi 27 avril à 18h
  • -
  • Exposition à voir du 28 avril au 26 août 2018
  • -
  • Bâtiment ArtLab
  • -
-
+
+

Liens

+ +
-
-

Informations pratiques

-
    -
  • Organisation Bureau ArtLab
  • -
  • Accessibilité Tout public
  • -
  • Accès Libre
  • -
-
-
-

Abonnez-vous aux publications de Mediacom

-
- +
+

Informations pratiques

+
    +
  • Organisation Bureau ArtLab
  • +
  • Accessibilité Tout public
  • +
-
-
-

Mots-clés

-

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque, natus.

-
+
+

Abonnez-vous aux publications de Mediacom

+
+ +
+
-
-

Partager sur

-
- - - - - - +
+

Mots-clés

+

Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque, natus.

-
+
+

Partager sur

+ +
+ +
From 5faeb1f5701923168ee60e0fe5d3a1237477acde Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:25:28 +0200 Subject: [PATCH 10/46] Add space before pagination #181 --- assets/components/pages/news-homepage/news-homepage.twig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assets/components/pages/news-homepage/news-homepage.twig b/assets/components/pages/news-homepage/news-homepage.twig index 9f4c9cdf5..3497c6de0 100644 --- a/assets/components/pages/news-homepage/news-homepage.twig +++ b/assets/components/pages/news-homepage/news-homepage.twig @@ -21,7 +21,9 @@
{% include '@content-types/news/news.twig' %} - {% include '@molecules/pagination/pagination.twig' %} +
+ {% include '@molecules/pagination/pagination.twig' %} +
From 3a9ce7e4739bb6a4c49b415db808986eb015a401 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:35:42 +0200 Subject: [PATCH 11/46] Add schools listing in sidebar menu #169 --- assets/components/pages/facultes/facultes.twig | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/assets/components/pages/facultes/facultes.twig b/assets/components/pages/facultes/facultes.twig index 855b4fa6f..3e92b6cf1 100644 --- a/assets/components/pages/facultes/facultes.twig +++ b/assets/components/pages/facultes/facultes.twig @@ -1,5 +1,11 @@ {% extends "@templates/base/base.twig" %} +{% set nav_aside_items = [{ + label: "Facultés", + children: ["Architecture, Civil and Environmental Engineering ENAC", "Basic Sciences SB", "Engineering STI", "Computer and Communication Sciences IC", "Life Sciences SV", "Management of Technology CDM", "College of Humanities CDH", "EPFL Middle East"] +}] %} +{% set nav_aside_active = 0 %} + {% block grid %}{% endblock %} {% block content %} @@ -7,7 +13,6 @@

Les facultés de l'EPFL

-

What is a faculty ? Explain in a few sentences.

@@ -17,9 +22,8 @@ {% for i in 1..8 %}
{% include '@content-types/faculty/faculty.twig' %} -
+
{% endfor %}
{% endblock %} - From ccb8488613f194cb854057cb9754947e789c4527 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:46:49 +0200 Subject: [PATCH 12/46] #161 add footerlight --- .../association-homepage/association-homepage.twig | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/assets/components/pages/association-homepage/association-homepage.twig b/assets/components/pages/association-homepage/association-homepage.twig index 48663a0dc..bb78f1889 100644 --- a/assets/components/pages/association-homepage/association-homepage.twig +++ b/assets/components/pages/association-homepage/association-homepage.twig @@ -7,7 +7,6 @@ {% endblock %} {% block content %} -
{% include '@organisms/hero/hero.twig' with {title: 'Association title', cover_path: 'images/cover/cover01_', content: 'Welcome to our association homepage'} %}
@@ -54,7 +53,14 @@
{% include '@organisms/contact/contact-banner.twig' %}
- - {% endblock %} +{% block footer_container %} +
+
+ {% block footer %} + {% include '@organisms/footer/footer-light.twig' %} + {% endblock %} +
+
+{% endblock %} From 09c3cae4158843ba0c7827581a4b05df1e8ed63f Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:47:03 +0200 Subject: [PATCH 13/46] remove unused closing div --- .../pages/event-detail/event-detail.twig | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/assets/components/pages/event-detail/event-detail.twig b/assets/components/pages/event-detail/event-detail.twig index 2a4c657ce..68fea8cf5 100644 --- a/assets/components/pages/event-detail/event-detail.twig +++ b/assets/components/pages/event-detail/event-detail.twig @@ -151,14 +151,12 @@
{% endblock %} - {% block footer_container %} -
-
- {% block footer %} - {% include '@organisms/footer/footer-light.twig' %} - {% endblock %} -
-
- {% endblock %} +{% block footer_container %} +
+
+ {% block footer %} + {% include '@organisms/footer/footer-light.twig' %} + {% endblock %}
+{% endblock %} From 9fdf644a165738ffd4136f2d6585a662352ba638 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:48:58 +0200 Subject: [PATCH 14/46] add footer light #168 --- .../components/pages/blog-homepage/blog-homepage.twig | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/assets/components/pages/blog-homepage/blog-homepage.twig b/assets/components/pages/blog-homepage/blog-homepage.twig index 056917de8..486bed77c 100644 --- a/assets/components/pages/blog-homepage/blog-homepage.twig +++ b/assets/components/pages/blog-homepage/blog-homepage.twig @@ -22,7 +22,14 @@
{% include '@molecules/pagination/pagination-center.twig' %}
- - {% endblock %} +{% block footer_container %} +
+
+ {% block footer %} + {% include '@organisms/footer/footer-light.twig' %} + {% endblock %} +
+
+{% endblock %} From 64515149fde4ef0fc442887940a1bc7f44798ff2 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 09:59:59 +0200 Subject: [PATCH 15/46] change contact banner white background by default + add footer light to #162 event homepage --- .../organisms/contact/contact-banner.twig | 54 +++++++++---------- .../pages/event-homepage/event-homepage.twig | 9 ++++ .../pages/lab-homepage/lab-homepage.twig | 4 +- 3 files changed, 38 insertions(+), 29 deletions(-) diff --git a/assets/components/organisms/contact/contact-banner.twig b/assets/components/organisms/contact/contact-banner.twig index 2deb5dfe9..609b8c5ae 100644 --- a/assets/components/organisms/contact/contact-banner.twig +++ b/assets/components/organisms/contact/contact-banner.twig @@ -1,32 +1,30 @@ -
-
-
-

Contact

-

Les guichets des « services aux étudiant-e-s » est le point de contact central pour traiter vos demandes.

-
-
Lundi à jeudi
-
-
-
-
Vendredi
-
-
-

- services.etudiants@epfl.ch -

-
-

- +41 21 693 43 45 -

-
-
- EPFL AA-DAF
- BP 1229 (bâtiment BP) Station 16
- CH - 1015 Lausanne -
+
+
+

Contact

+

Les guichets des « services aux étudiant-e-s » est le point de contact central pour traiter vos demandes.

+
+
Lundi à jeudi
+
-
- {% include '@molecules/map/map.twig' %} +
+
Vendredi
+
+

+ services.etudiants@epfl.ch +

+
+

+ +41 21 693 43 45 +

+
+
+ EPFL AA-DAF
+ BP 1229 (bâtiment BP) Station 16
+ CH - 1015 Lausanne +
+
+
+ {% include '@molecules/map/map.twig' %}
diff --git a/assets/components/pages/event-homepage/event-homepage.twig b/assets/components/pages/event-homepage/event-homepage.twig index 16b938f27..cb517d0c7 100644 --- a/assets/components/pages/event-homepage/event-homepage.twig +++ b/assets/components/pages/event-homepage/event-homepage.twig @@ -55,3 +55,12 @@ {% endblock %} +{% block footer_container %} +
+
+ {% block footer %} + {% include '@organisms/footer/footer-light.twig' %} + {% endblock %} +
+
+{% endblock %} diff --git a/assets/components/pages/lab-homepage/lab-homepage.twig b/assets/components/pages/lab-homepage/lab-homepage.twig index 02f10114e..58813153d 100644 --- a/assets/components/pages/lab-homepage/lab-homepage.twig +++ b/assets/components/pages/lab-homepage/lab-homepage.twig @@ -69,7 +69,9 @@
- {% include '@organisms/contact/contact-banner.twig' %} +
+ {% include '@organisms/contact/contact-banner.twig' %} +
From d6429f5d5a16a674f0ab417b0a65834434047ef1 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 10:01:32 +0200 Subject: [PATCH 16/46] remove uneccessary margin --- .../organisms/footer/footer-light.twig | 42 +++++++++---------- 1 file changed, 19 insertions(+), 23 deletions(-) diff --git a/assets/components/organisms/footer/footer-light.twig b/assets/components/organisms/footer/footer-light.twig index 0623569d6..04099feb7 100644 --- a/assets/components/organisms/footer/footer-light.twig +++ b/assets/components/organisms/footer/footer-light.twig @@ -1,28 +1,24 @@
-
-
-
- - Logo EPFL, École polytechnique fédérale de Lausanne - -
-
-
-
    -
  • Contact
  • -
  • EPFL CH-1015 Lausanne
  • -
  • +41 21 693 11 11
  • -
- - {% include "@organisms/footer/footer-legal.twig" %} -
-
+
+ + Logo EPFL, École polytechnique fédérale de Lausanne + +
+
+
+
    +
  • Contact
  • +
  • EPFL CH-1015 Lausanne
  • +
  • +41 21 693 11 11
  • +
+ + {% include "@organisms/footer/footer-legal.twig" %}
From 6baaa44eef9de2e2828ad0340ac30860e41e0eac Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 10:14:21 +0200 Subject: [PATCH 17/46] Remvoe clsing divs --- assets/components/pages/programs/programs.twig | 1 - 1 file changed, 1 deletion(-) diff --git a/assets/components/pages/programs/programs.twig b/assets/components/pages/programs/programs.twig index a7f8d3a84..bfccfa05f 100644 --- a/assets/components/pages/programs/programs.twig +++ b/assets/components/pages/programs/programs.twig @@ -28,4 +28,3 @@
{% endblock %} - From 1bfaca36d721e2fcceed05bd319701ea7596fd5a Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Thu, 23 Aug 2018 10:14:46 +0200 Subject: [PATCH 18/46] Add breadcrumb and headerlight #222 --- .../components/pages/people-list/people-list.twig | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/assets/components/pages/people-list/people-list.twig b/assets/components/pages/people-list/people-list.twig index eba7af09f..69cd9a096 100644 --- a/assets/components/pages/people-list/people-list.twig +++ b/assets/components/pages/people-list/people-list.twig @@ -2,6 +2,16 @@ {% extends "@templates/base/base.twig" %} +{% block header %} + {% include '@organisms/header/header-light.twig' with { site_title: 'People' } %} +{% endblock %} + +{% block breadcrumb %} + +{% endblock %} + {% block content %}
@@ -28,6 +38,4 @@ {% endblock %}
- {% endblock %} -
-
+{% endblock %} From dd5b54c8de678525fea90cc925c5db73d8e81e13 Mon Sep 17 00:00:00 2001 From: Noemie Date: Thu, 23 Aug 2018 11:13:32 +0200 Subject: [PATCH 19/46] add education page --- .../components/pages/education/education.twig | 73 +++++++++++++++++++ .../components/pages/education/education.yml | 2 + 2 files changed, 75 insertions(+) create mode 100644 assets/components/pages/education/education.twig create mode 100644 assets/components/pages/education/education.yml diff --git a/assets/components/pages/education/education.twig b/assets/components/pages/education/education.twig new file mode 100644 index 000000000..51c1e652d --- /dev/null +++ b/assets/components/pages/education/education.twig @@ -0,0 +1,73 @@ +{% extends "@templates/base/base.twig" %} + +{% block content %} + +
+
+
+

Education

+
+
+ IMAGE DESCRIPTION HERE +
+
+
+ +
+

+ Treize filières de formation dans les sciences de l’ingénieur, des programmes doctoraux de choix, des laboratoires de pointe dirigés par des professeurs de réputation internationale, un campus moderne en plein développement, des liens privilégiés avec l’industrie: l’EPFL offre des conditions d’études hors du commun aux jeunes qui envisagent d’amorcer une formation supérieure dans le domaine des sciences et de la technique. +

+
+ +
+

Composant "chiffre clés"

+
+ +
+

Cursus

+
+
+ {% include '@content-types/cursus/cursus.twig' %} +
+
+ {% include '@content-types/cursus/cursus.twig' %} +
+
+ {% include '@content-types/cursus/cursus.twig' %} +
+
+
+ +
+ {% include '@content-types/news/news-latest-two.twig' %} +
+ +
+
+
+

The next events

+ {% include '@organisms/card-slider/card-slider.twig' %} +
+
+
+ +
+
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@molecules/links-group/links-group.twig' %} +
+
+
+ +
+ {% include '@organisms/contact/contact-banner.twig' %} +
+ + +{% endblock %} diff --git a/assets/components/pages/education/education.yml b/assets/components/pages/education/education.yml new file mode 100644 index 000000000..ce6c0cf15 --- /dev/null +++ b/assets/components/pages/education/education.yml @@ -0,0 +1,2 @@ +name: education +title: Education \ No newline at end of file From b9cbf07118d299819b58cf24006f798dfd143106 Mon Sep 17 00:00:00 2001 From: Noemie Date: Thu, 23 Aug 2018 11:31:42 +0200 Subject: [PATCH 20/46] add innovation page --- .../pages/innovation/innovation.twig | 70 +++++++++++++++++++ .../pages/innovation/innovation.yml | 2 + 2 files changed, 72 insertions(+) create mode 100644 assets/components/pages/innovation/innovation.twig create mode 100644 assets/components/pages/innovation/innovation.yml diff --git a/assets/components/pages/innovation/innovation.twig b/assets/components/pages/innovation/innovation.twig new file mode 100644 index 000000000..05b139bfe --- /dev/null +++ b/assets/components/pages/innovation/innovation.twig @@ -0,0 +1,70 @@ +{% extends "@templates/base/base.twig" %} + +{% block content %} + +
+
+
+

Innovation

+
+
+ IMAGE DESCRIPTION HERE +
+
+
+ +
+

+ La vice-présidence pour l'innovation (VPI) est l'interface entre l'EPFL et les milieux économiques. Elle encourage l'entrepreneuriat et la création de start-ups, elle favorise l'innovation et la recherche en aidant l'industrie à développer des partenariats avec l'EPFL. la VPI est également en charge de la plateforme Switzerland Innovation Park Network West, qui est étroitement liée à l'extension des autres campus de l'EPFL. +

+
+ +
+

Composant "chiffre clés"

+
+ + +
+ {% include '@content-types/news/news-latest-two.twig' %} +
+ +
+
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+
+ +
+
+
+

The next events

+ {% include '@organisms/card-slider/card-slider.twig' %} +
+
+
+ +
+
+
+ {% include '@organisms/contact/contact-compact.twig' %} +
+
+ {% include '@molecules/links-group/links-group.twig' %} +
+
+
+ +{% endblock %} diff --git a/assets/components/pages/innovation/innovation.yml b/assets/components/pages/innovation/innovation.yml new file mode 100644 index 000000000..c2e1233f0 --- /dev/null +++ b/assets/components/pages/innovation/innovation.yml @@ -0,0 +1,2 @@ +name: innovation +title: Innovation \ No newline at end of file From 255b439802c8e8df9384088d76742e1006161311 Mon Sep 17 00:00:00 2001 From: Noemie Date: Thu, 23 Aug 2018 11:43:37 +0200 Subject: [PATCH 21/46] add about page --- assets/components/pages/about/about.twig | 91 ++++++++++++++++++++++++ assets/components/pages/about/about.yml | 2 + 2 files changed, 93 insertions(+) create mode 100644 assets/components/pages/about/about.twig create mode 100644 assets/components/pages/about/about.yml diff --git a/assets/components/pages/about/about.twig b/assets/components/pages/about/about.twig new file mode 100644 index 000000000..e7476a9e4 --- /dev/null +++ b/assets/components/pages/about/about.twig @@ -0,0 +1,91 @@ +{% extends "@templates/base/base.twig" %} + +{% block content %} + +
+
+
+

About

+
+
+ IMAGE DESCRIPTION HERE +
+
+
+ +
+

+ L'EPFL est la plus cosmopolite des universités techniques européennes. Elle accueille des étudiants, professeurs et collaborateurs de plus de 120 nationalités. A vocation à la fois suisse et internationale, l’EPFL est centrée sur trois missions : l’enseignement, la recherche et le transfert de technologies. L’EPFL collabore avec un important réseau de partenaires comprenant notamment les autres universités et hautes écoles, les écoles secondaires et gymnases, l’industrie et l’économie, les milieux politiques et le grand public, ceci dans le but d’avoir un véritable impact pour la société. +

+
+ +
+
+
+
+ {% include '@molecules/links-group/links-group.twig' %} +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@molecules/links-group/links-group-teaser.twig' %} +
+
+
+
+ +
+ {% include '@content-types/news/news-latest-two.twig' %} +
+ +
+
+
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@molecules/links-group/links-group.twig' %} +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+
+
+ +
+
+
+

The next events

+ {% include '@organisms/card-slider/card-slider.twig' %} +
+
+
+ +
+
+
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+
+
+ +
+
+
+ Quote +
+
+ {% include '@content-types/basic-page/basic-page.twig' %} +
+
+
+ +{% endblock %} diff --git a/assets/components/pages/about/about.yml b/assets/components/pages/about/about.yml new file mode 100644 index 000000000..61b62f03e --- /dev/null +++ b/assets/components/pages/about/about.yml @@ -0,0 +1,2 @@ +name: about +title: About \ No newline at end of file From f20d4e8bb0dbba663b6fe4046dd78e9cc16ad23e Mon Sep 17 00:00:00 2001 From: Noemie Date: Thu, 23 Aug 2018 12:09:59 +0200 Subject: [PATCH 22/46] add schema to event #262 --- .../content-types/event/event-listing.twig | 10 +++++----- assets/components/content-types/event/event.twig | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/assets/components/content-types/event/event-listing.twig b/assets/components/content-types/event/event-listing.twig index a9a7b7fba..dab645a9e 100644 --- a/assets/components/content-types/event/event-listing.twig +++ b/assets/components/content-types/event/event-listing.twig @@ -6,15 +6,15 @@ {% include '@atoms/picture/picture.twig' with {'variant':'news-thumb'} %}
-

Startup Acceleration Workshops

+

Startup Acceleration Workshops

{% block date %} - 10.01.2018 - 13:00 - 17:30 + 10.01.2018 + 13:00 + 17:30 {% endblock %}

- {% block info %}Lieu : ArtLab EPFL
Catégorie : Événements culturel
{% endblock %} + {% block info %}Lieu : ArtLab EPFL
Catégorie : Événements culturel
{% endblock %}

diff --git a/assets/components/content-types/event/event.twig b/assets/components/content-types/event/event.twig index 90214889a..eacd07d16 100644 --- a/assets/components/content-types/event/event.twig +++ b/assets/components/content-types/event/event.twig @@ -6,16 +6,16 @@ {% endblock %} -

{% block title %}Startup Acceleration Workshops{% endblock %}

+

{% block title %}Startup Acceleration Workshops{% endblock %}

{% block summary %}{% endblock -%}
{% block date %} - 10.01.2018 - 13:00 - 17:30 + 10.01.2018 + 13:00 + 17:30 {% endblock %} -

- {% block info %}Lieu : ArtLab EPFL
Catégorie : Événements culturel
{% endblock %} +

+ {% block info %}Lieu : ArtLab EPFL
Catégorie : Événements culturel
{% endblock %}

From 188e90be31ca03b8c6a439e6d52fdf4b2f44f367 Mon Sep 17 00:00:00 2001 From: Noemie Date: Thu, 23 Aug 2018 12:20:53 +0200 Subject: [PATCH 23/46] add schema to article ##263 --- .../content-types/news/news-basic-teaser.twig | 10 +++++----- .../content-types/news/news-distinction.twig | 6 +++--- .../content-types/news/news-press-release.twig | 10 +++++----- assets/components/content-types/news/news.twig | 8 ++++---- assets/components/pages/news-detail/news-detail.twig | 4 ++-- 5 files changed, 19 insertions(+), 19 deletions(-) diff --git a/assets/components/content-types/news/news-basic-teaser.twig b/assets/components/content-types/news/news-basic-teaser.twig index 67cde3662..5d8aadb10 100644 --- a/assets/components/content-types/news/news-basic-teaser.twig +++ b/assets/components/content-types/news/news-basic-teaser.twig @@ -4,13 +4,13 @@ a portrait of professor Xile Hu {% endblock %} -
-

News title

+
+

News title

- 11.09.17 - Recherche + + Recherche Prix et récompenses
-

The EPFL favors closer ties to industry leading research in order to best meet the scientific, technological and societal

+

The EPFL favors closer ties to industry leading research in order to best meet the scientific, technological and societal

diff --git a/assets/components/content-types/news/news-distinction.twig b/assets/components/content-types/news/news-distinction.twig index 4194fcc94..c621ee706 100644 --- a/assets/components/content-types/news/news-distinction.twig +++ b/assets/components/content-types/news/news-distinction.twig @@ -4,8 +4,8 @@ a portrait of professor Xile Hu {% endblock %} -
-

EPFL doctorate Award 2017 – Priscilla Briquez

-

Text teaser — EPFL biologists and geneticists have uncovered how the circadian clock orchestrates the 24-hour cycle of gene expression by regulating the structure of chromatin, the tightly wound DNA-protein complex of the cell

+
+

EPFL doctorate Award 2017 – Priscilla Briquez

+

Text teaser — EPFL biologists and geneticists have uncovered how the circadian clock orchestrates the 24-hour cycle of gene expression by regulating the structure of chromatin, the tightly wound DNA-protein complex of the cell

diff --git a/assets/components/content-types/news/news-press-release.twig b/assets/components/content-types/news/news-press-release.twig index 1bc534ae2..4fe3423cc 100644 --- a/assets/components/content-types/news/news-press-release.twig +++ b/assets/components/content-types/news/news-press-release.twig @@ -4,16 +4,16 @@ a portrait of professor Xile Hu {% endblock %} -
+
Press release - +
-

Two months in Pyeongchang to study Korean snowfalls

+

Two months in Pyeongchang to study Korean snowfalls

ENAC - Environment + Environment
-

Text teaser — EPFL biologists and geneticists have uncovered how the circadian clock orchestrates the 24-hour cycle of gene expression by regulating the structure of chromatin, the tightly wound DNA-protein complex of the cell

+

Text teaser — EPFL biologists and geneticists have uncovered how the circadian clock orchestrates the 24-hour cycle of gene expression by regulating the structure of chromatin, the tightly wound DNA-protein complex of the cell

diff --git a/assets/components/content-types/news/news.twig b/assets/components/content-types/news/news.twig index 3a0f8243c..678b27877 100644 --- a/assets/components/content-types/news/news.twig +++ b/assets/components/content-types/news/news.twig @@ -5,11 +5,11 @@
{% include '@atoms/picture/picture.twig' with {'variant':'news-thumb'} %}
-
-

Physics: new e-books for the AIAA Education Series

+
+

Physics: new e-books for the AIAA Education Series

- - — Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet + + — Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet Epicureum esse, si probarem, quae ille diceret?

diff --git a/assets/components/pages/news-detail/news-detail.twig b/assets/components/pages/news-detail/news-detail.twig index 96df8db21..f249df137 100644 --- a/assets/components/pages/news-detail/news-detail.twig +++ b/assets/components/pages/news-detail/news-detail.twig @@ -3,8 +3,8 @@ {% block grid %}{% endblock %} {% block content %} -
-

Des connexions se créent pour dépasser la paralysie

+
+

Des connexions se créent pour dépasser la paralysie

From 69130259076af0ebcd4ee5171717574de2dc9702 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 08:45:57 +0200 Subject: [PATCH 24/46] =?UTF-8?q?=F0=9F=92=84=20add=20nicer=20bottom=20spa?= =?UTF-8?q?cing=20for=20footer-light?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/components/organisms/footer/footer-light.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/organisms/footer/footer-light.twig b/assets/components/organisms/footer/footer-light.twig index 04099feb7..2370a0f03 100644 --- a/assets/components/organisms/footer/footer-light.twig +++ b/assets/components/organisms/footer/footer-light.twig @@ -5,7 +5,7 @@ Logo EPFL, École polytechnique fédérale de Lausanne
-
+
  • Contact
  • From e87d6c0e9e810983cd64bb06ab3d02e14b01bec5 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 10:04:27 +0200 Subject: [PATCH 25/46] =?UTF-8?q?=F0=9F=90=9B=20fix=20missing=20round=20op?= =?UTF-8?q?tion=20on=20social-icon=20variant=20#228?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../atoms/social-icon/social-icon-round-discrete-link.twig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/assets/components/atoms/social-icon/social-icon-round-discrete-link.twig b/assets/components/atoms/social-icon/social-icon-round-discrete-link.twig index 2e53afe4f..402341e3d 100644 --- a/assets/components/atoms/social-icon/social-icon-round-discrete-link.twig +++ b/assets/components/atoms/social-icon/social-icon-round-discrete-link.twig @@ -1,3 +1,4 @@ {% include "@atoms/social-icon/social-icon-link.twig" with { - discrete: true + discrete: true, + round: true } %} From 7e3e9526e6fa40f8de53b98fdb604f9348523fc9 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 10:56:57 +0200 Subject: [PATCH 26/46] =?UTF-8?q?=F0=9F=92=84=20update=20and=20extend=20qu?= =?UTF-8?q?estion=20component=20for=20science=20question=20content=20type?= =?UTF-8?q?=20#229?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../science-question/science-question.twig | 10 ++++++- .../molecules/question/question.scss | 8 +++++- .../molecules/question/question.twig | 28 ++++++++++++------- 3 files changed, 34 insertions(+), 12 deletions(-) diff --git a/assets/components/content-types/science-question/science-question.twig b/assets/components/content-types/science-question/science-question.twig index 2475b8e64..a9c98c3bd 100644 --- a/assets/components/content-types/science-question/science-question.twig +++ b/assets/components/content-types/science-question/science-question.twig @@ -1 +1,9 @@ -{% include '@molecules/question/question.twig' %} +{% include '@molecules/question/question.twig' with { + type: 'Question de science', + options: [ + 'À la pollution résultant de la circulation', + 'Au fait que la Baie est plus basse que le niveau de l’Océan', + 'Aux aérosols marins en suspension dans la région' + ], + vote: true +} %} diff --git a/assets/components/molecules/question/question.scss b/assets/components/molecules/question/question.scss index 4db2ace96..d049edbcc 100644 --- a/assets/components/molecules/question/question.scss +++ b/assets/components/molecules/question/question.scss @@ -23,9 +23,10 @@ $animation: 0.2s; } .custom-control-label { + flex: 1 1 auto; + flex-basis: 0; position: relative; transition: $animation; - flex-grow: 1; // red icon styles &:before { @@ -76,6 +77,7 @@ $animation: 0.2s; // checked animation and styles .custom-control-input:checked + .custom-control-label { + @extend .custom-control-label:hover; z-index: 10; .custom-control-label-content { @@ -130,6 +132,10 @@ $animation: 0.2s; } } + .question-content { + padding: $spacer 0; + } + // checked styles .custom-control-input:checked + .custom-control-label { z-index: 10; diff --git a/assets/components/molecules/question/question.twig b/assets/components/molecules/question/question.twig index 123d1bb12..035f53185 100644 --- a/assets/components/molecules/question/question.twig +++ b/assets/components/molecules/question/question.twig @@ -5,18 +5,26 @@
-

À quoi l'éternel brouillard de San Francisco est-il dû ?

+ {% if type %}

{{ type }}

{% endif %} +

À quoi l’éternel brouillard de San Francisco est-il principalement dû ?

- {% for i in [1,2,3] %} - - + {% set options = options|default(['Option 1', 'Option 2', 'Option 3']) %} + {% for option in options %} + + {% endfor %}
+ + {% if vote %} +
+ Voter +
+ {% endif %}
-
\ No newline at end of file +
From db95b355259ba00765c46bd3d9379f3e2394e756 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 10:59:23 +0200 Subject: [PATCH 27/46] =?UTF-8?q?=F0=9F=94=A8=20refactor=20bachelor-projec?= =?UTF-8?q?t=20content-type=20#230?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../content-types/bachelor-project/bachelor-project.twig | 2 -- 1 file changed, 2 deletions(-) diff --git a/assets/components/content-types/bachelor-project/bachelor-project.twig b/assets/components/content-types/bachelor-project/bachelor-project.twig index a5423826a..e3b4ab688 100644 --- a/assets/components/content-types/bachelor-project/bachelor-project.twig +++ b/assets/components/content-types/bachelor-project/bachelor-project.twig @@ -2,14 +2,12 @@
From 9c8892cb8dfc397d9cce466110fd35500b786934 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 11:21:41 +0200 Subject: [PATCH 28/46] =?UTF-8?q?=F0=9F=92=84=20add=20default=20profile=20?= =?UTF-8?q?picture=20for=20people=20details=20page=20#182?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/components/pages/people-detail/people-detail.twig | 6 ++++++ assets/svg/avatar-placeholder.svg | 1 + 2 files changed, 7 insertions(+) create mode 100644 assets/svg/avatar-placeholder.svg diff --git a/assets/components/pages/people-detail/people-detail.twig b/assets/components/pages/people-detail/people-detail.twig index 206e9fee7..e91b7449e 100644 --- a/assets/components/pages/people-detail/people-detail.twig +++ b/assets/components/pages/people-detail/people-detail.twig @@ -22,7 +22,13 @@ {# Person avatar and buttons #}
+ + + + + Avatar placeholder image

Habilitation Dr. Ing

diff --git a/assets/svg/avatar-placeholder.svg b/assets/svg/avatar-placeholder.svg new file mode 100644 index 000000000..76056f160 --- /dev/null +++ b/assets/svg/avatar-placeholder.svg @@ -0,0 +1 @@ + From 160a32be283e4fdf972104cdf62506af086a1dfc Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 12:08:09 +0200 Subject: [PATCH 29/46] =?UTF-8?q?=E2=9C=A8=20add=20loader=20and=20browse?= =?UTF-8?q?=20button=20loading=20state=20#213?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/components/atoms/loader/loader.scss | 16 ++++++++++++++++ assets/components/atoms/loader/loader.twig | 1 + assets/components/atoms/loader/loader.yml | 2 ++ .../atoms/nav-toggle/nav-toggle.scss | 18 ++++++++++++++---- .../atoms/nav-toggle/nav-toggle.twig | 1 + .../components/atoms/nav-toggle/nav-toggle.yml | 4 +++- assets/components/base.scss | 1 + 7 files changed, 38 insertions(+), 5 deletions(-) create mode 100644 assets/components/atoms/loader/loader.scss create mode 100644 assets/components/atoms/loader/loader.twig create mode 100644 assets/components/atoms/loader/loader.yml diff --git a/assets/components/atoms/loader/loader.scss b/assets/components/atoms/loader/loader.scss new file mode 100644 index 000000000..41ce58b57 --- /dev/null +++ b/assets/components/atoms/loader/loader.scss @@ -0,0 +1,16 @@ +@charset 'utf-8'; + +@keyframes rotation { + from { transform: rotate(0deg); } + to { transform: rotate(360deg); } +} + +.loader { + display: inline-block; + width: 0.9rem; + height: 0.9rem; + border: 3px solid gray('200'); + border-right-color: gray('600'); + border-radius: 100%; + animation: rotation 1s linear infinite; +} diff --git a/assets/components/atoms/loader/loader.twig b/assets/components/atoms/loader/loader.twig new file mode 100644 index 000000000..f23547956 --- /dev/null +++ b/assets/components/atoms/loader/loader.twig @@ -0,0 +1 @@ + diff --git a/assets/components/atoms/loader/loader.yml b/assets/components/atoms/loader/loader.yml new file mode 100644 index 000000000..406df8b53 --- /dev/null +++ b/assets/components/atoms/loader/loader.yml @@ -0,0 +1,2 @@ +title: Loader +name: loader \ No newline at end of file diff --git a/assets/components/atoms/nav-toggle/nav-toggle.scss b/assets/components/atoms/nav-toggle/nav-toggle.scss index f9654959e..b80c4ddf3 100644 --- a/assets/components/atoms/nav-toggle/nav-toggle.scss +++ b/assets/components/atoms/nav-toggle/nav-toggle.scss @@ -9,15 +9,25 @@ padding: $spacer / 4 $spacer / 2; &:hover { cursor: pointer; } + .loader { + display: none; + margin-right: 0.2rem; + } + + &.is-loading { + .loader { display: inline-block; } + .icon { display: none !important; } + } + .icon { margin-right: 0.2rem; font-size: 0.7rem; - &:first-child { + &:first-of-type { display: block; } - &:last-child { + &:last-of-type { display: none; } } @@ -32,11 +42,11 @@ } .desktop-menu-open .nav-toggle { - .icon:first-child { + .icon:first-of-type { display: none; } - .icon:last-child { + .icon:last-of-type { display: block; } } diff --git a/assets/components/atoms/nav-toggle/nav-toggle.twig b/assets/components/atoms/nav-toggle/nav-toggle.twig index 94d1f4e25..95b217451 100644 --- a/assets/components/atoms/nav-toggle/nav-toggle.twig +++ b/assets/components/atoms/nav-toggle/nav-toggle.twig @@ -1,4 +1,5 @@
From 443f262ec259a4280f1625d582019ea126d5df1b Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Fri, 24 Aug 2018 16:20:22 +0200 Subject: [PATCH 32/46] =?UTF-8?q?=F0=9F=90=9B=20small=20keynumbers=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/components/molecules/key-number/key-number.twig | 2 +- .../organisms/key-number-group/key-number-group.scss | 9 ++++++--- .../organisms/key-number-group/key-number-group.twig | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/assets/components/molecules/key-number/key-number.twig b/assets/components/molecules/key-number/key-number.twig index c1ee6a5eb..da68d9c71 100644 --- a/assets/components/molecules/key-number/key-number.twig +++ b/assets/components/molecules/key-number/key-number.twig @@ -2,7 +2,7 @@
-
Étudiants
+

Étudiants

diff --git a/assets/components/organisms/key-number-group/key-number-group.scss b/assets/components/organisms/key-number-group/key-number-group.scss index 54704b3bc..609e13515 100644 --- a/assets/components/organisms/key-number-group/key-number-group.scss +++ b/assets/components/organisms/key-number-group/key-number-group.scss @@ -11,8 +11,8 @@ } @include media-breakpoint-up(md) { - .key-number { - flex: 1 0 50%; + .key-number { + flex: 1 0 50%; } } @@ -25,4 +25,7 @@ flex: 0 0 50%; } } -} \ No newline at end of file +} + +@include ie11('.key-number-group .key-number') { flex: 0 0 20%; } +@include ie11('.key-number-group .key-large') { flex: 0 0 45%; } diff --git a/assets/components/organisms/key-number-group/key-number-group.twig b/assets/components/organisms/key-number-group/key-number-group.twig index d7bbd18ba..b39fba18b 100644 --- a/assets/components/organisms/key-number-group/key-number-group.twig +++ b/assets/components/organisms/key-number-group/key-number-group.twig @@ -7,4 +7,4 @@ {% include '@molecules/key-number/key-number-large.twig' %} {% include '@molecules/key-number/key-number.twig' %}
-
\ No newline at end of file +
From cf1ecf89452449427a9cb0bc9102160803aa9e30 Mon Sep 17 00:00:00 2001 From: knuch Date: Mon, 27 Aug 2018 11:43:45 +0200 Subject: [PATCH 33/46] centralise z-index management. cleanup dead code --- .../components/atoms/nav-lang/nav-lang.scss | 2 +- .../atoms/nav-toggle/nav-toggle.scss | 2 +- assets/components/atoms/select/select.scss | 2 +- .../molecules/access-nav/access-nav.scss | 2 +- .../components/molecules/gallery/gallery.scss | 2 +- .../components/organisms/nav-main/nav-main.js | 6 -- .../organisms/nav-main/nav-main.scss | 56 +------------------ assets/config/bootstrap-variables.scss | 6 ++ 8 files changed, 13 insertions(+), 65 deletions(-) diff --git a/assets/components/atoms/nav-lang/nav-lang.scss b/assets/components/atoms/nav-lang/nav-lang.scss index fe221dccb..93eea8a90 100644 --- a/assets/components/atoms/nav-lang/nav-lang.scss +++ b/assets/components/atoms/nav-lang/nav-lang.scss @@ -68,7 +68,7 @@ bottom: -$mm-lang-height; width: $mm-lang-width; height: $mm-lang-height; - z-index: 999120; + z-index: $zindex-mobile-lang; background: gray('600'); transition: bottom 0.3s; diff --git a/assets/components/atoms/nav-toggle/nav-toggle.scss b/assets/components/atoms/nav-toggle/nav-toggle.scss index b80c4ddf3..41ee57c82 100644 --- a/assets/components/atoms/nav-toggle/nav-toggle.scss +++ b/assets/components/atoms/nav-toggle/nav-toggle.scss @@ -4,7 +4,7 @@ display: none; position: relative; top: 1px; - z-index: 101; + z-index: $zindex-toggle; margin-right: $grid-gutter-width / 3; padding: $spacer / 4 $spacer / 2; &:hover { cursor: pointer; } diff --git a/assets/components/atoms/select/select.scss b/assets/components/atoms/select/select.scss index 1a617bc39..1aedca17b 100644 --- a/assets/components/atoms/select/select.scss +++ b/assets/components/atoms/select/select.scss @@ -67,7 +67,7 @@ overflow: hidden; margin-top: -$dropdown-border-width; padding: $dropdown-padding-y 0; - z-index: 1000; + z-index: $zindex-dropdown; background: $dropdown-bg; border: $dropdown-border-width solid $dropdown-border-color; color: $dropdown-link-color; diff --git a/assets/components/molecules/access-nav/access-nav.scss b/assets/components/molecules/access-nav/access-nav.scss index f78e1902c..d7ebee13a 100644 --- a/assets/components/molecules/access-nav/access-nav.scss +++ b/assets/components/molecules/access-nav/access-nav.scss @@ -16,7 +16,7 @@ position: fixed; top: 0; left: 25px; - z-index: 3003; + z-index: $zindex-access-nav; transform: translateY(-100%); transition: opacity 0.2s, diff --git a/assets/components/molecules/gallery/gallery.scss b/assets/components/molecules/gallery/gallery.scss index c50102337..e38ff60cb 100644 --- a/assets/components/molecules/gallery/gallery.scss +++ b/assets/components/molecules/gallery/gallery.scss @@ -4,7 +4,7 @@ $gallery-btn-size: 41px; $gallery-btn-margin: 14px; .gallery.is-fullscreen { - z-index: 9999999; + z-index: $zindex-gallery-opened !important; /* eslint disable line */ } .gallery, diff --git a/assets/components/organisms/nav-main/nav-main.js b/assets/components/organisms/nav-main/nav-main.js index c5eac0d74..3c0cdf878 100644 --- a/assets/components/organisms/nav-main/nav-main.js +++ b/assets/components/organisms/nav-main/nav-main.js @@ -70,12 +70,6 @@ const nav = () => { toggleMobileMenu(); }); - // close toggle navigation - $('.nav-close').on('click', (e) => { - e.preventDefault(); - toggleDesktopMenu(); - }); - // Bind aciton to close toggle navigation, when clicking the white overlay $('.overlay').on('click', (e) => { e.preventDefault(); diff --git a/assets/components/organisms/nav-main/nav-main.scss b/assets/components/organisms/nav-main/nav-main.scss index 25bfe5d8d..3cf6ea185 100644 --- a/assets/components/organisms/nav-main/nav-main.scss +++ b/assets/components/organisms/nav-main/nav-main.scss @@ -8,7 +8,7 @@ $nav-spacer: 4px; .nav-main { position: relative; background: color('white'); - z-index: 100; + z-index: $zindex-nav; transition: left 0.3s; border-right: 1px solid gray('100'); @@ -199,54 +199,6 @@ a.nav-arrow { padding-left: 100%; } -// -// Close button for toggle menu -// -.nav-close { - display: none; - z-index: 999; - position: absolute; - top: $spacer / 2; - right: -1 * $spacer; - width: 35px; - height: 35px; - border-radius: 50%; - background: $white; - padding-left: 9px; - border: 1px solid gray('200'); - cursor: pointer; - transition: all 0.2s; - - &:hover { - background: gray('200'); - - &:before, - &:after { - background: $black; - } - } - - &:before, - &:after { - content: ' '; - display: block; - position: absolute; - top: 0.95 * $spacer; - width: 16px; - height: 2px; - background: gray('600'); - border-radius: 2px; - } - - &:before { - transform: rotate(45deg); - } - - &:after { - transform: rotate(-45deg); - } -} - // // Desktop // @@ -287,10 +239,6 @@ a.nav-arrow { position: relative; } - .nav-close { - display: block; - } - .nav-aside-wrapper { display: none; } @@ -412,7 +360,7 @@ a.nav-arrow { height: 0; overflow: hidden; cursor: pointer; - z-index: 50; + z-index: $zindex-nav-overlay; opacity: 0; background: $white; transition: opacity 0.3s; diff --git a/assets/config/bootstrap-variables.scss b/assets/config/bootstrap-variables.scss index e165c8aa3..b404cf9be 100644 --- a/assets/config/bootstrap-variables.scss +++ b/assets/config/bootstrap-variables.scss @@ -548,6 +548,12 @@ $zindex-modal-backdrop: 1040 !default; $zindex-modal: 1050 !default; $zindex-popover: 1060 !default; $zindex-tooltip: 1070 !default; +$zindex-nav-overlay: 1100 !default; +$zindex-nav: 1110 !default; +$zindex-toggle: 1120 !default; +$zindex-gallery-opened: 1120 !default; +$zindex-mobile-lang: 1140 !default; +$zindex-access-nav: 3003 !default; // Navs From aac697ac9e0553743086cc415f8b953c19af4302 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Mon, 27 Aug 2018 15:14:53 +0200 Subject: [PATCH 34/46] <2728> add function async loading toggle #213 --- .../atoms/nav-toggle/nav-toggle-async.twig | 6 ++++ .../atoms/nav-toggle/nav-toggle.yml | 10 ++++-- .../components/organisms/nav-main/nav-main.js | 33 ++++++++++++++----- 3 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 assets/components/atoms/nav-toggle/nav-toggle-async.twig diff --git a/assets/components/atoms/nav-toggle/nav-toggle-async.twig b/assets/components/atoms/nav-toggle/nav-toggle-async.twig new file mode 100644 index 000000000..82b9eddd3 --- /dev/null +++ b/assets/components/atoms/nav-toggle/nav-toggle-async.twig @@ -0,0 +1,6 @@ + diff --git a/assets/components/atoms/nav-toggle/nav-toggle.yml b/assets/components/atoms/nav-toggle/nav-toggle.yml index e271c065b..067629f3b 100644 --- a/assets/components/atoms/nav-toggle/nav-toggle.yml +++ b/assets/components/atoms/nav-toggle/nav-toggle.yml @@ -1,4 +1,10 @@ title: Nav toggle name: nav-toggle -notes: | - If you want a transitioning loading state, you can apply `is-loading` class on the component during the loading, but don't forget to remove it when it's loaded. +variants: + - name: async + title: Async + notes: > + If you want an asynchronous transition, you can apply `nav-toggle-async` class on + the component. **It will start the loading** state `onClick` instead of opening the navigation. +

+ When your content is ready, **you need to trigger the end of the loading** state using `$('#nav-toggle').trigger('loadend');` diff --git a/assets/components/organisms/nav-main/nav-main.js b/assets/components/organisms/nav-main/nav-main.js index 3c0cdf878..18d28d7b2 100644 --- a/assets/components/organisms/nav-main/nav-main.js +++ b/assets/components/organisms/nav-main/nav-main.js @@ -19,10 +19,16 @@ const nav = () => { // Open or close desktop toggle navigation, keeping it's atual position. // Used for the hamburger desktop menu to display current position - const toggleDesktopMenu = (offset = 0) => { + const toggleDesktopMenu = (mustOpen = false) => { + const navToggle = $('#nav-toggle'); + navToggle.toggleClass('open'); + const offsetX = navToggle.offset().left + navToggle.outerWidth(true); + const offsetY = navToggle.offset().top - $(window).scrollTop(); + $('.nav-main').css('top', offsetY); + $('body').toggleClass('desktop-menu-open'); - if (offset > 0 && $('body').hasClass('desktop-menu-open')) { - $('.nav-main').css('left', offset); + if (mustOpen && $('body').hasClass('desktop-menu-open')) { + $('.nav-main').css('left', offsetX); } else { $('.nav-main').css('left', ''); } @@ -79,11 +85,22 @@ const nav = () => { // Bind action to the desktop hamburger (next to breadcrumbs) // eslint-disable-next-line $('#nav-toggle').on('click', function() { - $(this).toggleClass('open'); - const offsetX = $(this).offset().left + $(this).outerWidth(true); - const offsetY = $(this).offset().top - $(window).scrollTop(); - $('.nav-main').css('top', offsetY); - toggleDesktopMenu(offsetX); + if ($(this).hasClass('nav-toggle-async') && !$(this).hasClass('open')) { + $(this).addClass('is-loading'); + + // Demo of loading resolution + if ($('#styleguide').length > 0) { + setTimeout(() => $('#nav-toggle').trigger('loadend'), 2000); + } + } else { + toggleDesktopMenu(true); + } + }); + + // eslint-disable-next-line + $('#nav-toggle').on('loadend', function() { + $(this).removeClass('is-loading'); + toggleDesktopMenu(true); }); }; From 389c4b2b53c4eece8cbf4005535e6d078128e4fd Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Mon, 27 Aug 2018 15:14:53 +0200 Subject: [PATCH 35/46] =?UTF-8?q?=E2=9C=A8=20add=20function=20async=20load?= =?UTF-8?q?ing=20toggle=20#213?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../atoms/nav-toggle/nav-toggle-async.twig | 6 ++++ .../atoms/nav-toggle/nav-toggle.yml | 10 ++++-- .../components/organisms/nav-main/nav-main.js | 33 ++++++++++++++----- 3 files changed, 39 insertions(+), 10 deletions(-) create mode 100644 assets/components/atoms/nav-toggle/nav-toggle-async.twig diff --git a/assets/components/atoms/nav-toggle/nav-toggle-async.twig b/assets/components/atoms/nav-toggle/nav-toggle-async.twig new file mode 100644 index 000000000..82b9eddd3 --- /dev/null +++ b/assets/components/atoms/nav-toggle/nav-toggle-async.twig @@ -0,0 +1,6 @@ + diff --git a/assets/components/atoms/nav-toggle/nav-toggle.yml b/assets/components/atoms/nav-toggle/nav-toggle.yml index e271c065b..067629f3b 100644 --- a/assets/components/atoms/nav-toggle/nav-toggle.yml +++ b/assets/components/atoms/nav-toggle/nav-toggle.yml @@ -1,4 +1,10 @@ title: Nav toggle name: nav-toggle -notes: | - If you want a transitioning loading state, you can apply `is-loading` class on the component during the loading, but don't forget to remove it when it's loaded. +variants: + - name: async + title: Async + notes: > + If you want an asynchronous transition, you can apply `nav-toggle-async` class on + the component. **It will start the loading** state `onClick` instead of opening the navigation. +

+ When your content is ready, **you need to trigger the end of the loading** state using `$('#nav-toggle').trigger('loadend');` diff --git a/assets/components/organisms/nav-main/nav-main.js b/assets/components/organisms/nav-main/nav-main.js index 3c0cdf878..18d28d7b2 100644 --- a/assets/components/organisms/nav-main/nav-main.js +++ b/assets/components/organisms/nav-main/nav-main.js @@ -19,10 +19,16 @@ const nav = () => { // Open or close desktop toggle navigation, keeping it's atual position. // Used for the hamburger desktop menu to display current position - const toggleDesktopMenu = (offset = 0) => { + const toggleDesktopMenu = (mustOpen = false) => { + const navToggle = $('#nav-toggle'); + navToggle.toggleClass('open'); + const offsetX = navToggle.offset().left + navToggle.outerWidth(true); + const offsetY = navToggle.offset().top - $(window).scrollTop(); + $('.nav-main').css('top', offsetY); + $('body').toggleClass('desktop-menu-open'); - if (offset > 0 && $('body').hasClass('desktop-menu-open')) { - $('.nav-main').css('left', offset); + if (mustOpen && $('body').hasClass('desktop-menu-open')) { + $('.nav-main').css('left', offsetX); } else { $('.nav-main').css('left', ''); } @@ -79,11 +85,22 @@ const nav = () => { // Bind action to the desktop hamburger (next to breadcrumbs) // eslint-disable-next-line $('#nav-toggle').on('click', function() { - $(this).toggleClass('open'); - const offsetX = $(this).offset().left + $(this).outerWidth(true); - const offsetY = $(this).offset().top - $(window).scrollTop(); - $('.nav-main').css('top', offsetY); - toggleDesktopMenu(offsetX); + if ($(this).hasClass('nav-toggle-async') && !$(this).hasClass('open')) { + $(this).addClass('is-loading'); + + // Demo of loading resolution + if ($('#styleguide').length > 0) { + setTimeout(() => $('#nav-toggle').trigger('loadend'), 2000); + } + } else { + toggleDesktopMenu(true); + } + }); + + // eslint-disable-next-line + $('#nav-toggle').on('loadend', function() { + $(this).removeClass('is-loading'); + toggleDesktopMenu(true); }); }; From c8207432a4a30a7cdd95e745633ac8d90f39a6bd Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 15:19:35 +0200 Subject: [PATCH 36/46] Remove unpurpose added class #265 --- .../components/pages/event-detail/event-detail.twig | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/assets/components/pages/event-detail/event-detail.twig b/assets/components/pages/event-detail/event-detail.twig index 68fea8cf5..6d541d4c7 100644 --- a/assets/components/pages/event-detail/event-detail.twig +++ b/assets/components/pages/event-detail/event-detail.twig @@ -14,12 +14,12 @@ {% block content %} -
+
-

Event title may contains several words on maybe multiple lines, who knows?

+

Event title may contains several words on maybe multiple lines, who knows?

@@ -34,7 +34,7 @@ Date - + 13.01.2018 - 12:00 → 13:30 @@ -46,9 +46,9 @@ Lieu -
+
SV 2811 -
+
EPFL
Lausanne, 1015 @@ -64,7 +64,7 @@ Prix -
Accès libre
+
Accès libre
From bb3c5849032fca00332eadd8ea3de7a884144c58 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 15:26:07 +0200 Subject: [PATCH 37/46] Add itemscope and remove unused class copied from exemples #265 --- .../content-types/event/event-listing.twig | 13 ++++++++----- assets/components/content-types/event/event.twig | 11 +++++++---- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/assets/components/content-types/event/event-listing.twig b/assets/components/content-types/event/event-listing.twig index dab645a9e..0b4b5df1b 100644 --- a/assets/components/content-types/event/event-listing.twig +++ b/assets/components/content-types/event/event-listing.twig @@ -1,20 +1,23 @@
{% for i in 1..5 %} - +
{% include '@atoms/picture/picture.twig' with {'variant':'news-thumb'} %}
-

Startup Acceleration Workshops

+

Startup Acceleration Workshops

{% block date %} - 10.01.2018 + 10.01.2018 13:00 17:30 {% endblock %} -

- {% block info %}Lieu : ArtLab EPFL
Catégorie : Événements culturel
{% endblock %} +

+ {% block info %} + Lieu : ArtLab EPFL +
Catégorie : Événements culturel
+ {% endblock %}

diff --git a/assets/components/content-types/event/event.twig b/assets/components/content-types/event/event.twig index eacd07d16..fcd7ffb97 100644 --- a/assets/components/content-types/event/event.twig +++ b/assets/components/content-types/event/event.twig @@ -1,4 +1,4 @@ -
+
{% block img -%} @@ -10,12 +10,15 @@ {% block summary %}{% endblock -%}
{% block date %} - 10.01.2018 + 10.01.2018 13:00 17:30 {% endblock %} -

- {% block info %}Lieu : ArtLab EPFL
Catégorie : Événements culturel
{% endblock %} +

+ {% block info %} + Lieu : ArtLab EPFL +
Catégorie : Événements culturel + {% endblock %}

From c498723c78b2dd824db55a350f52737f59218df0 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 15:32:29 +0200 Subject: [PATCH 38/46] Add content to datePublished #265 --- .../components/content-types/news/news-basic-teaser.twig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/assets/components/content-types/news/news-basic-teaser.twig b/assets/components/content-types/news/news-basic-teaser.twig index 5d8aadb10..bb1faabc2 100644 --- a/assets/components/content-types/news/news-basic-teaser.twig +++ b/assets/components/content-types/news/news-basic-teaser.twig @@ -1,15 +1,15 @@ -
+ {% block img %} a portrait of professor Xile Hu {% endblock %} -
+

News title

- + Recherche - Prix et récompenses + Prix et récompenses

The EPFL favors closer ties to industry leading research in order to best meet the scientific, technological and societal

From 2b408c24fb6549e7e2fa8032d31eb0d70a53bbb3 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 15:36:06 +0200 Subject: [PATCH 39/46] remove prettylink because of grey bg #265 --- assets/components/organisms/contact/contact-banner.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/organisms/contact/contact-banner.twig b/assets/components/organisms/contact/contact-banner.twig index 609b8c5ae..842bcf50e 100644 --- a/assets/components/organisms/contact/contact-banner.twig +++ b/assets/components/organisms/contact/contact-banner.twig @@ -11,7 +11,7 @@

- services.etudiants@epfl.ch + services.etudiants@epfl.ch


From eabefc419468f4c8717e0eaf0bf9a6e410561326 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 15:40:38 +0200 Subject: [PATCH 40/46] Remove mt-5 and therefor margin between blocks with bg-gray-100 #265 --- assets/components/pages/about/about.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/components/pages/about/about.twig b/assets/components/pages/about/about.twig index e7476a9e4..23e1e8c03 100644 --- a/assets/components/pages/about/about.twig +++ b/assets/components/pages/about/about.twig @@ -39,7 +39,7 @@ {% include '@content-types/news/news-latest-two.twig' %}

-
+
@@ -55,7 +55,7 @@
-
+

The next events

@@ -64,7 +64,7 @@
-
+
From f38fe556f4fcc40953e41f7c9b7626b4218f5e69 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 15:42:17 +0200 Subject: [PATCH 41/46] Add @todo quote for #159 and #265 --- assets/components/pages/about/about.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/components/pages/about/about.twig b/assets/components/pages/about/about.twig index 23e1e8c03..0618e4e1c 100644 --- a/assets/components/pages/about/about.twig +++ b/assets/components/pages/about/about.twig @@ -80,7 +80,7 @@
- Quote +
{% include '@content-types/basic-page/basic-page.twig' %} From c96ec1826fd4e78c05fc308a28411cdd102e4049 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Mon, 27 Aug 2018 15:49:05 +0200 Subject: [PATCH 42/46] =?UTF-8?q?=F0=9F=93=9D=20add=20better=20release=20d?= =?UTF-8?q?ocumentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 101584c3d..7aee9d710 100644 --- a/README.md +++ b/README.md @@ -44,12 +44,42 @@ With Docker, you can run: - `$ docker-compose up builder` same as `$ yarn build` but in containers - `$ docker-compose up server` same as `$ yarn start` but in containers -## Publish +## Create a new release + +#### 1. Git release + +This project follows the [git-flow](https://danielkummer.github.io/git-flow-cheatsheet/)'s guidelines. It means you must use the following command to start a new release from your local **`dev`** branch : + +```bash +$ git flow release start x.x.x +``` + +#### 2. Changelog & versions + +Because a new release can impact a lot of projects who use *Element*, **you must precisely list\* all the updates made on the components markup** in the **`CHANGELOG.md`**. + +**Check previous versions to give you an idea of how to write it the right way* + +Then, don't forget to **update the version number** in the `VERSION` and the `package.json` files. + +Commit everything ! + +#### 3. Complete the release + +First, you must complete the [git-flow](https://danielkummer.github.io/git-flow-cheatsheet/) release process with the following command : + +```bash +$ git flow release finish -p 'x.x.x' +``` + +Complete every commit and tag message if needed. Then put yourself in your local **`master`** branch and type the following command to **start the build publishing task** : + +```bash +$ sh publish.sh x.x.x +``` + +That's it ! If everything went fine, **the new release's build is available on the `dist/frontend`** branch thanks to you ! -1. From your local `dev` branch, `$ git flow release start x.x.x` -2. Update `VERSION`, `CHANGELOG.md` and package.json `version` -3. `$ git flow release finish -p 'x.x.x'` -4. From your local `master` branch, `$ sh publish.sh x.x.x` ## Contribute From 378d861e718ee74c1e6c09fc959c93fe9f2c9c63 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Mon, 27 Aug 2018 15:55:28 +0200 Subject: [PATCH 43/46] =?UTF-8?q?=F0=9F=93=9D=20add=20release=20doc=20proc?= =?UTF-8?q?ess?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 7aee9d710..9d78e40d9 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,10 @@ First, you must complete the [git-flow](https://danielkummer.github.io/git-flow- $ git flow release finish -p 'x.x.x' ``` +Because the previous command will normally push your release commits and tag, simply **go on Github\* and copy/paste the release's changelog content** in the release's description. (go directly using `https://github.com/epfl-idevelop/elements/releases/edit/x.x.x`) + +#### 4. Publish the builds + Complete every commit and tag message if needed. Then put yourself in your local **`master`** branch and type the following command to **start the build publishing task** : ```bash From 3145dad9225f90f7493ca7018c8b21fb2612bd4a Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 16:29:30 +0200 Subject: [PATCH 44/46] Add extra information to contact banner #265 --- assets/components/organisms/contact/contact.yml | 10 +++++++++- .../association-homepage/association-homepage.twig | 3 +-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/assets/components/organisms/contact/contact.yml b/assets/components/organisms/contact/contact.yml index 617463bc7..7f2f58485 100644 --- a/assets/components/organisms/contact/contact.yml +++ b/assets/components/organisms/contact/contact.yml @@ -5,6 +5,14 @@ variants: title: Contact bloc compact - name: banner title: Banner - wrapper: bg-gray-100 + notes: | + You can use contact Banner inside a grey wrapper as + ``` +
+
+ ... +
+
+ ``` notes: | ### Contact bloc diff --git a/assets/components/pages/association-homepage/association-homepage.twig b/assets/components/pages/association-homepage/association-homepage.twig index bb78f1889..b4d30a970 100644 --- a/assets/components/pages/association-homepage/association-homepage.twig +++ b/assets/components/pages/association-homepage/association-homepage.twig @@ -48,9 +48,8 @@ {% include '@organisms/social-feed-group/social-feed-group.twig' %}
-
-
+
{% include '@organisms/contact/contact-banner.twig' %}
{% endblock %} From 3357c7a9607302a27c6abc44f289289b8ee9bbe2 Mon Sep 17 00:00:00 2001 From: Marc Friederich Date: Mon, 27 Aug 2018 16:34:00 +0200 Subject: [PATCH 45/46] Remove classes #265 --- assets/components/content-types/event/event.twig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/assets/components/content-types/event/event.twig b/assets/components/content-types/event/event.twig index fcd7ffb97..05d52e440 100644 --- a/assets/components/content-types/event/event.twig +++ b/assets/components/content-types/event/event.twig @@ -6,13 +6,13 @@ {% endblock %} -

{% block title %}Startup Acceleration Workshops{% endblock %}

+

{% block title %}Startup Acceleration Workshops{% endblock %}

{% block summary %}{% endblock -%}
{% block date %} 10.01.2018 - 13:00 - 17:30 + 13:00 + 17:30 {% endblock %}

{% block info %} From 4535b39f947c6ba3d9476aaa754acbf63302d071 Mon Sep 17 00:00:00 2001 From: Yann Gouffon Date: Mon, 27 Aug 2018 17:13:21 +0200 Subject: [PATCH 46/46] =?UTF-8?q?=F0=9F=94=96=20bump=20version?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 44 ++++++++++++++++++++++++++++++++++++++++++++ VERSION | 2 +- package.json | 2 +- 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 925177a35..131a675df 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,50 @@ # CHANGELOG +*1.2.0* (2018-08-27) + - ⚠️ breaking markup changes + - **Organisms** : + - **[footer light:](https://epfl-idevelop.github.io/elements/#/organisms/footer)** margin improvement + - **[Contact & variants](https://epfl-idevelop.github.io/elements/#/organisms/contact):** Add schema attributes and refactor default background + - **Content-type** : + - **[science question:](https://epfl-idevelop.github.io/elements/#/content-types/science-question)** New design + - **[bachelor project](https://epfl-idevelop.github.io/elements/#/content-types/bachelor-project):** refactor bachelor-project content-type + - **[event & variants](https://epfl-idevelop.github.io/elements/#/content-types/event):** Add schema attributes + - **[news & variants](https://epfl-idevelop.github.io/elements/#/content-types/news):** Add schema attributes + - **Pages** : + - **[Association homepage](https://epfl-idevelop.github.io/elements/#/pages/association-homepage):** Update footer for the light variant + - **[Blog homepage](https://epfl-idevelop.github.io/elements/#/pages/blog-homepage):** Update footer for the light variant + - **[Event detail page](https://epfl-idevelop.github.io/elements/#/pages/event-detail):** Overhaul of the header and the content + - **[Event homepage](https://epfl-idevelop.github.io/elements/#/pages/event-homepage):** Update footer for the light variant + - **[Faculties page](https://epfl-idevelop.github.io/elements/#/pages/facultes):** Update the side navigation content + - **[Lab homepage](https://epfl-idevelop.github.io/elements/#/pages/lab-homepage):** Update the usage of the contact organism + - **[News detail page](https://epfl-idevelop.github.io/elements/#/pages/news-detail):** Add schema attributes + - **[News homepage](https://epfl-idevelop.github.io/elements/#/pages/news-homepage):** Update pagination wrapper + - **[People list page](https://epfl-idevelop.github.io/elements/#/pages/people-list):** Update the header and breadcrumb + + - ✨ New implementations + - add function for async loading toggle + - add better release documentation and process + - **Atoms** : + - add **[loader](https://epfl-idevelop.github.io/elements/#/atoms/loader)** and [browse button async state](https://epfl-idevelop.github.io/elements/#/atoms/nav-toggle) + - **Molecules** : + - **[Key number](https://epfl-idevelop.github.io/elements/#/molecules/key-number)** + - **Organisms** : + - **[Key numbers group](https://epfl-idevelop.github.io/elements/#/organisms/key-number-group)** + - **Content-types** : + - **[Study plan](https://epfl-idevelop.github.io/elements/#/content-types/study-plan)** content type + - **Pages** : + - add **[about](https://epfl-idevelop.github.io/elements/#/pages/about)** page + - add **[education](https://epfl-idevelop.github.io/elements/#/pages/education)** page + - add **[innovation](https://epfl-idevelop.github.io/elements/#/pages/innovation)** page + + - 🛠 Fixes & other + - error messages cleaning + - fix missing round option on social-icon variant + - add default profile picture for people details page #182 + - fix IE grid issue with minmax and sizes + - centralise z-index management. cleanup dead code + *1.1.2* (2018-08-20) - Add documentation new structure - Add branding pages diff --git a/VERSION b/VERSION index 45a1b3f44..26aaba0e8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.1.2 +1.2.0 diff --git a/package.json b/package.json index a8dcf4864..e7a9c67cc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "epfl-elements", - "version": "1.1.2", + "version": "1.2.0", "license": "MIT", "main": "index.html", "repository": {