Browse Source

reset dossiers, added config page documents en téléchargement

bach 4 months ago
parent
commit
9d5d3b60f4
33 changed files with 302 additions and 91 deletions
  1. 1 0
      composer.json
  2. 65 1
      composer.lock
  3. 30 0
      config/sync/block.block.reha_config_pages_3.yml
  4. 17 0
      config/sync/config_pages.type.documents_en_telechargement.yml
  5. 34 0
      config/sync/core.entity_form_display.config_pages.documents_en_telechargement.default.yml
  6. 0 21
      config/sync/core.entity_form_display.node.site.default.yml
  7. 10 1
      config/sync/core.entity_form_display.paragraph.dossier.default.yml
  8. 25 0
      config/sync/core.entity_view_display.config_pages.documents_en_telechargement.default.yml
  9. 0 11
      config/sync/core.entity_view_display.node.site.default.yml
  10. 0 2
      config/sync/core.entity_view_display.node.site.home_block.yml
  11. 0 2
      config/sync/core.entity_view_display.node.site.site_partenaire.yml
  12. 0 2
      config/sync/core.entity_view_display.node.site.teaser.yml
  13. 12 3
      config/sync/core.entity_view_display.paragraph.dossier.default.yml
  14. 1 1
      config/sync/core.extension.yml
  15. 6 6
      config/sync/field.field.config_pages.documents_en_telechargement.field_dossiers.yml
  16. 1 1
      config/sync/field.field.paragraph.dossier.field_dossier.yml
  17. 19 0
      config/sync/field.field.paragraph.dossier.field_nom_du_dossier.yml
  18. 4 8
      config/sync/field.storage.config_pages.field_dossiers.yml
  19. 21 0
      config/sync/field.storage.paragraph.field_nom_du_dossier.yml
  20. 2 4
      config/sync/user.role.admin.yml
  21. 2 4
      config/sync/user.role.collaborateur.yml
  22. 2 4
      config/sync/user.role.editor.yml
  23. 29 16
      config/sync/views.view.current_user_block.yml
  24. BIN
      private/1/dna-2024-9ggokaq (3).pdf
  25. BIN
      private/1/pea-a70i.pdf
  26. BIN
      private/4/VL53L0X.PDF
  27. BIN
      private/4/dna-2024-9ggokaq (3).pdf
  28. BIN
      private/4/noun-download-6001805.pdf
  29. BIN
      private/47/109012.pdf
  30. BIN
      private/47/VL53L0X.PDF
  31. BIN
      private/47/dna-2024-9ggokaq (3).pdf
  32. 12 3
      web/themes/custom/reha/dist/css/bundle.css
  33. 9 1
      web/themes/custom/reha/scss/global/_layout.scss

+ 1 - 0
composer.json

@@ -20,6 +20,7 @@
         "drupal/admin_theme": "^1.0",
         "drupal/advanced_email_validation": "^1.1",
         "drupal/amswap": "^3.2",
+        "drupal/autotitle": "^1.3",
         "drupal/conditional_fields": "^4.0@alpha",
         "drupal/config_pages": "^2.15",
         "drupal/content_as_config": "^1.0",

+ 65 - 1
composer.lock

@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "2d3c845404e0f68351dfe3c7c862a54e",
+    "content-hash": "cfd68a5361ed27b1abf9cce98fdbf04a",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -2261,6 +2261,70 @@
                 "source": "https://git.drupalcode.org/project/autologout"
             }
         },
