diff --git a/templates/blocks/block--entity-browser-block--uw-ebr-image.html.twig b/templates/blocks/block--entity-browser-block--uw-ebr-image.html.twig deleted file mode 100644 index bf0ad418b677c89c3fc90da207571b1badbedf80..0000000000000000000000000000000000000000 --- a/templates/blocks/block--entity-browser-block--uw-ebr-image.html.twig +++ /dev/null @@ -1,22 +0,0 @@ -{# -/** - * @file - * Theme override to display a region. - * - * Available variables: - * - content: The content for this region, typically blocks. - * - * @see template_preprocess_block() - */ -#} -{% set class = "uw-resp-image" %} - -{% embed '@layouts/block/_block.twig' with { - 'class': class -}%} - - {% block content %} - {{ content }} - {% endblock %} - -{% endembed %} diff --git a/templates/blocks/block--mainnavigation.html.twig b/templates/blocks/block--mainnavigation.html.twig deleted file mode 100644 index 08f7989832c1ba0e67c78af41aa7065c2d53e540..0000000000000000000000000000000000000000 --- a/templates/blocks/block--mainnavigation.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% block content %} - {{ content }} -{% endblock %} diff --git a/templates/blocks/block--page-title-block.html.twig b/templates/blocks/block--page-title-block.html.twig deleted file mode 100644 index 36cb8943cf456b21b22bed13607178446dafa9f4..0000000000000000000000000000000000000000 --- a/templates/blocks/block--page-title-block.html.twig +++ /dev/null @@ -1,24 +0,0 @@ -{% if media == 'no' %} - {% - set classes = [ - 'block', - 'block-' ~ configuration.provider|clean_class, - 'block-' ~ plugin_id|clean_class, - ] - %} - - <div{{ attributes.addClass(classes) }}> - {% if admin_label %} - <div class="uw-admin-label">{{ admin_label }}</div> - {% endif %} - {{ title_prefix }} - {% if label %} - <h2{{ title_attributes }}>{{ label }}</h2> - {% endif %} - {{ title_suffix }} - {% block content %} - {{ content }} - {% endblock %} - </div> -{% endif %} - diff --git a/templates/blocks/block--uw-fdsu-theme-resp-uw-block-global-footer-menu.html.twig b/templates/blocks/block--uw-fdsu-theme-resp-uw-block-global-footer-menu.html.twig deleted file mode 100644 index 08f7989832c1ba0e67c78af41aa7065c2d53e540..0000000000000000000000000000000000000000 --- a/templates/blocks/block--uw-fdsu-theme-resp-uw-block-global-footer-menu.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% block content %} - {{ content }} -{% endblock %} diff --git a/templates/blocks/block--uw-fdsu-theme-resp-uw-block-global-header-menu.html.twig b/templates/blocks/block--uw-fdsu-theme-resp-uw-block-global-header-menu.html.twig deleted file mode 100644 index 08f7989832c1ba0e67c78af41aa7065c2d53e540..0000000000000000000000000000000000000000 --- a/templates/blocks/block--uw-fdsu-theme-resp-uw-block-global-header-menu.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% block content %} - {{ content }} -{% endblock %} diff --git a/templates/blocks/block.html.twig b/templates/blocks/block.html.twig deleted file mode 100644 index eb8af384f503e23d4596157198ce5475a2c6feeb..0000000000000000000000000000000000000000 --- a/templates/blocks/block.html.twig +++ /dev/null @@ -1,54 +0,0 @@ -{# -/** - * @file - * Theme override to display a block. - * - * Available variables: - * - plugin_id: The ID of the block implementation. - * - label: The configured label of the block if visible. - * - configuration: A list of the block's configuration values. - * - label: The configured label for the block. - * - label_display: The display settings for the label. - * - provider: The module or other provider that provided this block plugin. - * - Block plugin specific settings will also be stored here. - * - content: The content of this block. - * - attributes: array of HTML attributes populated by modules, intended to - * be added to the main container tag of this template. - * - id: A valid HTML ID and guaranteed unique. - * - title_attributes: Same as attributes, except applied to the main title - * 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. - * - * @see template_preprocess_block() - */ -#} -{% - set classes = [ - 'block', - 'block-' ~ configuration.provider|clean_class, - 'block-' ~ plugin_id|clean_class, -] -%} - -{% if in_layout_builder %} - {{ attach_library('uw_theme_admin/uw_layout_builder') }} -{% endif %} - -{% if content %} - <div{{ attributes.addClass(classes) }}> - {% if admin_label %} - <div class="uw-admin-label">{{ admin_label }}</div> - {% endif %} - {{ title_prefix }} - {% if label %} - <h2{{ title_attributes }}>{{ label }}</h2> - {% endif %} - {{ title_suffix }} - {% block content %} - {{ content }} - {% endblock %} - </div> -{% endif %} diff --git a/templates/blocks/uw-block-tableau.html.twig b/templates/blocks/uw-block-tableau.html.twig deleted file mode 100644 index 36492b1db1aa7cc600519b0c5e0a32ace79b5891..0000000000000000000000000000000000000000 --- a/templates/blocks/uw-block-tableau.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% include "@components/tableau/tableau.twig" with { - 'tableau': tableau -} %} diff --git a/templates/container/container.html.twig b/templates/container/container.html.twig deleted file mode 100644 index 40d8d7c6900ebb05699a198b53fef46e069a1567..0000000000000000000000000000000000000000 --- a/templates/container/container.html.twig +++ /dev/null @@ -1,48 +0,0 @@ -{# -/** - * @file - * Theme override of a container used to wrap child elements. - * - * Used for grouped form items. Can also be used as a theme wrapper for any - * renderable element, to surround it with a <div> and HTML attributes. - * See \Drupal\Core\Render\Element\RenderElement for more - * information on the #theme_wrappers render array property, and - * \Drupal\Core\Render\Element\container for usage of the container render - * element. - * - * Available variables: - * - attributes: HTML attributes for the containing element. - * - children: The rendered child elements of the container. - * - has_parent: A flag to indicate that the container has one or more parent - containers. - * - * @see template_preprocess_container() - */ -#} -{% - set classes = [ - has_parent ? 'js-form-wrapper', - has_parent ? 'form-wrapper', -] -%} - -{% if header_data %} - <div class="node--type-{{ node_type }}"> - {% include '@components/card/card--node/_card--node.twig' with { - 'node': header_data, - 'type': 'node', - 'featured_image': featured_image, - } %} - </div> -{% endif %} - -<div{{ attributes.addClass(classes) }}>{{ children }}</div> - -{% if footer_data %} - <div class="layout uw-contained-width"> - {% include '@components/card/card--node/_card--node.twig' with { - 'node': footer_data, - 'type': 'node', - } %} - </div> -{% endif %} diff --git a/templates/content/media.html.twig b/templates/content/media.html.twig deleted file mode 100644 index bfa435190fc0856f951f32cb9b687b94f8efe3cc..0000000000000000000000000000000000000000 --- a/templates/content/media.html.twig +++ /dev/null @@ -1,42 +0,0 @@ -{# -/** - * @file - * Theme override to display a media item. - * - * Available variables: - * - name: Name of the media. - * - content: Media content. - * - * @see template_preprocess_media() - * - * @ingroup themeable - */ -#} -{% - set classes = [ - 'media', - 'media--type-' ~ media.bundle()|clean_class, - not media.isPublished() ? 'media--unpublished', - view_mode ? 'media--view-mode-' ~ view_mode|clean_class, -] -%} - -{% set modifier_classes = '' %} - -{% if attributes.class %} - {% set classes = classes | merge(attributes.class) %} -{% endif %} - -{% for class in classes %} - {% set modifier_classes = modifier_classes ~ ' ' ~ class %} -{% endfor %} - -{% embed '@layouts/media/media.twig' with { - 'modifier_classes': modifier_classes -}%} - - {% block content %} - {{ content }} - {% endblock %} - -{% endembed %} diff --git a/templates/content/uw-facts-figures.html.twig b/templates/content/uw-facts-figures.html.twig deleted file mode 100644 index 4789e430aa3a6dabd037d3cbe09ffbb9676a0aeb..0000000000000000000000000000000000000000 --- a/templates/content/uw-facts-figures.html.twig +++ /dev/null @@ -1,5 +0,0 @@ -{{ attach_library('uw_fdsu_theme_resp/factsfigures') }} - -{% include '@components/facts-and-figures/facts-and-figures.twig' with { - 'ffs': ffs_settings -} %} diff --git a/templates/fields/field--block-content--field-uw-image--uw-cbl-image.html.twig b/templates/fields/field--block-content--field-uw-image--uw-cbl-image.html.twig deleted file mode 100644 index 2283293de967beb6f6f9787c9fc12b1ff25d2044..0000000000000000000000000000000000000000 --- a/templates/fields/field--block-content--field-uw-image--uw-cbl-image.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% for item in items %} - {{ item.content }} -{% endfor %} diff --git a/templates/fields/field--media--field-media-image--uw-mt-image.html.twig b/templates/fields/field--media--field-media-image--uw-mt-image.html.twig deleted file mode 100644 index 2283293de967beb6f6f9787c9fc12b1ff25d2044..0000000000000000000000000000000000000000 --- a/templates/fields/field--media--field-media-image--uw-mt-image.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% for item in items %} - {{ item.content }} -{% endfor %} diff --git a/templates/fields/field.html.twig b/templates/fields/field.html.twig deleted file mode 100644 index 6fc0237c6a34de70fd674679cdd4f3a86e7a768d..0000000000000000000000000000000000000000 --- a/templates/fields/field.html.twig +++ /dev/null @@ -1,38 +0,0 @@ -{# -/** - * @file - * Theme override for a field. - */ -#} -{% - set classes = [ - 'uw-field', - 'uw-field--name-' ~ field_name|clean_class, - 'uw-field--type-' ~ field_type|clean_class, - 'uw-field--label-' ~ label_display, -] -%} -{% - set title_classes = [ - 'uw-field__label', - label_display == 'visually_hidden' ? 'visually-hidden', -] -%} -{% if display_field_tag %} - <{{ field_tag|default('div') }}{{ attributes.addClass(classes, 'uw-field__items') }}> -{% endif %} - {% if not label_hidden and display_label_tag %} - <{{ label_tag|default('div') }}{{ title_attributes.addClass(title_classes) }}>{{ label }}</{{ label_tag|default('div') }}> - {% endif %} - {% for item in items %} - {% if display_item_tag %} - <{{ field_item_tag|default('div') }}{{ item.attributes.addClass('uw-field__item') }}> - {% endif %} - {{ item.content }} - {% if display_item_tag %} - </{{ field_item_tag|default('div') }}> - {% endif %} - {% endfor %} -{% if display_field_tag %} - </{{ field_tag|default('div') }}> -{% endif %} diff --git a/templates/fields/responsive-image.html.twig b/templates/fields/responsive-image.html.twig deleted file mode 100644 index 6aa2ac7d1f589dc8ec3797231c03c4d3e5865cef..0000000000000000000000000000000000000000 --- a/templates/fields/responsive-image.html.twig +++ /dev/null @@ -1,20 +0,0 @@ -{# -/** - * @file - * Theme override of a responsive image. - * - * Available variables: - * - sources: The attributes of the <source> tags for this <picture> tag. - * - img_element: The controlling image, with the fallback image in srcset. - * - output_image_tag: Whether or not to output an <img> tag instead of a - * <picture> tag. - * - * @see template_preprocess() - * @see template_preprocess_responsive_image() - */ -#} -{% include "@components/responsive-image/responsive-image.twig" with { - "sources": sources, - "img_element": img_element['#uri'], - "alt": img_element['#alt'] -} %} diff --git a/templates/inline-blocks/block--inline-block--uw-cbl-whos-online.html.twig b/templates/inline-blocks/block--inline-block--uw-cbl-whos-online.html.twig deleted file mode 100644 index 7e5b42016882f56cbad4d0338ada445b999a0499..0000000000000000000000000000000000000000 --- a/templates/inline-blocks/block--inline-block--uw-cbl-whos-online.html.twig +++ /dev/null @@ -1,17 +0,0 @@ -{% if in_layout_builder %} -<div{{ attributes.addClass(classes) }}> - {{ title_prefix }} - {{ title_suffix }} -{% endif %} - {% if label %} - <h2{{ title_attributes }}>{{ label }}</h2> - {% endif %} - - {% include "@components/whos-online/whos-online.twig" with { - 'privileged': whos_online.privileged, - 'others': whos_online.others, - } %} - -{% if in_layout_builder %} -</div> -{% endif %} diff --git a/templates/menus/menu--main.html.twig b/templates/menus/menu--main.html.twig deleted file mode 100644 index e388d3ba5dbfc67effd122ae180efb703e818077..0000000000000000000000000000000000000000 --- a/templates/menus/menu--main.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% include "@components/menu/menu--main/menu--main.twig" with { - 'items': items -} %} diff --git a/templates/menus/menu--uw-menu-global-footer.html.twig b/templates/menus/menu--uw-menu-global-footer.html.twig deleted file mode 100644 index 58e6230873410fc0797712585ab23e7870965cf4..0000000000000000000000000000000000000000 --- a/templates/menus/menu--uw-menu-global-footer.html.twig +++ /dev/null @@ -1,4 +0,0 @@ -{% include "@components/menu/menu--footer/menu--footer.twig" with { - 'menu_name': 'uw-footer', - 'items': items -} %} diff --git a/templates/menus/menu--uw-menu-global-header.html.twig b/templates/menus/menu--uw-menu-global-header.html.twig deleted file mode 100644 index fcd8daf68050b334ab93633b8fa5c3001d82b8ad..0000000000000000000000000000000000000000 --- a/templates/menus/menu--uw-menu-global-header.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% include "@components/menu/menu--header/menu--header.twig" with { - 'items': items -} %} diff --git a/templates/node/node--teaser.html.twig b/templates/node/node--teaser.html.twig deleted file mode 100644 index 64f289e53a9a59e7ea145eaccda074d5870397f1..0000000000000000000000000000000000000000 --- a/templates/node/node--teaser.html.twig +++ /dev/null @@ -1,4 +0,0 @@ -{% include '@components/card/card--teaser/_card--teaser.twig' with { - 'teaser': teaser, - 'type': 'teaser' -} %} diff --git a/templates/node/node--uw-ct-contact--teaser.html.twig b/templates/node/node--uw-ct-contact--teaser.html.twig deleted file mode 100644 index b4ba197ab1d8949205388cfc776fec11ba38946d..0000000000000000000000000000000000000000 --- a/templates/node/node--uw-ct-contact--teaser.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% include '@components/contact/contact.twig' with { - 'contact': teaser, -}%} diff --git a/templates/node/node--uw-ct-sidebar.html.twig b/templates/node/node--uw-ct-sidebar.html.twig deleted file mode 100644 index 33293fdc533ca0f8a95c5907da794b41332b3981..0000000000000000000000000000000000000000 --- a/templates/node/node--uw-ct-sidebar.html.twig +++ /dev/null @@ -1 +0,0 @@ -{{ content }} diff --git a/templates/node/node--uw-ct-site-footer.html.twig b/templates/node/node--uw-ct-site-footer.html.twig deleted file mode 100644 index 8595e24eefd3619eb8f45a486db99c5008d582d3..0000000000000000000000000000000000000000 --- a/templates/node/node--uw-ct-site-footer.html.twig +++ /dev/null @@ -1,77 +0,0 @@ -{# -/** - * @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: 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: Themed creation date field. - * - author_name: 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 - */ -#} -{% if logged_in and user.hasPermission('view all revisions') %} - {{ drupal_form('Drupal\\content_moderation\\Form\\EntityModerationForm', node) }} -{% endif %} diff --git a/templates/node/node.html.twig b/templates/node/node.html.twig deleted file mode 100644 index 864aa183a5c14d7532d36fe376d6ddda1e61635d..0000000000000000000000000000000000000000 --- a/templates/node/node.html.twig +++ /dev/null @@ -1,115 +0,0 @@ -{# -/** - * @file - * Theme override 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. - */ -#} -{% - set classes = [ - 'node', - 'node--type-' ~ node.bundle|clean_class, - node.isPromoted() ? 'node--promoted', - node.isSticky() ? 'node--sticky', - not node.isPublished() ? 'node--unpublished', - view_mode ? 'node--view-mode-' ~ view_mode|clean_class -] -%} - -{% if ical %} - {% set node_data = node_data | merge({'ical': ical}) %} -{% endif %} - -{% if uw_content_moderation_form and node.nid.value == uw_content_moderation_form['#mods'].nid %} - {{ uw_content_moderation_form }} -{% endif %} - -{{ attach_library('seven/classy.node') }} - -{% embed '@layouts/node/node.twig' with { - 'classes': classes, - 'has_sidebar': sidebar ? 'Yes' : 'No' -} %} - - {% block content %} - <div{{ content_attributes.addClass('node__content') }}> - {% include '@components/card/card--node/_card--node.twig' with { - 'node': node_data, - 'type': 'node' - } %} - </div> - {% endblock %} - - - {% block sidebar_content %} - {% if sidebar %} - {{ sidebar }} - {% endif %} - {% endblock %} - -{% endembed %} diff --git a/templates/ofis/uw-ws-ofis-profile.html.twig b/templates/ofis/uw-ws-ofis-profile.html.twig deleted file mode 100644 index 76965ee25eb1c993963e59937ad09c5f7feb16fd..0000000000000000000000000000000000000000 --- a/templates/ofis/uw-ws-ofis-profile.html.twig +++ /dev/null @@ -1,3 +0,0 @@ -{% include '@layouts/ofis/ofis.twig' with { - 'ofis_data': ofis_data, -} %} diff --git a/templates/page/html.html.twig b/templates/page/html.html.twig deleted file mode 100644 index ea8b802183cbf3d9912f7ab503a95c870b63b79f..0000000000000000000000000000000000000000 --- a/templates/page/html.html.twig +++ /dev/null @@ -1,67 +0,0 @@ -{# - /** - * @file - * Theme override for the basic structure of a single Drupal page. - * - * Variables: - * - logged_in: A flag indicating if user is logged in. - * - root_path: The root path of the current page (e.g., node, admin, user). - * - node_type: The content type for the current node, if the page is a node. - * - head_title: List of text elements that make up the head_title variable. - * May contain or more of the following: - * - title: The title of the page. - * - name: The name of the site. - * - slogan: The slogan of the site. - * - page_top: Initial rendered markup. This should be printed before 'page'. - * - page: The rendered page markup. - * - page_bottom: Closing rendered markup. This variable should be printed after 'page'. - * - db_offline: A flag indicating if the database is offline. - * - placeholder_token: The token for generating head, css, js and js-bottom placeholders. - * - * @see template_preprocess_html() - */ -#} -{% set body_classes = [ - logged_in ? 'user-logged-in', - not root_path ? 'path-frontpage' : 'path-' ~ root_path|clean_class, - not root_path ? 'front' : 'not-front', - node_type ? 'node-page node-page--node-type-' ~ node_type|clean_class, -] %} -<!DOCTYPE html> -<html{{ html_attributes }} class="no-js"> -<head> - <head-placeholder token="{{ placeholder_token|raw }}"> - <title>{{ head_title|safe_join(' | ') }}</title> - <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin /> - <link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" /> - <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" media="print" onload="this.media='all'" /> - <noscript> - <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@500;700&family=Barlow:wght@400;500;700&display=swap" /> - </noscript> - {% if not uw_admin_page %} - <!-- Google Tag Manager --> - <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': - new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], - j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= - 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); - })(window,document,'script','dataLayer','GTM-M9XLVF');</script> - <!-- End Google Tag Manager --> - {% endif %} - <css-placeholder token="{{ placeholder_token|raw }}"> - <js-placeholder token="{{ placeholder_token|raw }}"> -</head> -<body{{ attributes.addClass(body_classes) }}> -{% if not uw_admin_page %} -<!-- Google Tag Manager (noscript) --> -<noscript> - <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M9XLVF" height="0" width="0" style="display:none;visibility:hidden"></iframe> -</noscript> -<!-- End Google Tag Manager (noscript) --> -{% endif %} -{% include '@components/skiplinks/skiplinks.twig' %} -{{ page_top }} -{{ page }} -{{ page_bottom }} -<js-bottom-placeholder token="{{ placeholder_token|raw }}"> -</body> -</html> diff --git a/templates/page/page.html.twig b/templates/page/page.html.twig deleted file mode 100644 index 27a9a8b866e61e29da56b371892477eb298adcc2..0000000000000000000000000000000000000000 --- a/templates/page/page.html.twig +++ /dev/null @@ -1,59 +0,0 @@ -{# - /** - * @file - * Theme override to display a single page. - * - * Available variables: - * - * General utility variables: - * - base_path: The base URL path of the Drupal installation. - * - is_front: A flag indicating if the current page is the front page. - * - logged_in: A flag indicating if the user is registered and signed in. - * - is_admin: A flag indicating if the user has permission to access administration pages. - * - * Site identity: - * - front_page: The URL of the front page. Use this instead of base_path when linking to the front page. - * - * Page content (in order of occurrence in the default page.html.twig): - * - node: Fully loaded node - * - * Regions: - * - page.header: Items for the header region. - * - page.highlighted: Items for the highlighted region. - * - page.primary_menu: Items for the primary menu region. - * - page.secondary_menu: Items for the secondary menu region. - * - page.highlighted: Items for the highlighted content region. - * - page.help: Dynamic help text, mostly for admin pages. - * - page.content: The main content of the current page. - * - page.sidebar_first: Items for the first sidebar. - * - page.sidebar_second: Items for the second sidebar. - * - page.footer: Items for the footer region. - * - page.breadcrumb: Items for the breadcrumb region. - * - * @see template_preprocess_page() - * @see html.html.twig - */ -#} - -{% extends '@layouts/site-container/site-container.twig' %} - {% block header %} - {{ page.header }} - {{ page.navigation }} - {{ page.breadcrumb }} - {% endblock %} - - {% block highlighted %} - {{ page.highlighted }} - {{ page.help }} - {% endblock %} - - {% block main %} - {{ page.preface }} - {{ page.content }} - {{ page.postscript }} - {% endblock %} - - {% block footer %} - {{ page.sitefooter }} - {{ page.footer }} - {% endblock %} diff --git a/templates/pager/pager.html.twig b/templates/pager/pager.html.twig deleted file mode 100644 index ab0e05e39850abd9d2e3f36dafc2eab33b75f903..0000000000000000000000000000000000000000 --- a/templates/pager/pager.html.twig +++ /dev/null @@ -1,5 +0,0 @@ -{% if items %} - {% include "@components/pager/pager.twig" with { - 'items': items, - } %} -{% endif %} diff --git a/templates/regions/region--content.html.twig b/templates/regions/region--content.html.twig deleted file mode 100644 index d9d6a2ddf5f3dbc06af388fb0070422b26a0bbb7..0000000000000000000000000000000000000000 --- a/templates/regions/region--content.html.twig +++ /dev/null @@ -1,23 +0,0 @@ -{# -/** - * @file - * Theme override to display a region. - * - * Available variables: - * - content: The content for this region, typically blocks. - * - attributes: HTML attributes for the region div. - * - region: The name of the region variable as defined in the theme's - * .info.yml file. - * - * @see template_preprocess_region() - */ -#} -{% embed '@layouts/content/content.twig' with { - 'classes': classes -}%} - - {% block content %} - {{ content }} - {% endblock %} - -{% endembed %} diff --git a/templates/regions/region--footer.html.twig b/templates/regions/region--footer.html.twig deleted file mode 100644 index da1a64574e527330190be76647039e427849b47a..0000000000000000000000000000000000000000 --- a/templates/regions/region--footer.html.twig +++ /dev/null @@ -1,28 +0,0 @@ -{# -/** - * @file - * Theme override to display a region. - * - * Available variables: - * - content: The content for this region, typically blocks. - * - attributes: HTML attributes for the region div. - * - region: The name of the region variable as defined in the theme's - * .info.yml file. - * - * @see template_preprocess_region() - */ -#} -{% set social_media = simplify_menu('uw-menu-global-social-media') %} -{% set footer_menu = simplify_menu('uw-menu-global-footer') %} - -{% embed '@layouts/footer/footer.twig' with { - "social_media": social_media, - "social_media_placement": "global-site-footer", - "footer_menu": footer_menu.menu_tree -} %} - - {% block content %} - {{ content }} - {% endblock %} - -{% endembed %} diff --git a/templates/regions/region--header.html.twig b/templates/regions/region--header.html.twig deleted file mode 100644 index 96859013504301de099eff57e169065cc0a6788f..0000000000000000000000000000000000000000 --- a/templates/regions/region--header.html.twig +++ /dev/null @@ -1,23 +0,0 @@ -{# -/** - * @file - * Theme override to display a region. - * - * Available variables: - * - content: The content for this region, typically blocks. - * - attributes: HTML attributes for the region div. - * - region: The name of the region variable as defined in the theme's - * .info.yml file. - * - * @see template_preprocess_region() - */ -#} -{% include '@layouts/header/header.twig' with { - 'site_name': site_name, - 'faculty': faculty, - 'classes': classes, - 'nav_items': main_menu, - 'secondary_items': secondary_menu, - 'home_link': home_link, - 'global_message': global_message -}%} diff --git a/templates/regions/region--highlighted.html.twig b/templates/regions/region--highlighted.html.twig deleted file mode 100644 index d787a0a14196f7e722b839f027e79931b0f0316a..0000000000000000000000000000000000000000 --- a/templates/regions/region--highlighted.html.twig +++ /dev/null @@ -1,23 +0,0 @@ -{# -/** - * @file - * Theme override to display a region. - * - * Available variables: - * - content: The content for this region, typically blocks. - * - attributes: HTML attributes for the region div. - * - region: The name of the region variable as defined in the theme's - * .info.yml file. - * - * @see template_preprocess_region() - */ -#} -{% embed '@layouts/highlighted/highlighted.twig' with { - 'classes': classes -}%} - - {% block content %} - {{ content }} - {% endblock %} - -{% endembed %} diff --git a/templates/site-footer/uw-site-footer.html.twig b/templates/site-footer/uw-site-footer.html.twig deleted file mode 100644 index 55aa6a48b302658f0c3c02d35762e4f38e812225..0000000000000000000000000000000000000000 --- a/templates/site-footer/uw-site-footer.html.twig +++ /dev/null @@ -1,13 +0,0 @@ -{% if site_footer %} - {% include "@layouts/site-footer/site-footer.twig" with { - "body": site_footer.content, - "logo_link": site_footer.logo_link, - "logo_url": site_footer.logo_url, - "site_name": site_footer.site_name, - "logo_alt_text": site_footer.logo_alt_text, - "social_media": site_footer.social_media, - "social_media_placement": "local-site-footer", - "primary": site_footer.primary, - 'home_link': site_footer.home_link - } %} -{% endif %} diff --git a/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig b/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig deleted file mode 100644 index 2c9bdf90d645e56d9c15b3affa6c5ab982d2d025..0000000000000000000000000000000000000000 --- a/templates/views/views-view-unformatted--uw-view-events--event-page.html.twig +++ /dev/null @@ -1,7 +0,0 @@ -{% for data in node_data %} - <div class="views-row"> - {% include '@components/card/card--teaser/_card--teaser.twig' with { - 'teaser': data, - } %} - </div> -{% endfor %} diff --git a/templates/views/views-view.html.twig b/templates/views/views-view.html.twig deleted file mode 100644 index 087cae6795347af6d1fe21c6e9002e1a34c29cdb..0000000000000000000000000000000000000000 --- a/templates/views/views-view.html.twig +++ /dev/null @@ -1,90 +0,0 @@ -{# -/** - * @file - * Theme override for a 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() - */ -#} - -{% - set classes = [ - 'view', - 'view-' ~ id|clean_class, - 'view-id-' ~ id, - 'view-display-id-' ~ display_id, - dom_id ? 'js-view-dom-id-' ~ dom_id, -] -%} -{% if (view.current_display == 'services_in_category_page') or (view.current_display == 'catalog_a_z_page') %} - <div class="views-element-container contextual-region"> -{% endif %} - -{% if content_list %} - {% include '@components/tabs/tabs--link/tabs--link.twig' with { - 'content_list': content_list, - 'tabs_modifier_class': 'catalog' - } %} -{% endif %} - -{% if form_search %} - {% include '@components/form-view-search/form-view-search.twig' with { - 'form_search': form_search - } %} -{% endif %} - -{% if not show_empty %} - {% set show_empty = 'yes' %} -{% endif %} - -{% include '@components/view/views-view/views-view.twig' with { - 'attributes': attributes, - 'css_name': css_name, - 'css_class': css_class, - 'header': header, - 'footer': footer, - 'rows': rows, - 'empty': empty.area, - 'show_empty': show_empty, - 'pager': pager, - 'exposed': exposed, - 'feed_icons': feed_icons, - 'more': more, - 'title': title, - 'title_prefix': title_prefix, - 'title_suffix': title_suffix, - 'attachment_before': attachment_before, - 'attachment_after': attachment_after, - 'dom_id': dom_id, - 'exp_col_all': exp_col_all, - 'rss': view.rss, - 'ical': view.ical, -} %} - -{% if (view.current_display == 'services_in_category_page') or (view.current_display == 'catalog_a_z_page') %} - </div> -{% endif %}