misc block and menus
This commit is contained in:
		@@ -1,6 +1,6 @@
 | 
			
		||||
uuid: 98cced88-96ab-4187-bf85-9d9c6d087dad
 | 
			
		||||
langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
status: false
 | 
			
		||||
dependencies:
 | 
			
		||||
  content:
 | 
			
		||||
    - 'block_content:logo_block:68fcdff8-7b8c-4414-a84b-6ce173b5dc8b'
 | 
			
		||||
 
 | 
			
		||||
@@ -26,5 +26,5 @@ settings:
 | 
			
		||||
visibility:
 | 
			
		||||
  request_path:
 | 
			
		||||
    id: request_path
 | 
			
		||||
    pages: '<front>'
 | 
			
		||||
    pages: ''
 | 
			
		||||
    negate: true
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
uuid: eba5d343-685c-4271-9243-cf6c308d2a60
 | 
			
		||||
langcode: fr
 | 
			
		||||
status: true
 | 
			
		||||
status: false
 | 
			
		||||
dependencies:
 | 
			
		||||
  content:
 | 
			
		||||
    - 'block_content:logo_block:52af228a-19dd-4eb5-bce4-6d7b3e4acff1'
 | 
			
		||||
 
 | 
			
		||||
@@ -167,7 +167,7 @@ menus:
 | 
			
		||||
    uri: 'internal:/node/218'
 | 
			
		||||
    link_title: ''
 | 
			
		||||
    description: null
 | 
			
		||||
    enabled: '1'
 | 
			
		||||
    enabled: '0'
 | 
			
		||||
    expanded: '0'
 | 
			
		||||
    weight: '-49'
 | 
			
		||||
    langcode: fr
 | 
			
		||||
@@ -179,7 +179,7 @@ menus:
 | 
			
		||||
    uri: 'internal:/node/216'
 | 
			
		||||
    link_title: ''
 | 
			
		||||
    description: null
 | 
			
		||||
    enabled: '1'
 | 
			
		||||
    enabled: '0'
 | 
			
		||||
    expanded: '0'
 | 
			
		||||
    weight: '-47'
 | 
			
		||||
    langcode: fr
 | 
			
		||||
 
 | 
			
		||||
@@ -66,7 +66,7 @@ display:
 | 
			
		||||
          name_field: title
 | 
			
		||||
          description_field: '#rendered_view_fields'
 | 
			
		||||
          view_mode: full
 | 
			
		||||
          leaflet_map: stamen-toner-lite
 | 
			
		||||
          leaflet_map: '~popsu home'
 | 
			
		||||
          height: '800'
 | 
			
		||||
          height_unit: px
 | 
			
		||||
          hide_empty_map: false
 | 
			
		||||
 
 | 
			
		||||
@@ -0,0 +1,40 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation to display a one col three rows layout.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - content: The content for this layout.
 | 
			
		||||
 * - attributes: HTML attributes for the layout <div>.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{%
 | 
			
		||||
  set classes = [
 | 
			
		||||
  'layout',
 | 
			
		||||
  'layout--onecolthreerows',
 | 
			
		||||
]
 | 
			
		||||
%} content %}
 | 
			
		||||
  <div{{ attributes.addClass(classes) }}>
 | 
			
		||||
 | 
			
		||||
    {% if content.first %}
 | 
			
		||||
      <div{{ region_attributes.first.addClass('layout__region', 'layout__region--first') }}>
 | 
			
		||||
        {{ content.first }}
 | 
			
		||||
      </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    {% if content.second %}
 | 
			
		||||
      <div{{ region_attributes.second.addClass('layout__region', 'layout__region--second') }}>
 | 
			
		||||
        {{ content.second }}
 | 
			
		||||
      </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
    {% if content.third %}
 | 
			
		||||
      <div{{ region_attributes.third.addClass('layout__region', 'layout__region--third') }}>
 | 
			
		||||
        {{ content.third }}
 | 
			
		||||
      </div>
 | 
			
		||||
    {% endif %}
 | 
			
		||||
 | 
			
		||||
  </div>
 | 
			
		||||
{% endif %}
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
oneplusfourgrid_section:
 | 
			
		||||
  css:
 | 
			
		||||
    theme:
 | 
			
		||||
      layouts/onecolthreerows.css: {}
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
name: Custom Panels Layout
 | 
			
		||||
type: module
 | 
			
		||||
description: misc panels layout.
 | 
			
		||||
core_version_requirement: ^8.8 || ^9
 | 
			
		||||
package: Custom
 | 
			
		||||
dependencies:
 | 
			
		||||
@@ -0,0 +1,18 @@
 | 
			
		||||
layout_onecolthreerows:
 | 
			
		||||
  label: 'One Column Three Rows'
 | 
			
		||||
  path: layouts
 | 
			
		||||
  template: layout--onecolthreerows
 | 
			
		||||
  # library: custom_panels_layout/onecolthreerows
 | 
			
		||||
  category: 'Custom'
 | 
			
		||||
  default_region: first
 | 
			
		||||
  icon_map:
 | 
			
		||||
    - [first]
 | 
			
		||||
    - [second]
 | 
			
		||||
    - [third]
 | 
			
		||||
  regions:
 | 
			
		||||
    first:
 | 
			
		||||
      label: First
 | 
			
		||||
    second:
 | 
			
		||||
      label: Second
 | 
			
		||||
    third:
 | 
			
		||||
      label: Third
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
<?php
 | 
			
		||||
		Reference in New Issue
	
	Block a user