+        {
+            "name": "drupal/autotitle",
+            "version": "1.3.0",
+            "source": {
+                "type": "git",
+                "url": "https://git.drupalcode.org/project/autotitle.git",
+                "reference": "8.x-1.3"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://ftp.drupal.org/files/projects/autotitle-8.x-1.3.zip",
+                "reference": "8.x-1.3",
+                "shasum": "b11ce6bd0f87a1ecc9ca3c93df8f3271d3b99277"
+            },
+            "require": {
+                "drupal/core": "^8.0 || ^9.0 || ^10"
+            },
+            "type": "drupal-module",
+            "extra": {
+                "drupal": {
+                    "version": "8.x-1.3",
+                    "datestamp": "1707520242",
+                    "security-coverage": {
+                        "status": "covered",
+                        "message": "Covered by Drupal's security advisory policy"
+                    }
+                }
+            },
+            "notification-url": "https://packages.drupal.org/8/downloads",
+            "license": [
+                "GPL-2.0-or-later"
+            ],
+            "authors": [
+                {
+                    "name": "Mariusz Andrzejewski (sayco)",
+                    "homepage": "https://www.drupal.org/u/sayco",
+                    "role": "Maintainer"
+                },
+                {
+                    "name": "Marco Fernandes",
+                    "homepage": "https://www.drupal.org/u/marcofernandes",
+                    "role": "maintainer"
+                },
+                {
+                    "name": "Roberto Ornelas",
+                    "homepage": "https://www.drupal.org/u/roborn",
+                    "role": "maintainer"
+                },
+                {
+                    "name": "sayco",
+                    "homepage": "https://www.drupal.org/user/3517832"
+                },
+                {
+                    "name": "thorandre",
+                    "homepage": "https://www.drupal.org/user/223878"
+                }
+            ],
+            "description": "Provides a way to automatically generate the title of a node based on its fields.",
+            "homepage": "https://www.drupal.org/project/autotitle",
+            "support": {
+                "source": "https://git.drupalcode.org/project/autotitle",
+                "issues": "https://www.drupal.org/project/issues/autotitle"
+            }
+        },
         {
             "name": "drupal/better_exposed_filters",
             "version": "6.0.3",

+ 30 - 0
config/sync/block.block.reha_config_pages_3.yml

@@ -0,0 +1,30 @@
+uuid: 209ab91d-0f6f-44a8-95a3-7f7d0a9f3e4b
+langcode: fr
+status: true
+dependencies:
+  module:
+    - config_pages
+    - user
+  theme:
+    - reha
+id: reha_config_pages_3
+theme: reha
+region: sidebar_second
+weight: 0
+provider: null
+plugin: config_pages_block
+settings:
+  id: config_pages_block
+  label: 'Documents en téléchargement'
+  label_display: visible
+  provider: config_pages
+  config_page_type: documents_en_telechargement
+  config_page_view_mode: full
+visibility:
+  user_role:
+    id: user_role
+    negate: false
+    context_mapping:
+      user: '@user.current_user_context:current_user'
+    roles:
+      collaborateur: collaborateur

+ 17 - 0
config/sync/config_pages.type.documents_en_telechargement.yml

@@ -0,0 +1,17 @@
+uuid: 52a1924b-6fb1-445a-80e1-181520342263
+langcode: fr
+status: true
+dependencies: {  }
+id: documents_en_telechargement
+label: 'Documents en téléchargement'
+token: true
+context:
+  show_warning: true
+  group:
+    language: false
+  fallback:
+    language: ''
+menu:
+  path: /edit/contenusentelechargement
+  weight: 0
+  description: ''

+ 34 - 0
config/sync/core.entity_form_display.config_pages.documents_en_telechargement.default.yml

@@ -0,0 +1,34 @@
+uuid: 1cd937cd-f7dd-4078-843d-d6345e217438
+langcode: fr
+status: true
+dependencies:
+  config:
+    - config_pages.type.documents_en_telechargement
+    - field.field.config_pages.documents_en_telechargement.field_dossiers
+  module:
+    - paragraphs
+id: config_pages.documents_en_telechargement.default
+targetEntityType: config_pages
+bundle: documents_en_telechargement
+mode: default
+content:
+  field_dossiers:
+    type: paragraphs
+    weight: 0
+    region: content
+    settings:
+      title: Paragraphe
+      title_plural: Paragraphs
+      edit_mode: open
+      closed_mode: summary
+      autocollapse: none
+      closed_mode_threshold: 0
+      add_mode: dropdown
+      form_display_mode: default
+      default_paragraph_type: ''
+      features:
+        collapse_edit_all: collapse_edit_all
+        duplicate: duplicate
+    third_party_settings: {  }
+hidden:
+  label: true

+ 0 - 21
config/sync/core.entity_form_display.node.site.default.yml

@@ -7,7 +7,6 @@ dependencies:
     - field.field.node.site.field_adresse_site
     - field.field.node.site.field_architecte
     - field.field.node.site.field_date_de_construction
-    - field.field.node.site.field_dossiers
     - field.field.node.site.field_fichiers
     - field.field.node.site.field_image
     - field.field.node.site.field_lettre_de_site
@@ -23,7 +22,6 @@ dependencies:
     - field_group
     - file
     - image
-    - paragraphs
     - path
     - text
 third_party_settings:
@@ -155,25 +153,6 @@ content:
     region: content
     settings: {  }
     third_party_settings: {  }
-  field_dossiers:
-    type: paragraphs
-    weight: 26
-    region: content
-    settings:
-      title: Paragraphe
-      title_plural: Paragraphs
-      edit_mode: open
-      closed_mode: summary
-      autocollapse: none
-      closed_mode_threshold: 0
-      add_mode: dropdown
-      form_display_mode: default
-      default_paragraph_type: _none
-      features:
-        add_above: '0'
-        collapse_edit_all: collapse_edit_all
-        duplicate: '0'
-    third_party_settings: {  }
   field_fichiers:
     type: file_generic
     weight: 5

+ 10 - 1
config/sync/core.entity_form_display.paragraph.dossier.default.yml

@@ -5,6 +5,7 @@ dependencies:
   config:
     - field.field.paragraph.dossier.field_dossier
     - field.field.paragraph.dossier.field_fichiers
+    - field.field.paragraph.dossier.field_nom_du_dossier
     - paragraphs.paragraphs_type.dossier
   module:
     - file
@@ -16,7 +17,7 @@ mode: default
 content:
   field_dossier:
     type: paragraphs
-    weight: 0
+    weight: 2
     region: content
     settings:
       title: Paragraphe
@@ -40,6 +41,14 @@ content:
     settings:
       progress_indicator: throbber
     third_party_settings: {  }
+  field_nom_du_dossier:
+    type: string_textfield
+    weight: 0
+    region: content
+    settings:
+      size: 60
+      placeholder: ''
+    third_party_settings: {  }
 hidden:
   created: true
   status: true

+ 25 - 0
config/sync/core.entity_view_display.config_pages.documents_en_telechargement.default.yml

@@ -0,0 +1,25 @@
+uuid: 7a5b4208-5208-4cb6-84ca-89c4ef602be4
+langcode: fr
+status: true
+dependencies:
+  config:
+    - config_pages.type.documents_en_telechargement
+    - field.field.config_pages.documents_en_telechargement.field_dossiers
+  module:
+    - entity_reference_revisions
+id: config_pages.documents_en_telechargement.default
+targetEntityType: config_pages
+bundle: documents_en_telechargement
+mode: default
+content:
+  field_dossiers:
+    type: entity_reference_revisions_entity_view
+    label: visually_hidden
+    settings:
+      view_mode: default
+      link: ''
+    third_party_settings: {  }
+    weight: 0
+    region: content
+hidden:
+  search_api_excerpt: true

+ 0 - 11
config/sync/core.entity_view_display.node.site.default.yml

@@ -7,7 +7,6 @@ dependencies:
     - field.field.node.site.field_adresse_site
     - field.field.node.site.field_architecte
     - field.field.node.site.field_date_de_construction
-    - field.field.node.site.field_dossiers
     - field.field.node.site.field_fichiers
     - field.field.node.site.field_image
     - field.field.node.site.field_lettre_de_site
@@ -18,7 +17,6 @@ dependencies:
   module:
     - address
     - datetime_range
-    - entity_reference_revisions
     - file
     - image_field_caption
     - text
@@ -60,15 +58,6 @@ content:
     third_party_settings: {  }
     weight: 3
     region: content
-  field_dossiers:
-    type: entity_reference_revisions_entity_view
-    label: above
-    settings:
-      view_mode: default
-      link: ''
-    third_party_settings: {  }
-    weight: 7
-    region: content
   field_fichiers:
     type: file_default
     label: visually_hidden

+ 0 - 2
config/sync/core.entity_view_display.node.site.home_block.yml

@@ -8,7 +8,6 @@ dependencies:
     - field.field.node.site.field_adresse_site
     - field.field.node.site.field_architecte
     - field.field.node.site.field_date_de_construction
-    - field.field.node.site.field_dossiers
     - field.field.node.site.field_fichiers
     - field.field.node.site.field_image
     - field.field.node.site.field_lettre_de_site
@@ -71,7 +70,6 @@ content:
 hidden:
   body: true
   field_date_de_construction: true
-  field_dossiers: true
   field_fichiers: true
   field_lettre_de_site: true
   field_operation: true

+ 0 - 2
config/sync/core.entity_view_display.node.site.site_partenaire.yml

@@ -8,7 +8,6 @@ dependencies:
     - field.field.node.site.field_adresse_site
     - field.field.node.site.field_architecte
     - field.field.node.site.field_date_de_construction
-    - field.field.node.site.field_dossiers
     - field.field.node.site.field_fichiers
     - field.field.node.site.field_image
     - field.field.node.site.field_lettre_de_site
@@ -50,7 +49,6 @@ content:
 hidden:
   body: true
   field_date_de_construction: true
-  field_dossiers: true
   field_fichiers: true
   field_image: true
   field_numero_site: true

+ 0 - 2
config/sync/core.entity_view_display.node.site.teaser.yml

@@ -8,7 +8,6 @@ dependencies:
     - field.field.node.site.field_adresse_site
     - field.field.node.site.field_architecte
     - field.field.node.site.field_date_de_construction
-    - field.field.node.site.field_dossiers
     - field.field.node.site.field_fichiers
     - field.field.node.site.field_image
     - field.field.node.site.field_lettre_de_site
@@ -71,7 +70,6 @@ content:
 hidden:
   body: true
   field_date_de_construction: true
-  field_dossiers: true
   field_fichiers: true
   field_lettre_de_site: true
   field_operation: true

+ 12 - 3
config/sync/core.entity_view_display.paragraph.dossier.default.yml

@@ -5,6 +5,7 @@ dependencies:
   config:
     - field.field.paragraph.dossier.field_dossier
     - field.field.paragraph.dossier.field_fichiers
+    - field.field.paragraph.dossier.field_nom_du_dossier
     - paragraphs.paragraphs_type.dossier
   module:
     - entity_reference_revisions
@@ -16,19 +17,27 @@ mode: default
 content:
   field_dossier:
     type: entity_reference_revisions_entity_view
-    label: above
+    label: visually_hidden
     settings:
       view_mode: default
       link: ''
     third_party_settings: {  }
-    weight: 1
+    weight: 2
     region: content
   field_fichiers:
     type: file_default
-    label: above
+    label: visually_hidden
     settings:
       use_description_as_link_text: true
     third_party_settings: {  }
+    weight: 1
+    region: content
+  field_nom_du_dossier:
+    type: string
+    label: visually_hidden
+    settings:
+      link_to_entity: false
+    third_party_settings: {  }
     weight: 0
     region: content
 hidden:

+ 1 - 1
config/sync/core.extension.yml

@@ -13,6 +13,7 @@ module:
   amswap: 0
   audiofield: 0
   autocomplete_deluxe: 0
+  autotitle: 0
   ban: 0
   better_exposed_filters: 0
   block: 0
@@ -55,7 +56,6 @@ module:
   entity_reference_revisions: 0
   field: 0
   field_group: 0
-  field_permissions: 0
   field_ui: 0
   file: 0
   filter: 0

+ 6 - 6
config/sync/field.field.node.site.field_dossiers.yml → config/sync/field.field.config_pages.documents_en_telechargement.field_dossiers.yml

@@ -1,17 +1,17 @@
-uuid: 2c4bd31e-60d8-4fcc-9624-30e545cf23b9
+uuid: ace2ba43-b55a-4771-913f-60f5aaca027a
 langcode: fr
 status: true
 dependencies:
   config:
-    - field.storage.node.field_dossiers
-    - node.type.site
+    - config_pages.type.documents_en_telechargement
+    - field.storage.config_pages.field_dossiers
     - paragraphs.paragraphs_type.dossier
   module:
     - entity_reference_revisions
-id: node.site.field_dossiers
+id: config_pages.documents_en_telechargement.field_dossiers
 field_name: field_dossiers
-entity_type: node
-bundle: site
+entity_type: config_pages
+bundle: documents_en_telechargement
 label: Dossiers
 description: ''
 required: false

+ 1 - 1
config/sync/field.field.paragraph.dossier.field_dossier.yml

@@ -11,7 +11,7 @@ id: paragraph.dossier.field_dossier
 field_name: field_dossier
 entity_type: paragraph
 bundle: dossier
-label: Dossier
+label: 'Sous Dossier'
 description: ''
 required: false
 translatable: false

+ 19 - 0
config/sync/field.field.paragraph.dossier.field_nom_du_dossier.yml

@@ -0,0 +1,19 @@
+uuid: 9962ebbf-2d7c-4e21-8919-dfe4c4555a00
+langcode: fr
+status: true
+dependencies:
+  config:
+    - field.storage.paragraph.field_nom_du_dossier
+    - paragraphs.paragraphs_type.dossier
+id: paragraph.dossier.field_nom_du_dossier
+field_name: field_nom_du_dossier
+entity_type: paragraph
+bundle: dossier
+label: 'Nom du dossier'
+description: ''
+required: false
+translatable: false
+default_value: {  }
+default_value_callback: ''
+settings: {  }
+field_type: string

+ 4 - 8
config/sync/field.storage.node.field_dossiers.yml → config/sync/field.storage.config_pages.field_dossiers.yml

@@ -1,18 +1,14 @@
-uuid: 46490fd7-c63f-4bfb-87ad-ae06186f2217
+uuid: 02de0646-5489-4d54-bd15-457a4891e3ff
 langcode: fr
 status: true
 dependencies:
   module:
+    - config_pages
     - entity_reference_revisions
-    - field_permissions
-    - node
     - paragraphs
-third_party_settings:
-  field_permissions:
-    permission_type: custom
-id: node.field_dossiers
+id: config_pages.field_dossiers
 field_name: field_dossiers
-entity_type: node
+entity_type: config_pages
 type: entity_reference_revisions
 settings:
   target_type: paragraph

+ 21 - 0
config/sync/field.storage.paragraph.field_nom_du_dossier.yml

@@ -0,0 +1,21 @@
+uuid: fce6d867-0bf1-42c5-9199-6fd72a26709b
+langcode: fr
+status: true
+dependencies:
+  module:
+    - paragraphs
+id: paragraph.field_nom_du_dossier
+field_name: field_nom_du_dossier
+entity_type: paragraph
+type: string
+settings:
+  max_length: 255
+  case_sensitive: false
+  is_ascii: false
+module: core
+locked: false
+cardinality: 1
+translatable: true
+indexes: {  }
+persist_with_no_fields: false
+custom_storage: false

+ 2 - 4
config/sync/user.role.admin.yml

@@ -14,7 +14,6 @@ dependencies:
     - config_pages
     - content_lock
     - content_translation
-    - field_permissions
     - file
     - filter
     - menu_admin_per_menu
@@ -41,7 +40,6 @@ permissions:
   - 'change own username'
   - 'create actualite content'
   - 'create content translations'
-  - 'create field_dossiers'
   - 'create ressource content'
   - 'create site content'
   - 'delete any actualite content'
@@ -57,7 +55,7 @@ permissions:
   - 'edit any site content'
   - 'edit any static content'
   - 'edit contact config page entity'
-  - 'edit field_dossiers'
+  - 'edit documents_en_telechargement config page entity'
   - 'edit mentions_legales config page entity'
   - 'edit own actualite content'
   - 'edit own ressource content'
@@ -87,7 +85,7 @@ permissions:
   - 'use text format wysiwyg'
   - 'view actualite revisions'
   - 'view config_pages entity'
-  - 'view field_dossiers'
+  - 'view documents_en_telechargement config page entity'
   - 'view ressource revisions'
   - 'view site revisions'
   - 'view static revisions'

+ 2 - 4
config/sync/user.role.collaborateur.yml

@@ -5,14 +5,12 @@ dependencies:
   config:
     - node.type.site
   module:
-    - field_permissions
+    - config_pages
     - node
 id: collaborateur
 label: Collaborateur
 weight: -4
 is_admin: null
 permissions:
-  - 'create field_dossiers'
   - 'edit any site content'
-  - 'edit own field_dossiers'
-  - 'view own field_dossiers'
+  - 'view documents_en_telechargement config page entity'

+ 2 - 4
config/sync/user.role.editor.yml

@@ -12,7 +12,6 @@ dependencies:
     - actions_permissions
     - config_pages
     - content_lock
-    - field_permissions
     - filter
     - node
     - notify
@@ -31,7 +30,6 @@ permissions:
   - 'administer nodes'
   - 'break content lock'
   - 'create actualite content'
-  - 'create field_dossiers'
   - 'create ressource content'
   - 'create site content'
   - 'delete site revisions'
@@ -40,7 +38,7 @@ permissions:
   - 'edit any site content'
   - 'edit any static content'
   - 'edit contact config page entity'
-  - 'edit field_dossiers'
+  - 'edit documents_en_telechargement config page entity'
   - 'edit mentions_legales config page entity'
   - 'edit own actualite content'
   - 'edit own ressource content'
@@ -56,7 +54,7 @@ permissions:
   - 'revert static revisions'
   - 'use text format wysiwyg'
   - 'view actualite revisions'
-  - 'view field_dossiers'
+  - 'view documents_en_telechargement config page entity'
   - 'view ressource revisions'
   - 'view site revisions'
   - 'view static revisions'

+ 29 - 16
config/sync/views.view.current_user_block.yml

@@ -8,11 +8,15 @@ dependencies:
     - field.storage.user.field_qualite
     - field.storage.user.field_structure
     - field.storage.user.field_telephone
+    - user.role.admin
+    - user.role.collaborateur
+    - user.role.editor
+    - user.role.root
   module:
     - phone_number
     - user
 id: current_user_block
-label: 'Current user block'
+label: 'Current user operations block'
 module: views
 description: ''
 tag: ''
@@ -25,7 +29,7 @@ display:
     display_plugin: default
     position: 0
     display_options:
-      title: 'Current user block'
+      title: 'Current user operations block'
       fields:
         field_prenom:
           id: field_prenom
@@ -521,17 +525,6 @@ display:
           break_phrase: false
           not: false
       filters:
-        status:
-          id: status
-          table: users_field_data
-          field: status
-          entity_type: user
-          entity_field: status
-          plugin_id: boolean
-          value: '1'
-          group: 1
-          expose:
-            operator: ''
         roles_target_id:
           id: roles_target_id
           table: user__roles
@@ -542,8 +535,12 @@ display:
           entity_type: user
           entity_field: roles
           plugin_id: user_roles
-          operator: empty
-          value: {  }
+          operator: not
+          value:
+            admin: admin
+            root: root
+            editor: editor
+            collaborateur: collaborateur
           group: 1
           exposed: false
           expose:
@@ -574,6 +571,21 @@ display:
             default_group_multiple: {  }
             group_items: {  }
           reduce_duplicates: false
+        status:
+          id: status
+          table: users_field_data
+          field: status
+          entity_type: user
+          entity_field: status
+          plugin_id: boolean
+          value: '1'
+          group: 1
+          expose:
+            operator: ''
+      filter_groups:
+        operator: AND
+        groups:
+          1: AND
       style:
         type: default
       row:
@@ -637,10 +649,11 @@ display:
         - 'config:field.storage.user.field_telephone'
   block_1:
     id: block_1
-    display_title: Block
+    display_title: 'User operations Block'
     display_plugin: block
     position: 1
     display_options:
+      display_description: ''
       display_extenders:
         matomo:
           enabled: false

BIN
private/1/dna-2024-9ggokaq (3).pdf


BIN
private/1/pea-a70i.pdf


BIN
private/4/VL53L0X.PDF


BIN
private/4/dna-2024-9ggokaq (3).pdf


BIN
private/4/noun-download-6001805.pdf


BIN
private/47/109012.pdf


BIN
private/47/VL53L0X.PDF


BIN
private/47/dna-2024-9ggokaq (3).pdf


+ 12 - 3
web/themes/custom/reha/dist/css/bundle.css

@@ -191,7 +191,7 @@
   margin: 0;
 }
 
