{# link is in html.html.twig #} -
+
{{ page.content }}
{# /.layout-content #} diff --git a/web/themes/custom/popsu_colloque/template/paragraph/paragraph--images--preview.html.twig b/web/themes/custom/popsu_colloque/template/paragraph/paragraph--images--preview.html.twig new file mode 100644 index 00000000..528f2155 --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/paragraph/paragraph--images--preview.html.twig @@ -0,0 +1,53 @@ +{# +/** + * @file + * Default theme implementation to display a paragraph. + * + * Available variables: + * - paragraph: Full paragraph entity. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - paragraph.getCreatedTime() will return the paragraph creation timestamp. + * - paragraph.id(): The paragraph ID. + * - paragraph.bundle(): The type of the paragraph, for example, "image" or "text". + * - paragraph.getOwnerId(): The user ID of the paragraph author. + * See Drupal\paragraphs\Entity\Paragraph for a full list of public properties + * and methods for the paragraph object. + * - content: All paragraph items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - paragraphs: The current template type (also known as a "theming hook"). + * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an + * "Image" it would result in "paragraphs--type--image". Note that the machine + * name will often be in a short form of the human readable label. + * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a + * preview would result in: "paragraphs--view-mode--preview", and + * default: "paragraphs--view-mode--default". + * - view_mode: View mode; for example, "preview" or "full". + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_paragraph() + * + * @ingroup themeable + */ +#} +{% + set classes = [ + 'paragraph', + 'paragraph--type--' ~ paragraph.bundle|clean_class, + view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, + not paragraph.isPublished() ? 'paragraph--unpublished' + ] +%} +{% block paragraph %} + {% block content %} + {{ content }} + {% endblock %} +{% endblock paragraph %} diff --git a/web/themes/custom/popsu_colloque/template/paragraph/paragraph--video--preview.html.twig b/web/themes/custom/popsu_colloque/template/paragraph/paragraph--video--preview.html.twig new file mode 100644 index 00000000..528f2155 --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/paragraph/paragraph--video--preview.html.twig @@ -0,0 +1,53 @@ +{# +/** + * @file + * Default theme implementation to display a paragraph. + * + * Available variables: + * - paragraph: Full paragraph entity. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - paragraph.getCreatedTime() will return the paragraph creation timestamp. + * - paragraph.id(): The paragraph ID. + * - paragraph.bundle(): The type of the paragraph, for example, "image" or "text". + * - paragraph.getOwnerId(): The user ID of the paragraph author. + * See Drupal\paragraphs\Entity\Paragraph for a full list of public properties + * and methods for the paragraph object. + * - content: All paragraph items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - paragraphs: The current template type (also known as a "theming hook"). + * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an + * "Image" it would result in "paragraphs--type--image". Note that the machine + * name will often be in a short form of the human readable label. + * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a + * preview would result in: "paragraphs--view-mode--preview", and + * default: "paragraphs--view-mode--default". + * - view_mode: View mode; for example, "preview" or "full". + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_paragraph() + * + * @ingroup themeable + */ +#} +{% + set classes = [ + 'paragraph', + 'paragraph--type--' ~ paragraph.bundle|clean_class, + view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, + not paragraph.isPublished() ? 'paragraph--unpublished' + ] +%} +{% block paragraph %} + {% block content %} + {{ content }} + {% endblock %} +{% endblock paragraph %} diff --git a/web/themes/custom/popsu_colloque/template/paragraph/paragraph.html.twig b/web/themes/custom/popsu_colloque/template/paragraph/paragraph.html.twig new file mode 100644 index 00000000..fa3ba93f --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/paragraph/paragraph.html.twig @@ -0,0 +1,55 @@ +{# +/** + * @file + * Default theme implementation to display a paragraph. + * + * Available variables: + * - paragraph: Full paragraph entity. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - paragraph.getCreatedTime() will return the paragraph creation timestamp. + * - paragraph.id(): The paragraph ID. + * - paragraph.bundle(): The type of the paragraph, for example, "image" or "text". + * - paragraph.getOwnerId(): The user ID of the paragraph author. + * See Drupal\paragraphs\Entity\Paragraph for a full list of public properties + * and methods for the paragraph object. + * - content: All paragraph items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - paragraphs: The current template type (also known as a "theming hook"). + * - paragraphs--type-[type]: The current paragraphs type. For example, if the paragraph is an + * "Image" it would result in "paragraphs--type--image". Note that the machine + * name will often be in a short form of the human readable label. + * - paragraphs--view-mode--[view_mode]: The View Mode of the paragraph; for example, a + * preview would result in: "paragraphs--view-mode--preview", and + * default: "paragraphs--view-mode--default". + * - view_mode: View mode; for example, "preview" or "full". + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_paragraph() + * + * @ingroup themeable + */ +#} +{% + set classes = [ + 'paragraph', + 'paragraph--type--' ~ paragraph.bundle|clean_class, + view_mode ? 'paragraph--view-mode--' ~ view_mode|clean_class, + not paragraph.isPublished() ? 'paragraph--unpublished' + ] +%} +{% block paragraph %} + + {% block content %} + {{ content }} + {% endblock %} +
+{% endblock paragraph %} diff --git a/web/themes/custom/popsu_colloque/template/regions/region--header.html.twig b/web/themes/custom/popsu_colloque/template/regions/region--header.html.twig index 219e14b0..99f1c6cd 100644 --- a/web/themes/custom/popsu_colloque/template/regions/region--header.html.twig +++ b/web/themes/custom/popsu_colloque/template/regions/region--header.html.twig @@ -15,7 +15,7 @@ */ #} {% if content %} - + {{ content }} {% endif %} diff --git a/web/themes/custom/popsu_colloque/template/views/fields/node--view--dernieres-publications.html.twig b/web/themes/custom/popsu_colloque/template/views/fields/node--view--dernieres-publications.html.twig new file mode 100644 index 00000000..c1fd3261 --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/fields/node--view--dernieres-publications.html.twig @@ -0,0 +1,88 @@ +{# +/** + * @file + * Default theme implementation to display a node. + * + * Available variables: + * - node: The node entity with limited access to object properties and methods. + * Only method names starting with "get", "has", or "is" and a few common + * methods such as "id", "label", and "bundle" are available. For example: + * - node.getCreatedTime() will return the node creation timestamp. + * - node.hasField('field_example') returns TRUE if the node bundle includes + * field_example. (This does not indicate the presence of a value in this + * field.) + * - node.isPublished() will return whether the node is published or not. + * Calling other methods, such as node.delete(), will result in an exception. + * See \Drupal\node\Entity\Node for a full list of public properties and + * methods for the node object. + * - label: (optional) The title of the node. + * - content: All node items. Use {{ content }} to print them all, + * or print a subset such as {{ content.field_example }}. Use + * {{ content|without('field_example') }} to temporarily suppress the printing + * of a given child element. + * - author_picture: The node author user entity, rendered using the "compact" + * view mode. + * - metadata: Metadata for this node. + * - date: (optional) Themed creation date field. + * - author_name: (optional) Themed author name field. + * - url: Direct URL of the current node. + * - display_submitted: Whether submission information should be displayed. + * - attributes: HTML attributes for the containing element. + * The attributes.class element may contain one or more of the following + * classes: + * - node: The current template type (also known as a "theming hook"). + * - node--type-[type]: The current node type. For example, if the node is an + * "Article" it would result in "node--type-article". Note that the machine + * name will often be in a short form of the human readable label. + * - node--view-mode-[view_mode]: The View Mode of the node; for example, a + * teaser would result in: "node--view-mode-teaser", and + * full: "node--view-mode-full". + * The following are controlled through the node publishing options. + * - node--promoted: Appears on nodes promoted to the front page. + * - node--sticky: Appears on nodes ordered above other non-sticky nodes in + * teaser listings. + * - node--unpublished: Appears on unpublished nodes visible only to site + * admins. + * - title_attributes: Same as attributes, except applied to the main title + * tag that appears in the template. + * - content_attributes: Same as attributes, except applied to the main + * content tag that appears in the template. + * - author_attributes: Same as attributes, except applied to the author of + * the node tag that appears in the template. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the main title tag that appears in the template. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the main title tag that appears in the template. + * - view_mode: View mode; for example, "teaser" or "full". + * - teaser: Flag for the teaser state. Will be true if view_mode is 'teaser'. + * - page: Flag for the full page state. Will be true if view_mode is 'full'. + * - readmore: Flag for more state. Will be true if the teaser content of the + * node cannot hold the main body content. + * - logged_in: Flag for authenticated user status. Will be true when the + * current user is a logged-in member. + * - is_admin: Flag for admin user status. Will be true when the current user + * is an administrator. + * + * @see template_preprocess_node() + * + * @todo Remove the id attribute (or make it a class), because if that gets + * rendered twice on a page this is invalid CSS for example: two lists + * in different view modes. + * + * @ingroup themeable + */ +#} + + +
+
+ {{content.field_ajouter_un_media}} +
+
+
+ {{ label|raw }} + {{content.field_complement_d_info|raw}} +
+
+
+
diff --git a/web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--slide_programme.html.twig b/web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--slide_programme.html.twig new file mode 100644 index 00000000..e4e9db60 --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/fields/views-view-fields--slide_programme.html.twig @@ -0,0 +1,46 @@ +{# +/** + * @file + * Default view template to display all the fields in a row. + * + * Available variables: + * - view: The view in use. + * - fields: A list of fields, each one contains: + * - content: The output of the field. + * - raw: The raw data for the field, if it exists. This is NOT output safe. + * - class: The safe class ID to use. + * - handler: The Views field handler controlling this field. + * - inline: Whether or not the field should be inline. + * - wrapper_element: An HTML element for a wrapper. + * - wrapper_attributes: List of attributes for wrapper element. + * - separator: An optional separator that may appear before a field. + * - label: The field's label text. + * - label_element: An HTML element for a label wrapper. + * - label_attributes: List of attributes for label wrapper. + * - label_suffix: Colon after the label. + * - element_type: An HTML element for the field content. + * - element_attributes: List of attributes for HTML element for field content. + * - has_label_colon: A boolean indicating whether to display a colon after + * the label. + * - element_type: An HTML element for the field content. + * - element_attributes: List of attributes for HTML element for field content. + * - row: The raw result from the query, with all data it fetched. + * + * @see template_preprocess_views_view_fields() + * + * @ingroup themeable + */ +#} + + +
+ {{fields.field_image.content}} +
+
+
+ {{fields.field_heure_du_moment.content}} +
+
+ {{fields.title.content}} +
+
diff --git a/web/themes/custom/popsu_colloque/template/views/fields/views-view-fields.html.twig b/web/themes/custom/popsu_colloque/template/views/fields/views-view-fields.html.twig new file mode 100644 index 00000000..64bd7916 --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/fields/views-view-fields.html.twig @@ -0,0 +1,54 @@ +{# +/** + * @file + * Default view template to display all the fields in a row. + * + * Available variables: + * - view: The view in use. + * - fields: A list of fields, each one contains: + * - content: The output of the field. + * - raw: The raw data for the field, if it exists. This is NOT output safe. + * - class: The safe class ID to use. + * - handler: The Views field handler controlling this field. + * - inline: Whether or not the field should be inline. + * - wrapper_element: An HTML element for a wrapper. + * - wrapper_attributes: List of attributes for wrapper element. + * - separator: An optional separator that may appear before a field. + * - label: The field's label text. + * - label_element: An HTML element for a label wrapper. + * - label_attributes: List of attributes for label wrapper. + * - label_suffix: Colon after the label. + * - element_type: An HTML element for the field content. + * - element_attributes: List of attributes for HTML element for field content. + * - has_label_colon: A boolean indicating whether to display a colon after + * the label. + * - element_type: An HTML element for the field content. + * - element_attributes: List of attributes for HTML element for field content. + * - row: The raw result from the query, with all data it fetched. + * + * @see template_preprocess_views_view_fields() + * + * @ingroup themeable + */ +#} +{% for field in fields -%} + {{ field.separator }} + {%- if field.wrapper_element -%} + <{{ field.wrapper_element }}{{ field.wrapper_attributes }}> + {%- endif %} + {%- if field.label -%} + {%- if field.label_element -%} + <{{ field.label_element }}{{ field.label_attributes }}>{{ field.label }}{{ field.label_suffix }} + {%- else -%} + {{ field.label }}{{ field.label_suffix }} + {%- endif %} + {%- endif %} + {%- if field.element_type -%} + <{{ field.element_type }}{{ field.element_attributes }}>{{ field.content }} + {%- else -%} + {{ field.content }} + {%- endif %} + {%- if field.wrapper_element -%} + + {%- endif %} +{%- endfor %} diff --git a/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--dernieres_publications.html.twig b/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--dernieres_publications.html.twig new file mode 100644 index 00000000..4ff6826d --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--dernieres_publications.html.twig @@ -0,0 +1,34 @@ +{# +/** + * @file + * Default theme implementation to display a view of unformatted rows. + * + * Available variables: + * - title: The title of this group of rows. May be empty. + * - rows: A list of the view's row items. + * - attributes: The row's HTML attributes. + * - content: The row's content. + * - view: The view object. + * - default_row_class: A flag indicating whether default classes should be + * used on rows. + * + * @see template_preprocess_views_view_unformatted() + * + * @ingroup themeable + */ +#} +{% if title %} +

{{ title }}

+{% endif %} +
+ {% for row in rows %} + {% + set row_classes = [ + default_row_class ? 'views-row', + ] + %} +
+ {{- row.content -}} +
+ {% endfor %} +
diff --git a/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--slide_programme.html.twig b/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--slide_programme.html.twig new file mode 100644 index 00000000..4ff6826d --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted--slide_programme.html.twig @@ -0,0 +1,34 @@ +{# +/** + * @file + * Default theme implementation to display a view of unformatted rows. + * + * Available variables: + * - title: The title of this group of rows. May be empty. + * - rows: A list of the view's row items. + * - attributes: The row's HTML attributes. + * - content: The row's content. + * - view: The view object. + * - default_row_class: A flag indicating whether default classes should be + * used on rows. + * + * @see template_preprocess_views_view_unformatted() + * + * @ingroup themeable + */ +#} +{% if title %} +

{{ title }}

+{% endif %} +
+ {% for row in rows %} + {% + set row_classes = [ + default_row_class ? 'views-row', + ] + %} +
+ {{- row.content -}} +
+ {% endfor %} +
diff --git a/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted.html.twig b/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted.html.twig new file mode 100644 index 00000000..b67b5f7d --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/lists/views-view-unformatted.html.twig @@ -0,0 +1,32 @@ +{# +/** + * @file + * Default theme implementation to display a view of unformatted rows. + * + * Available variables: + * - title: The title of this group of rows. May be empty. + * - rows: A list of the view's row items. + * - attributes: The row's HTML attributes. + * - content: The row's content. + * - view: The view object. + * - default_row_class: A flag indicating whether default classes should be + * used on rows. + * + * @see template_preprocess_views_view_unformatted() + * + * @ingroup themeable + */ +#} +{% if title %} +

{{ title }}

+{% endif %} +{% for row in rows %} + {% + set row_classes = [ + default_row_class ? 'views-row', + ] + %} + + {{- row.content -}} + +{% endfor %} diff --git a/web/themes/custom/popsu_colloque/template/views/views-view.html.twig b/web/themes/custom/popsu_colloque/template/views/views-view.html.twig new file mode 100644 index 00000000..2db5d0bb --- /dev/null +++ b/web/themes/custom/popsu_colloque/template/views/views-view.html.twig @@ -0,0 +1,68 @@ +{# +/** + * @file + * Default theme implementation for main view template. + * + * Available variables: + * - attributes: Remaining HTML attributes for the element. + * - css_name: A CSS-safe version of the view name. + * - css_class: The user-specified classes names, if any. + * - header: The optional header. + * - footer: The optional footer. + * - rows: The results of the view query, if any. + * - empty: The content to display if there are no rows. + * - pager: The optional pager next/prev links to display. + * - exposed: Exposed widget form/info to display. + * - feed_icons: Optional feed icons to display. + * - more: An optional link to the next page of results. + * - title: Title of the view, only used when displaying in the admin preview. + * - title_prefix: Additional output populated by modules, intended to be + * displayed in front of the view title. + * - title_suffix: Additional output populated by modules, intended to be + * displayed after the view title. + * - attachment_before: An optional attachment view to be displayed before the + * view content. + * - attachment_after: An optional attachment view to be displayed after the + * view content. + * - dom_id: Unique id for every view being printed to give unique class for + * Javascript. + * + * @see template_preprocess_views_view() + * + * @ingroup themeable + */ +#} +{{ more }} + +
+ + {{ title_prefix }} + {{ title }} + {{ title_suffix }} + + {% if header %} +
+ {{ header }} +
+ {% endif %} + + {{ exposed }} + {{ attachment_before }} + + {% if rows -%} + {{ rows }} + {% elseif empty -%} + {{ empty }} + {% endif %} + {{ pager }} + + {{ attachment_after }} + + {% if footer %} + + {% endif %} + + {{ feed_icons }} +