diff --git a/.gitignore b/.gitignore index 9409f83e304dba6e1a32fba9c5b65f60e2a9c4e0..9723de5999060c7615e01bfb2f84999ac09d34c3 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ /dist/oidc-client-config.json *.iml /www/* +!/www/.htaccess !/www/index.html package-lock.json diff --git a/README.md b/README.md index 44a215314fa82ca07d7666bd9b7e5ea0bd6a6195..d96663b2d17cb6b9402723c5222ea05f1d858c64 100644 --- a/README.md +++ b/README.md @@ -29,3 +29,10 @@ Disclaimer: PUG could need to be installed globally as root `sudo npm i -g pug` 11. If you have no CSS when loading the project local URL, edit and save the `src/styles/index.scss` file with any kind of modifications to force the compilation. You should now be able to access the application using your preferred browser on `http://localhost:9000/` + +## Funding + + + +This software has been co-funded by the European Union. +The contents of this software are the sole responsibility of Cooperatives Europe and can in no way be taken to reflect the views of the European Union. diff --git a/documentation/EU_logos.png b/documentation/EU_logos.png new file mode 100644 index 0000000000000000000000000000000000000000..b4c55ee75d059d4d6bb213f29d32d7b218ccf9af Binary files /dev/null and b/documentation/EU_logos.png differ diff --git a/src/images/ica_logo.png b/src/images/ica_logo.png new file mode 100644 index 0000000000000000000000000000000000000000..6bd8014442a51d8935297a3cbd4f876a2466ab59 Binary files /dev/null and b/src/images/ica_logo.png differ diff --git a/src/images/logo_CE.png b/src/images/logo_CE.png new file mode 100644 index 0000000000000000000000000000000000000000..6be2030848cbd17f8c2cef9c93012e2eb265ccc4 Binary files /dev/null and b/src/images/logo_CE.png differ diff --git a/src/images/logo_UE.jpg b/src/images/logo_UE.jpg new file mode 100644 index 0000000000000000000000000000000000000000..869ba85cb9f4f6c2a5f6fe0e0c8cc5f2b7175502 Binary files /dev/null and b/src/images/logo_UE.jpg differ diff --git a/src/images/logo_coops4dev.jpg b/src/images/logo_coops4dev.jpg new file mode 100644 index 0000000000000000000000000000000000000000..bdcee2643c6dc1be9d746aa8080789f5bdc52061 Binary files /dev/null and b/src/images/logo_coops4dev.jpg differ diff --git a/src/includes/components/widgets.pug b/src/includes/components/widgets.pug index 13a2168e1837bb6795f0a53f24b0d0f3694e566d..47c41dd0ce693aae2594bf1d9fa99ba0c9e84551 100644 --- a/src/includes/components/widgets.pug +++ b/src/includes/components/widgets.pug @@ -13,9 +13,9 @@ sib-widget(name='cs-display-property') sib-widget(name='cs-steps-resources-multiple') template div.resource_resume_header - p ${value.name} - p ${value.publication_year} - p ${value.description} + p ${await value.name} + p ${await value.publication_year} + p ${await value.description} sib-widget(name='cs-steps-header') template @@ -47,20 +47,20 @@ sib-widget(name='cs-display-checkbox') sib-widget(name='cs-display-related-property') template - p #[a(href="${value.name}")] ${value.name} + p #[a(href="${value.name}")] ${await value.name} sib-widget(name='cs-display-multiple-property') template - p #[b ${label}] ${value.name} + p #[b ${label}] ${await value.name} sib-widget(name='cs-display-step-property') template - p #[b ${label} ${value.order}:] ${value.name} + p #[b ${label} ${await value.order}:] ${await value.name} sib-widget(name='cs-resource-format-name') template div - p ${value.name} + p ${await value.name} sib-widget(name='cs-resource-reviewer') template diff --git a/src/includes/entrepreneur/components/header.pug b/src/includes/entrepreneur/components/header.pug index 493c1cd6479d10fc9a915af5f453c765adb94009..93ad3117679add84318bdf58b0ac97fdc4267fbf 100644 --- a/src/includes/entrepreneur/components/header.pug +++ b/src/includes/entrepreneur/components/header.pug @@ -7,7 +7,7 @@ include menu.pug div.flex.flex_espace.flex_item_center - sib-form.languageChoic( + sib-form.languageChoice( data-src=`${endpoints.languages}` fields='languages' range-languages=`${endpoints.languages}` diff --git a/src/includes/entrepreneur/dashboard.pug b/src/includes/entrepreneur/dashboard.pug index 681e6c66e22f6abdf31d01fffc6fd39aef38baac..fcdaf362676dac5ee6903b1080c023e75cb72d79 100644 --- a/src/includes/entrepreneur/dashboard.pug +++ b/src/includes/entrepreneur/dashboard.pug @@ -43,3 +43,4 @@ section#home #entrepreneur-account-edit-confirmation(hidden).no-sidebar.container include profile/confirmation.pug + diff --git a/src/includes/entrepreneur/profile/create.pug b/src/includes/entrepreneur/profile/create.pug index a3dd7eadb3b8ed83e54dd22731ecf98123a530fc..98ad2e04a66cddff45d7db4296bf41713e858e72 100644 --- a/src/includes/entrepreneur/profile/create.pug +++ b/src/includes/entrepreneur/profile/create.pug @@ -12,16 +12,16 @@ h2.title_create=`${data.CompleteEntrepreneurAccount}` sib-form#entrepreneur_profile_creation.block_log.block_creat_count( bind-user - fields="last_name, first_name, entrepreneur_profile.organisation, account.picture, username" + fields="last_name, first_name, entrepreneurProfile.organisation, account.picture, username" - range-entrepreneur_profile.organisation=`${endpoints.organisations}` + range-entrepreneurProfile.organisation=`${endpoints.organisations}` label-first_name=`${data.Surname}` label-last_name=`${data.Name}` - label-entrepreneur_profile.organisation=`${data.Organisation}` + label-entrepreneurProfile.organisation=`${data.Organisation}` - class-entrepreneur_profile.organisation='form-label is-dark' - widget-entrepreneur_profile.organisation='sib-form-auto-completion' + class-entrepreneurProfile.organisation='form-label is-dark' + widget-entrepreneurProfile.organisation='sib-form-auto-completion' widget-username='sib-form-hidden' diff --git a/src/includes/entrepreneur/profile/detail.pug b/src/includes/entrepreneur/profile/detail.pug index eeea2edfd88d9d0e3c3e3c7bacaf1da1676c4408..dd7f8e29e369f434c7df44c2a7690dc98221ded8 100644 --- a/src/includes/entrepreneur/profile/detail.pug +++ b/src/includes/entrepreneur/profile/detail.pug @@ -25,11 +25,11 @@ div.block_list.flex sib-display#entrepreneur_info( bind-user - fields='account.picture, name, entrepreneur_profile.organisation.name, registered_on' + fields='account.picture, name, entrepreneurProfile.organisation.name, registeredOn' widget-name='cs-display-property' widget-account.picture='cs-profile-picture' - widget-entrepreneur_profile.organisation.name='cs-display-property' - widget-entrepreneur_profile.registered_on='cs-display-property' + widget-entrepreneurProfile.organisation.name='cs-display-property' + widget-entrepreneurProfile.registeredOn='cs-display-property' ) sib-display#entrepreneur_contact( diff --git a/src/includes/entrepreneur/profile/edit.pug b/src/includes/entrepreneur/profile/edit.pug index f3f90cb1256d0d746ad950c2da72b2b1ef6dda6c..0c43b55a72fc74a65608eb02f4ded15ff9a846f8 100644 --- a/src/includes/entrepreneur/profile/edit.pug +++ b/src/includes/entrepreneur/profile/edit.pug @@ -4,22 +4,22 @@ h2.title_create= data.EditYourAccount sib-form#entrepreneur_profile_edition.block_log.block_creat_count( bind-user - fields="info(last_name, first_name, username, email, entrepreneur_profile.organisation, account.picture)" - range-entrepreneur_profile.organisation=`${endpoints.organisations}` + fields="info(last_name, first_name, username, email, entrepreneurProfile.organisation, account.picture)" + range-entrepreneurProfile.organisation=`${endpoints.organisations}` label-first_name=`${data.Surname}` label-last_name=`${data.Name}` - label-entrepreneur_profile.organisation=`${data.Organisation}` + label-entrepreneurProfile.organisation=`${data.Organisation}` label-account.picture=`${data.Photo}` widget-username="sib-form-hidden" class-last_name='form-label is-dark input_big' class-first_name='form-label is-dark input_big' class-email='form-label is-dark input_big' - class-entrepreneur_profile.phone='form-label is-dark input_big' + class-entrepreneurProfile.phone='form-label is-dark input_big' - class-entrepreneur_profile.organisation='form-label is-dark input_big' - widget-entrepreneur_profile.organisation='sib-form-auto-completion' + class-entrepreneurProfile.organisation='form-label is-dark input_big' + widget-entrepreneurProfile.organisation='sib-form-auto-completion' upload-url-account.picture=`${sdn}upload/` widget-account.picture='cs-form-file-custom' diff --git a/src/includes/entrepreneur/resources/detail.pug b/src/includes/entrepreneur/resources/detail.pug index e2c18a28a06d67970007843f3ee5660e86859aef..7fe40da899834be1941b1f8f551b073465c29e0c 100644 --- a/src/includes/entrepreneur/resources/detail.pug +++ b/src/includes/entrepreneur/resources/detail.pug @@ -14,7 +14,7 @@ include ../../components/widgets bind-resources, fields='name, steps, format.name, \ submitter_info(submitter.account.picture, submitter.name, \ - submitter.mentor_profile.organisation.name, skills, uri, broken),\ + submitter.mentorProfile.organisation.name, skills, uri, broken),\ content(preview_image, iframe_link, tags),\ description, review.reviewer.account.picture, review.reviewer.name,\ copyright, specifications(\ @@ -26,7 +26,7 @@ include ../../components/widgets class-steps="steps" widget-author='cs-display-resource-property', widget-country.name='cs-display-resource-property', - widget-submitter.mentor_profile.organisation.name='cs-display-resource-property' + widget-submitter.mentorProfile.organisation.name='cs-display-resource-property' class-submitter.name="autor_ressource" class-broken="broken" widget-format.name='cs-display-resource-property' @@ -70,7 +70,7 @@ include ../../components/widgets label-uri=`${data.LinkToResource}` name-uri='original-link' label-country.name=`${data.Country}` - label-submitter.mentor_profile.organisation.name=`${data.Organisation}` + label-submitter.mentorProfile.organisation.name=`${data.Organisation}` label-author=`${data.Author}` label-submitter.name=`${data.ResourcePostedBy}` action-broken='resource-report-broken-link-entrepreneur' diff --git a/src/includes/entrepreneur/resources/list.pug b/src/includes/entrepreneur/resources/list.pug index b666e00bdcb242b956fcdd54c9f4323ee465003f..f24fb4d1b5a2dc2e5a715fe4c9c8596fc1f3b25f 100644 --- a/src/includes/entrepreneur/resources/list.pug +++ b/src/includes/entrepreneur/resources/list.pug @@ -123,7 +123,7 @@ container.block_list sib-display.resource_by_step( data-src=`${endpoints.steps}1/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -150,8 +150,6 @@ container.block_list widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -179,7 +177,7 @@ container.block_list sib-display.resource_by_step( data-src=`${endpoints.steps}2/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -206,8 +204,6 @@ container.block_list widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -233,7 +229,7 @@ container.block_list sib-display.resource_by_step( data-src=`${endpoints.steps}3/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -259,8 +255,6 @@ container.block_list widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -288,7 +282,7 @@ container.block_list sib-display.resource_by_step( data-src=`${endpoints.steps}4/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -315,8 +309,6 @@ container.block_list widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -343,7 +335,7 @@ container.block_list sib-display.resource_by_step( data-src=`${endpoints.steps}5/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -370,8 +362,6 @@ container.block_list widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -398,7 +388,7 @@ container.block_list sib-display.resource_by_step( data-src=`${endpoints.steps}6/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -425,8 +415,6 @@ container.block_list widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language diff --git a/src/includes/footer.pug b/src/includes/footer.pug new file mode 100644 index 0000000000000000000000000000000000000000..c44d671144354581e0a440007073c6fef9bc4155 --- /dev/null +++ b/src/includes/footer.pug @@ -0,0 +1,23 @@ +.container + .flex.flex_espace.flex_item_center + a.logo_footer(href='https://coopseurope.coop/') + figure.margin_bord_ecran + img(src="../images/logo_CE.png" alt="Coopstarter") + a.logo_footer(href='mentor-resource-list') + figure.margin_bord_ecran + img(src="../images/logo_coops4dev.jpg" alt="Coopstarter") + a.logo_footer(href='mentor-resource-list') + figure.flex.flex_item_center + img.textMore(src="../images/ica_logo.png" alt="Coopstarter") + div + p International + p Co-operative + p Alliance + a.logo_footer(href='mentor-resource-list') + figure.flex.flex_item_center + img.textMore(src="../images/logo_UE.jpg" alt="Coopstarter") + div + p Co-funded + p by the + p European Union + p.footer_warning.flex_item_center This software has been co-funded by the European Union. The contents of this software are the sole responsibility of Cooperatives Europe and can in no way be taken to reflect the views of the European Union. \ No newline at end of file diff --git a/src/includes/head.pug b/src/includes/head.pug index 907cc5fc4ad7e7f01b96f182cc4888633a610f1e..f56002384b93bcf66a10bee7f5c0df2fdbcfad72 100644 --- a/src/includes/head.pug +++ b/src/includes/head.pug @@ -2,7 +2,7 @@ head title CoopStarter meta(charset="utf-8") script(src="https://unpkg.com/@webcomponents/webcomponentsjs@1.2.7/webcomponents-loader.js") - script(type="module" src="https://unpkg.com/@startinblox/core@0.8") + script(type="module" src="https://unpkg.com/@startinblox/core") script(type="module" src="https://unpkg.com/@startinblox/router") script(type="module" src="https://unpkg.com/@startinblox/oidc") script(type="module" src="https://unpkg.com/@startinblox/component-conversation") @@ -10,3 +10,11 @@ head script(src="https://code.jquery.com/jquery-3.3.1.min.js" integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8=" crossorigin="anonymous") script(src="/scripts/coopstarter.js") link(rel="stylesheet" href="/styles/index.css") + script(data-default-context type="application/ld+json" ). + + { + "entrepreneurProfile": "http://happy-dev.fr/owl/#entrepreneur_profile", + "mentorProfile": "http://happy-dev.fr/owl/#mentor_profile", + "account": "http://happy-dev.fr/owl/#account" + } + \ No newline at end of file diff --git a/src/includes/mentor/browseDatabase.pug b/src/includes/mentor/browseDatabase.pug index 56b5016332076052853f35b82ddbbb972a93f56d..231cf226620d452957daa017be73edadd073510e 100644 --- a/src/includes/mentor/browseDatabase.pug +++ b/src/includes/mentor/browseDatabase.pug @@ -116,7 +116,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}1/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -143,8 +143,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -170,7 +168,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}2/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -197,8 +195,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -225,7 +221,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}3/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -252,8 +248,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -280,7 +274,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}4/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -307,8 +301,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -334,7 +326,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}5/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -361,8 +353,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -388,7 +378,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}6/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -415,8 +405,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language diff --git a/src/includes/mentor/dashboard.pug b/src/includes/mentor/dashboard.pug index 470065c84dba52aa39d6ddfafb446a56500eccb6..64fc8d9204d1ef8c71dac0c81835ca5c0dec4e5e 100644 --- a/src/includes/mentor/dashboard.pug +++ b/src/includes/mentor/dashboard.pug @@ -51,3 +51,6 @@ section#home #mentor-account-edit-confirmation(hidden).no-sidebar.container include profile/confirmation.pug + +footer#footer + include ./../footer.pug \ No newline at end of file diff --git a/src/includes/mentor/profile/create.pug b/src/includes/mentor/profile/create.pug index 318cce1d3aefee711c86c602c6d85a2be743b9b1..92c27f8f339f9d351ff92c26a1639543de13b576 100644 --- a/src/includes/mentor/profile/create.pug +++ b/src/includes/mentor/profile/create.pug @@ -12,16 +12,16 @@ h2.title_create= data.CompleteMentorAccount sib-form#mentor_profile_creation.block_log.block_creat_count( bind-user - fields="account_information(last_name, first_name, mentor_profile.organisation,\ - mentor_profile.phone, mentor_profile.languages, mentor_profile.fields),\ - about_you(header_about_you, account.picture, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\ - mentor_profile.biography, mentor_profile.skills),\ - social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter), username" + fields="account_information(last_name, first_name, mentorProfile.organisation,\ + mentorProfile.phone, mentorProfile.languages, mentorProfile.fields),\ + about_you(header_about_you, account.picture, mentorProfile.headline, mentorProfile.city, mentorProfile.country,\ + mentorProfile.biography, mentorProfile.skills),\ + social_media(header_social_media, mentorProfile.linkedin, mentorProfile.twitter), username" - range-mentor_profile.fields=`${endpoints.fields}` - range-mentor_profile.organisation=`${endpoints.organisations}` - range-mentor_profile.languages=`${endpoints.languages}` - range-mentor_profile.country=`${endpoints.countries}` + range-mentorProfile.fields=`${endpoints.fields}` + range-mentorProfile.organisation=`${endpoints.organisations}` + range-mentorProfile.languages=`${endpoints.languages}` + range-mentorProfile.country=`${endpoints.countries}` label-header_about_you=`${data.AboutYou}` label-header_social_media=`${data.SocialMedias}` @@ -31,35 +31,35 @@ sib-form#mentor_profile_creation.block_log.block_creat_count( label-first_name=`${data.Surname}` label-last_name=`${data.Name}` - label-mentor_profile.organisation=`${data.Organisation}` - label-mentor_profile.phone=`${data.PhoneNumber}` - label-mentor_profile.languages=`${data.Language}` - label-mentor_profile.fields=`${data.Field}` + label-mentorProfile.organisation=`${data.Organisation}` + label-mentorProfile.phone=`${data.PhoneNumber}` + label-mentorProfile.languages=`${data.Language}` + label-mentorProfile.fields=`${data.Field}` label-account.picture=`${data.Photo}` - label-mentor_profile.headline=`${data.Headline}` - class-mentor_profile.headline="w_75" - label-mentor_profile.city=`${data.City}` - label-mentor_profile.country=`${data.Country}` - label-mentor_profile.biography=`${data.ActivitiesMore}` - label-mentor_profile.skills=`${data.SkillForEntrepreneur}` - label-mentor_profile.linkedin="Linkedin" - label-mentor_profile.twitter="Twitter" + label-mentorProfile.headline=`${data.Headline}` + class-mentorProfile.headline="w_75" + label-mentorProfile.city=`${data.City}` + label-mentorProfile.country=`${data.Country}` + label-mentorProfile.biography=`${data.ActivitiesMore}` + label-mentorProfile.skills=`${data.SkillForEntrepreneur}` + label-mentorProfile.linkedin="Linkedin" + label-mentorProfile.twitter="Twitter" - widget-mentor_profile.skills="sib-form-textarea" - widget-mentor_profile.biography="sib-form-textarea" + widget-mentorProfile.skills="sib-form-textarea" + widget-mentorProfile.biography="sib-form-textarea" widget-username="sib-form-hidden" - class-mentor_profile.organisation='form-label is-dark' - widget-mentor_profile.organisation='sib-form-auto-completion' - widget-mentor_profile.country='sib-form-auto-completion' + class-mentorProfile.organisation='form-label is-dark' + widget-mentorProfile.organisation='sib-form-auto-completion' + widget-mentorProfile.country='sib-form-auto-completion' - class-mentor_profile.languages='form-label is-dark' - multiple-mentor_profile.languages='sib-multiple-select' - widget-mentor_profile.languages='sib-form-auto-completion' + class-mentorProfile.languages='form-label is-dark' + multiple-mentorProfile.languages='sib-multiple-select' + widget-mentorProfile.languages='sib-form-auto-completion' - class-mentor_profile.fields='form-label is-dark' - multiple-mentor_profile.fields='sib-multiple-select' - widget-mentor_profile.fields='sib-form-auto-completion' + class-mentorProfile.fields='form-label is-dark' + multiple-mentorProfile.fields='sib-multiple-select' + widget-mentorProfile.fields='sib-form-auto-completion' upload-url-account.picture=`${sdn}upload/` widget-account.picture='cs-form-file-custom' diff --git a/src/includes/mentor/profile/detail.pug b/src/includes/mentor/profile/detail.pug index 147889288bef207a6ceb811c7a8563967ce809ed..9ed918d6d5b5e74ee4cd69d8679b27254735787e 100644 --- a/src/includes/mentor/profile/detail.pug +++ b/src/includes/mentor/profile/detail.pug @@ -29,13 +29,13 @@ div.block_list.flex sib-display#mentor_info( bind-user - fields='account.picture, name, mentor_profile.headline, mentor_profile.city, mentor_profile.country.name, registered_on' + fields='account.picture, name, mentorProfile.headline, mentorProfile.city, mentorProfile.country.name, registered_on' widget-account.picture='cs-profile-picture' widget-name='cs-display-property' - widget-mentor_profile.headline='cs-display-property' - widget-mentor_profile.city='cs-display-property' - widget-mentor_profile.country.name='cs-display-property' - widget-mentor_profile.registered_on='cs-display-property' + widget-mentorProfile.headline='cs-display-property' + widget-mentorProfile.city='cs-display-property' + widget-mentorProfile.country.name='cs-display-property' + widget-mentorProfile.registered_on='cs-display-property' ) sib-display.bold( @@ -47,26 +47,26 @@ div.block_list.flex sib-display#mentor_complementary( bind-user - fields='biography_label, mentor_profile.biography, skills_label, mentor_profile.skills' + fields='biography_label, mentorProfile.biography, skills_label, mentorProfile.skills' widget-biography_label='cs-display-label' widget-skills_label='cs-display-label' label-skills_label=`${data.Skills}` label-biography_label=`${data.Activities}` - widget-mentor_profile.skills='cs-display-property' - widget-mentor_profile.biography='cs-display-property' + widget-mentorProfile.skills='cs-display-property' + widget-mentorProfile.biography='cs-display-property' ) sib-display#mentor_contact( bind-user - fields='email, mentor_profile.phone, mentor_profile.linkedin, mentor_profile.twitter' + fields='email, mentorProfile.phone, mentorProfile.linkedin, mentorProfile.twitter' label-email=`${data.Email}` class-email="contact_profil" - label-mentor_profile.phone=`${data.PhoneNumber}` - class-mentor_profile.phone="contact_profil" + label-mentorProfile.phone=`${data.PhoneNumber}` + class-mentorProfile.phone="contact_profil" widget-email='cs-display-resource-property' - widget-mentor_profile.phone='cs-display-resource-property' - widget-mentor_profile.linkedin='cs-display-link' - widget-mentor_profile.twitter='cs-display-link' - label-mentor_profile.twitter='<i class="fab fa-twitter"></i>' - label-mentor_profile.linkedin='<i class="fab fa-linkedin-in"></i>' + widget-mentorProfile.phone='cs-display-resource-property' + widget-mentorProfile.linkedin='cs-display-link' + widget-mentorProfile.twitter='cs-display-link' + label-mentorProfile.twitter='<i class="fab fa-twitter"></i>' + label-mentorProfile.linkedin='<i class="fab fa-linkedin-in"></i>' ) \ No newline at end of file diff --git a/src/includes/mentor/profile/edit.pug b/src/includes/mentor/profile/edit.pug index 71402553350b961983f41668d19d6120795467c8..41e72b2098fc51ad4dec235d83bde98ba820164d 100644 --- a/src/includes/mentor/profile/edit.pug +++ b/src/includes/mentor/profile/edit.pug @@ -4,15 +4,15 @@ h2.title_create= data.EditYourAccount sib-form#mentor_profile_edition.block_log.block_creat_count( bind-user - fields="account_information(last_name, first_name, mentor_profile.organisation,\ - mentor_profile.phone, mentor_profile.languages, mentor_profile.fields),\ - about_you(header_about_you, account.picture, mentor_profile.headline, mentor_profile.city, mentor_profile.country,\ - mentor_profile.biography, mentor_profile.skills, resources),\ - social_media(header_social_media, mentor_profile.linkedin, mentor_profile.twitter), username" + fields="account_information(last_name, first_name, mentorProfile.organisation,\ + mentorProfile.phone, mentorProfile.languages, mentorProfile.fields),\ + about_you(header_about_you, account.picture, mentorProfile.headline, mentorProfile.city, mentorProfile.country,\ + mentorProfile.biography, mentorProfile.skills, resources),\ + social_media(header_social_media, mentorProfile.linkedin, mentorProfile.twitter), username" - range-mentor_profile.fields=`${endpoints.fields}` - range-mentor_profile.organisation=`${endpoints.organisations}` - range-mentor_profile.languages=`${endpoints.languages}` + range-mentorProfile.fields=`${endpoints.fields}` + range-mentorProfile.organisation=`${endpoints.organisations}` + range-mentorProfile.languages=`${endpoints.languages}` label-header_about_you=`${data.AboutYou}` label-header_social_media=`${data.AboutYou}` @@ -22,35 +22,35 @@ sib-form#mentor_profile_edition.block_log.block_creat_count( label-first_name=`${data.Surname}` label-last_name=`${data.Name}` - label-mentor_profile.organisation=`${data.Organisation}` - label-mentor_profile.phone=`${data.PhoneNumber}` - label-mentor_profile.languages=`${data.Language}` - label-mentor_profile.fields=`${data.Field}` + label-mentorProfile.organisation=`${data.Organisation}` + label-mentorProfile.phone=`${data.PhoneNumber}` + label-mentorProfile.languages=`${data.Language}` + label-mentorProfile.fields=`${data.Field}` label-account.picture=`${data.Photo}` - label-mentor_profile.headline=`${data.Headline}` - class-mentor_profile.headline="w_75" - label-mentor_profile.city=`${data.City}` - label-mentor_profile.country=`${data.Country}` - label-mentor_profile.biography=`${data.ActivitiesMore}` - label-mentor_profile.skills=`${data.SkillForEntrepreneur}` - label-mentor_profile.linkedin="Linkedin" - label-mentor_profile.twitter="Twitter" + label-mentorProfile.headline=`${data.Headline}` + class-mentorProfile.headline="w_75" + label-mentorProfile.city=`${data.City}` + label-mentorProfile.country=`${data.Country}` + label-mentorProfile.biography=`${data.ActivitiesMore}` + label-mentorProfile.skills=`${data.SkillForEntrepreneur}` + label-mentorProfile.linkedin="Linkedin" + label-mentorProfile.twitter="Twitter" - widget-mentor_profile.skills="sib-form-textarea" - widget-mentor_profile.biography="sib-form-textarea" + widget-mentorProfile.skills="sib-form-textarea" + widget-mentorProfile.biography="sib-form-textarea" widget-username="sib-form-hidden" widget-resources="hidden-widget" - class-mentor_profile.organisation='form-label is-dark' - widget-mentor_profile.organisation='sib-form-auto-completion' + class-mentorProfile.organisation='form-label is-dark' + widget-mentorProfile.organisation='sib-form-auto-completion' - class-mentor_profile.languages='form-label is-dark' - multiple-mentor_profile.languages='sib-multiple-select' - widget-mentor_profile.languages='sib-form-auto-completion' + class-mentorProfile.languages='form-label is-dark' + multiple-mentorProfile.languages='sib-multiple-select' + widget-mentorProfile.languages='sib-form-auto-completion' - class-mentor_profile.fields='form-label is-dark' - multiple-mentor_profile.fields='sib-multiple-select' - widget-mentor_profile.fields='sib-form-auto-completion' + class-mentorProfile.fields='form-label is-dark' + multiple-mentorProfile.fields='sib-multiple-select' + widget-mentorProfile.fields='sib-form-auto-completion' upload-url-account.picture=`${sdn}upload/` widget-account.picture='cs-form-file-custom' diff --git a/src/includes/mentor/resources/detail.pug b/src/includes/mentor/resources/detail.pug index f55128fed2cd8778a33b6d89d05e92b29459d68a..5c638308c1a8ac377d5a19e9f4d99b9a30085ff8 100644 --- a/src/includes/mentor/resources/detail.pug +++ b/src/includes/mentor/resources/detail.pug @@ -15,7 +15,7 @@ include ../../components/widgets bind-resources, fields='name, steps, format.name,\ submitter_info(submitter.account.picture, submitter.name, \ - submitter.mentor_profile.organisation.name, skills, uri, broken),\ + submitter.mentorProfile.organisation.name, skills, uri, broken),\ content(preview_image, iframe_link, tags),\ description, review.reviewer.account.picture, review.reviewer.name,\ copyright, specifications(\ @@ -27,7 +27,7 @@ include ../../components/widgets class-steps="steps" widget-author='cs-display-resource-property', widget-country='cs-display-resource-property', - widget-submitter.mentor_profile.organisation.name='cs-display-resource-property' + widget-submitter.mentorProfile.organisation.name='cs-display-resource-property' class-submitter.name="autor_ressource" class-broken="broken" widget-format.name='cs-display-resource-property' @@ -70,7 +70,7 @@ include ../../components/widgets label-uri=`${data.LinkToResource}` name-uri='original-link' label-country=`${data.Country}` - label-submitter.mentor_profile.organisation.name=`${data.Organisation}` + label-submitter.mentorProfile.organisation.name=`${data.Organisation}` label-author=`${data.Author}` label-submitter.name=`${data.ResourcePostedBy}` action-broken='resource-report-broken-link-mentor' diff --git a/src/includes/mentor/resources/validate.pug b/src/includes/mentor/resources/validate.pug index ce160a326ddf13d9a8b7d41230bae9d9578d2707..92c8d5115e39aa765fdacf1c2a7c7a551142cf34 100644 --- a/src/includes/mentor/resources/validate.pug +++ b/src/includes/mentor/resources/validate.pug @@ -20,7 +20,7 @@ sib-router bind-resources, fields='name, steps, format.name,\ submitter_info(submitter.account.picture, submitter.name, \ - submitter.mentor_profile.organisation.name, skills, uri, broken),\ + submitter.mentorProfile.organisation.name, skills, uri, broken),\ content(preview_image, tags),\ description, copyright, specifications(\ header_specifications, author, country.name, language.name,\ @@ -31,7 +31,7 @@ sib-router class-steps="steps" widget-author='cs-display-resource-property', widget-country.name='cs-display-resource-property', - widget-submitter.mentor_profile.organisation.name='cs-display-resource-property' + widget-submitter.mentorProfile.organisation.name='cs-display-resource-property' class-submitter.name="autor_ressource" class-broken="broken" widget-format.name='cs-display-resource-property' @@ -70,7 +70,7 @@ sib-router label-uri=`${data.LinkToResource}` name-uri='original-link' label-country.name=`${data.Country}` - label-submitter.mentor_profile.organisation.name=`${data.Organisation}` + label-submitter.mentorProfile.organisation.name=`${data.Organisation}` label-author=`${data.Author}` label-submitter.name=`${data.ResourcePostedBy}` action-broken='resource-report-broken-link-mentor' diff --git a/src/includes/public/components/header.pug b/src/includes/public/components/header.pug index dd4fd78f828e80818f6dd91ef55836293adfe212..764b71c855ded83bbb042653d96eb19cc9b52133 100644 --- a/src/includes/public/components/header.pug +++ b/src/includes/public/components/header.pug @@ -7,7 +7,7 @@ include menu.pug div.flex.flex_espace.flex_item_center - sib-form.languageChoic( + sib-form.languageChoice( data-src=`${endpoints.languages}` fields='languages' range-languages=`${endpoints.languages}` diff --git a/src/includes/public/resources/detail.pug b/src/includes/public/resources/detail.pug index 541b6251a415af47b66c190abc1875dcb97d54bd..596fcb99b7b0b9b4a0e256430d2c3599d85b82c6 100644 --- a/src/includes/public/resources/detail.pug +++ b/src/includes/public/resources/detail.pug @@ -15,7 +15,7 @@ include ../../components/widgets bind-resources, fields='name, steps, format.name,\ submitter_info(submitter.account.picture, submitter.name, \ - submitter.mentor_profile.organisation.name, skills, uri, broken),\ + submitter.mentorProfile.organisation.name, skills, uri, broken),\ content(preview_image, iframe_link, tags),\ description, review.reviewer.account.picture, review.reviewer.name,\ copyright, specifications(\ @@ -27,7 +27,7 @@ include ../../components/widgets class-steps="steps" widget-author='cs-display-resource-property', widget-country.name='cs-display-resource-property', - widget-submitter.mentor_profile.organisation.name='cs-display-resource-property' + widget-submitter.mentorProfile.organisation.name='cs-display-resource-property' class-submitter.name="autor_ressource" class-broken="broken" widget-format.name='cs-display-resource-property' @@ -70,7 +70,7 @@ include ../../components/widgets label-uri=`${data.LinkToResource}` name-uri='original-link' label-country=`${data.Country}` - label-submitter.mentor_profile.organisation.name=`${data.Organisation}` + label-submitter.mentorProfile.organisation.name=`${data.Organisation}` label-author=`${data.Author}` label-submitter.name=`${data.ResourcePostedBy}` action-broken='resource-report-broken-link-public' diff --git a/src/includes/public/resources/list.pug b/src/includes/public/resources/list.pug index c8251099c32f182102df2c26f4bf13f557b724cf..d0d8e49c1f33864e2e38d4f38f29a359fca2719f 100644 --- a/src/includes/public/resources/list.pug +++ b/src/includes/public/resources/list.pug @@ -108,7 +108,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}1/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -135,8 +135,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -164,7 +162,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}2/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -191,8 +189,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -221,7 +217,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}3/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -248,8 +244,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -277,7 +271,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}4/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -304,8 +298,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -333,7 +325,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}5/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -360,8 +352,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language @@ -388,7 +378,7 @@ container.block_list.flex.flex_espace sib-display.resource_by_step( data-src=`${endpoints.steps}6/resources/validated/`, - fields='name, author, format.name, publication_year, description, like, dislike, country, language, fields', + fields='name, author, format.name, publication_year, description, country, language, fields', search-fields='search_for_a_resource(name), more_criterias_hidden(format, publication_year, country, language, fields, type)', search-range-format=`${endpoints.formats}` search-range-language=`${endpoints.languages}` @@ -415,8 +405,6 @@ container.block_list.flex.flex_espace widget-language="hidden-widget" widget-author="hidden-widget" widget-format.name='cs-display-resource-property' - widget-like='fake-like' - widget-dislike='fake-dislike' label-format.name='' label-language='' multiple-language diff --git a/src/scripts/coopstarter.js b/src/scripts/coopstarter.js index bed5c99e10cfe98531f44874380aba7050aff864..599e36fff089f4013c5373d08e6402e04316b11b 100644 --- a/src/scripts/coopstarter.js +++ b/src/scripts/coopstarter.js @@ -325,7 +325,6 @@ function manageLogoutButton() { } } - /** * Manage the select language */ diff --git a/src/styles/index.scss b/src/styles/index.scss index 249599fc8bd332679bd8199f18e66ba97917ba8f..44dfb453603426e27087863d26ecdf8d382ee01d 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -760,6 +760,50 @@ header span.ico_search{ header#header sib-form-dropdown>label>div { display: none; } +/* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXX footer XXXXXXXXXXXXXXXXXXXXXXXXXXX +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/ +footer#footer{ + background:var(--bg-block); + height: auto; + box-shadow: 0 2px 10px 0 rgba(0,0,0,0.14); + position: absolute; + padding-top: 2rem; + bottom: 0; + width: 100%; +} +.logo_footer{ + width: 22rem; + text-decoration: none; +} +.textMore{ + width: 40%; +} + +.logo_footer p{ + margin: 1px; + font-weight: bolder; + color:black; + font-size: small; +} + + +.logo_footer div{ + margin-left: 13px; +} + +.footer_warning{ + padding: 20px; + text-align: center; + margin: 0 auto; + line-height: 3rem; + width: 70%; + +} + + + /* XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX @@ -1753,6 +1797,9 @@ XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX*/ margin-top: 0; } } + #footer { + display : none + } } @media screen and (max-width: 920px) { /* Partie mentor */ diff --git a/translation/fr.yml b/translation/fr.yml index 2e78a58824c607095befcfda17ce11a0d7f109e8..183c08995e3094d760176529fc457ef66072eed8 100644 --- a/translation/fr.yml +++ b/translation/fr.yml @@ -9,7 +9,7 @@ welcome : Bienvenue dans notre répertoire international de ressources pour les generalLabel : Index international de ressources pour les mentors et les entrepreneurs coopératifs PostResource: Poster une nouvelle ressource BrowseDatabase: Rechercher dans la base de donnée -ResourcesRequestingValidation: Ressources demandant une validation +ResourcesRequestingValidation: Ressources à valider RequestedResources: Ressources demandées HistoryResources : Historique de vos ressources ConnectKnowledgeBase : Connexion à la base de connaissances diff --git a/www/.htaccess b/www/.htaccess new file mode 100644 index 0000000000000000000000000000000000000000..7894ed6ad8d725c03e06892c76e6f0a0c8964c57 --- /dev/null +++ b/www/.htaccess @@ -0,0 +1,5 @@ +<IfModule mod_rewrite.c> + RewriteEngine On + RewriteCond %{REQUEST_FILENAME} !-f + RewriteRule ^([a-z]{2})/.*$ "$1/index.html" [L] +</IfModule>