-aside {
+aside.layout-sidebar-first {
   width: 20%;
   order: 1;
   margin-top: 5rem;
@@ -199,18 +199,27 @@ aside {
   margin-right: 1rem;
 }
 @media (max-width: 891px) {
-  aside {
+  aside.layout-sidebar-first {
     margin-left: 5%;
     margin-top: 9rem;
   }
 }
 @media (max-width: 500px) {
-  aside {
+  aside.layout-sidebar-first {
     width: 80%;
     margin-top: 3rem;
   }
 }
 
+aside.layout-sidebar-second {
+  position: fixed;
+  right: 0;
+  background-color: #fff;
+  height: 100vh;
+  padding: 1em;
+  z-index: 100;
+}
+
 main {
   width: 100%;
   display: flex;

+ 9 - 1
web/themes/custom/reha/scss/global/_layout.scss

@@ -52,7 +52,7 @@ $width-menu-slidedown : 550px;
         
 }
 
-aside{
+aside.layout-sidebar-first{
     width: 20%;
     order: 1;
     margin-top: 5rem;
@@ -67,6 +67,14 @@ aside{
         margin-top: 3rem;
     }
 }
+aside.layout-sidebar-second{
+    position: fixed;
+    right:0;
+    background-color: #fff;
+    height: 100vh;
+    padding: 1em;
+    z-index: 100;
+}
 main{
     width: 100%;
     display: flex;