Initial Drupal 11 with DDEV setup
This commit is contained in:
		@ -0,0 +1,57 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for Views UI build group filter form.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - form: A render element representing the form. Contains the following:
 | 
			
		||||
 *   - form_description: The exposed filter's description.
 | 
			
		||||
 *   - expose_button: The button to toggle the expose filter form.
 | 
			
		||||
 *   - group_button: Toggle options between single and grouped filters.
 | 
			
		||||
 *   - label: A filter label input field.
 | 
			
		||||
 *   - description: A filter description field.
 | 
			
		||||
 *   - value: The filters available values.
 | 
			
		||||
 *   - optional: A checkbox to require this filter or not.
 | 
			
		||||
 *   - remember: A checkbox to remember selected filter value(s) (per user).
 | 
			
		||||
 *   - widget: Radio Buttons to select the filter widget.
 | 
			
		||||
 *   - add_group: A button to add another row to the table.
 | 
			
		||||
 *   - more: A details element for additional field exposed filter fields.
 | 
			
		||||
 * - table: A rendered table element of the group filter form.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_build_group_filter_form()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{{ form.form_description }}
 | 
			
		||||
{{ form.expose_button }}
 | 
			
		||||
{{ form.group_button }}
 | 
			
		||||
<div class="views-left-40">
 | 
			
		||||
  {{ form.optional }}
 | 
			
		||||
  {{ form.remember }}
 | 
			
		||||
</div>
 | 
			
		||||
<div class="views-right-60">
 | 
			
		||||
  {{ form.widget }}
 | 
			
		||||
  {{ form.label }}
 | 
			
		||||
  {{ form.description }}
 | 
			
		||||
</div>
 | 
			
		||||
{#
 | 
			
		||||
  Render the rest of the form elements excluding elements that are rendered
 | 
			
		||||
  elsewhere.
 | 
			
		||||
#}
 | 
			
		||||
{{ form|without(
 | 
			
		||||
    'form_description',
 | 
			
		||||
    'expose_button',
 | 
			
		||||
    'group_button',
 | 
			
		||||
    'optional',
 | 
			
		||||
    'remember',
 | 
			
		||||
    'widget',
 | 
			
		||||
    'label',
 | 
			
		||||
    'description',
 | 
			
		||||
    'add_group',
 | 
			
		||||
    'more'
 | 
			
		||||
  )
 | 
			
		||||
}}
 | 
			
		||||
{{ table }}
 | 
			
		||||
{{ form.add_group }}
 | 
			
		||||
{{ form.more }}
 | 
			
		||||
@ -0,0 +1,13 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for a generic views UI container/wrapper.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - attributes: HTML attributes to apply to the container element.
 | 
			
		||||
 * - children: The remaining elements such as dropbuttons and tabs.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<div{{ attributes }}>{{ children }}</div>
 | 
			
		||||
@ -0,0 +1,35 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for each "box" on the display query edit screen.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - attributes: HTML attributes to apply to the container element.
 | 
			
		||||
 * - actions: Action links such as "Add", "And/Or, Rearrange" for the content.
 | 
			
		||||
 * - title: The title of the bucket, e.g. "Fields", "Filter Criteria", etc.
 | 
			
		||||
 * - content: Content items such as fields or settings in this container.
 | 
			
		||||
 * - name: The name of the bucket, e.g. "Fields", "Filter Criteria", etc.
 | 
			
		||||
 * - overridden: A boolean indicating the setting has been overridden from the
 | 
			
		||||
 *   default.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_display_tab_bucket()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{%
 | 
			
		||||
  set classes = [
 | 
			
		||||
    'views-ui-display-tab-bucket',
 | 
			
		||||
    name ? name|clean_class,
 | 
			
		||||
    overridden ? 'overridden',
 | 
			
		||||
  ]
 | 
			
		||||
%}
 | 
			
		||||
<div{{ attributes.addClass(classes) }}>
 | 
			
		||||
  {% if title -%}
 | 
			
		||||
    <h3 class="views-ui-display-tab-bucket__title">{{ title }}</h3>
 | 
			
		||||
  {%- endif %}
 | 
			
		||||
  {% if actions -%}
 | 
			
		||||
    {{ actions }}
 | 
			
		||||
  {%- endif %}
 | 
			
		||||
  {{ content }}
 | 
			
		||||
</div>
 | 
			
		||||
@ -0,0 +1,37 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for Views UI display tab settings.
 | 
			
		||||
 *
 | 
			
		||||
 * Template for each row inside the "boxes" on the display query edit screen.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - attributes: HTML attributes such as class for the container.
 | 
			
		||||
 * - description: The description or label for this setting.
 | 
			
		||||
 * - settings_links: A list of links for this setting.
 | 
			
		||||
 * - defaulted: A boolean indicating the setting is in its default state.
 | 
			
		||||
 * - overridden: A boolean indicating the setting has been overridden from the
 | 
			
		||||
 *   default.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_display_tab_setting()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{%
 | 
			
		||||
  set classes = [
 | 
			
		||||
    'views-display-setting',
 | 
			
		||||
    'clearfix',
 | 
			
		||||
    'views-ui-display-tab-setting',
 | 
			
		||||
    defaulted ? 'defaulted',
 | 
			
		||||
    overridden ? 'overridden',
 | 
			
		||||
]
 | 
			
		||||
%}
 | 
			
		||||
<div{{ attributes.addClass(classes) }}>
 | 
			
		||||
  {% if description -%}
 | 
			
		||||
    <span class="label">{{ description }}</span>
 | 
			
		||||
  {%- endif %}
 | 
			
		||||
  {% if settings_links %}
 | 
			
		||||
    {{ settings_links|safe_join('<span class="label"> | </span>') }}
 | 
			
		||||
  {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
@ -0,0 +1,67 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for exposed filter form.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - form_description: The exposed filter's description.
 | 
			
		||||
 * - expose_button: The button to toggle the expose filter form.
 | 
			
		||||
 * - group_button: Toggle options between single and grouped filters.
 | 
			
		||||
 * - required: A checkbox to require this filter or not.
 | 
			
		||||
 * - label: A filter label input field.
 | 
			
		||||
 * - description: A filter description field.
 | 
			
		||||
 * - operator: The operators for how the filters value should be treated.
 | 
			
		||||
 *   - #type: The operator type.
 | 
			
		||||
 * - value: The filters available values.
 | 
			
		||||
 * - use_operator: Checkbox to allow the user to expose the operator.
 | 
			
		||||
 * - more: A details element for additional field exposed filter fields.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{{ form.form_description }}
 | 
			
		||||
{{ form.expose_button }}
 | 
			
		||||
{{ form.group_button }}
 | 
			
		||||
{{ form.required }}
 | 
			
		||||
{{ form.label }}
 | 
			
		||||
{{ form.description }}
 | 
			
		||||
 | 
			
		||||
{{ form.operator }}
 | 
			
		||||
{{ form.value }}
 | 
			
		||||
 | 
			
		||||
{% if form.use_operator %}
 | 
			
		||||
  <div class="views-left-40">
 | 
			
		||||
  {{ form.use_operator }}
 | 
			
		||||
  </div>
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
{#
 | 
			
		||||
  Collect a list of elements printed to exclude when printing the
 | 
			
		||||
  remaining elements.
 | 
			
		||||
#}
 | 
			
		||||
{% set remaining_form = form|without(
 | 
			
		||||
  'form_description',
 | 
			
		||||
  'expose_button',
 | 
			
		||||
  'group_button',
 | 
			
		||||
  'required',
 | 
			
		||||
  'label',
 | 
			
		||||
  'description',
 | 
			
		||||
  'operator',
 | 
			
		||||
  'value',
 | 
			
		||||
  'use_operator',
 | 
			
		||||
  'more'
 | 
			
		||||
  )
 | 
			
		||||
%}
 | 
			
		||||
 | 
			
		||||
{#
 | 
			
		||||
  Only output the right column markup if there's a left column to begin with.
 | 
			
		||||
#}
 | 
			
		||||
{% if form.operator['#type'] %}
 | 
			
		||||
  <div class="views-right-60">
 | 
			
		||||
  {{ remaining_form }}
 | 
			
		||||
  </div>
 | 
			
		||||
{% else %}
 | 
			
		||||
  {{ remaining_form }}
 | 
			
		||||
{% endif %}
 | 
			
		||||
 | 
			
		||||
{{ form.more }}
 | 
			
		||||
@ -0,0 +1,27 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for Views UI rearrange filter form.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - form: A render element representing the form.
 | 
			
		||||
 * - grouping: A flag whether or not there is more than one group.
 | 
			
		||||
 * - ungroupable_table: The ungroupable filter table.
 | 
			
		||||
 * - table: The groupable filter table.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_rearrange_filter_form()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{{ form.override }}
 | 
			
		||||
<div class="scroll" data-drupal-views-scroll>
 | 
			
		||||
  {% if grouping %}
 | 
			
		||||
    {{ form.filter_groups.operator }}
 | 
			
		||||
  {% else %}
 | 
			
		||||
    {{ form.filter_groups.groups.0 }}
 | 
			
		||||
  {% endif %}
 | 
			
		||||
  {{ ungroupable_table }}
 | 
			
		||||
  {{ table }}
 | 
			
		||||
</div>
 | 
			
		||||
{{ form|without('override', 'filter_groups', 'remove_groups', 'filters') }}
 | 
			
		||||
@ -0,0 +1,18 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default template for the settings of a table style views display.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - table: A table of options for each field in this display.
 | 
			
		||||
 * - form: Any remaining form fields not included in the table.
 | 
			
		||||
 *   - description_markup: An overview for the settings of this display.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_style_plugin_table()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
{{ form.description_markup }}
 | 
			
		||||
{{ table }}
 | 
			
		||||
{{ form }}
 | 
			
		||||
@ -0,0 +1,24 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for views displays on the views listing page.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - displays: Contains multiple display instances. Each display contains:
 | 
			
		||||
 *   - display: Display name.
 | 
			
		||||
 *   - path: Path to display, if any.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<ul>
 | 
			
		||||
  {% for display in displays %}
 | 
			
		||||
    <li>
 | 
			
		||||
      {% if display.path %}
 | 
			
		||||
        {{ display.display }} <span data-drupal-selector="views-table-filter-text-source">({{ display.path }})</span>
 | 
			
		||||
      {% else %}
 | 
			
		||||
        {{ display.display }}
 | 
			
		||||
      {% endif %}
 | 
			
		||||
    </li>
 | 
			
		||||
  {% endfor %}
 | 
			
		||||
</ul>
 | 
			
		||||
@ -0,0 +1,28 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for basic administrative info about a View.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - displays: List of displays.
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<h3 class="views-ui-view-title" data-drupal-selector="views-table-filter-text-source">{{ view.label }}</h3>
 | 
			
		||||
<div class="views-ui-view-displays">
 | 
			
		||||
  {% if displays %}
 | 
			
		||||
    {% trans %}
 | 
			
		||||
      Display
 | 
			
		||||
    {% plural displays %}
 | 
			
		||||
      Displays
 | 
			
		||||
    {% endtrans %}:
 | 
			
		||||
    <em>{{ displays|safe_join(', ') }}</em>
 | 
			
		||||
  {% else %}
 | 
			
		||||
    {{ 'None'|t }}
 | 
			
		||||
  {% endif %}
 | 
			
		||||
</div>
 | 
			
		||||
<div class="views-ui-view-machine-name">
 | 
			
		||||
  {{ 'Machine name:'|t }}
 | 
			
		||||
  <span data-drupal-selector="views-table-filter-text-source">{{ view.id }}</span>
 | 
			
		||||
</div>
 | 
			
		||||
@ -0,0 +1,20 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for a views UI preview section.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - title: The human readable section title.
 | 
			
		||||
 * - links: A list of contextual links.
 | 
			
		||||
 * - content: The content for this section preview.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_view_preview_section()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<h1 class="section-title">{{ title }}</h1>
 | 
			
		||||
{% if links %}
 | 
			
		||||
  <div class="contextual">{{ links }}</div>
 | 
			
		||||
{% endif %}
 | 
			
		||||
<div class="preview-section">{{ content }}</div>
 | 
			
		||||
@ -0,0 +1,49 @@
 | 
			
		||||
{#
 | 
			
		||||
/**
 | 
			
		||||
 * @file
 | 
			
		||||
 * Default theme implementation for views listing table.
 | 
			
		||||
 *
 | 
			
		||||
 * Available variables:
 | 
			
		||||
 * - headers: Contains table headers.
 | 
			
		||||
 * - rows: Contains multiple rows. Each row contains:
 | 
			
		||||
 *   - view_name: The human-readable name of the view.
 | 
			
		||||
 *   - machine_name: Machine name of the view.
 | 
			
		||||
 *   - description: The description of the view.
 | 
			
		||||
 *   - displays: List of displays attached to the view.
 | 
			
		||||
 *   - operations: List of available operations.
 | 
			
		||||
 *
 | 
			
		||||
 * @see template_preprocess_views_ui_views_listing_table()
 | 
			
		||||
 *
 | 
			
		||||
 * @ingroup themeable
 | 
			
		||||
 */
 | 
			
		||||
#}
 | 
			
		||||
<table{{ attributes.addClass('responsive-enabled') }}>
 | 
			
		||||
  <thead>
 | 
			
		||||
    <tr>
 | 
			
		||||
      {% for header in headers %}
 | 
			
		||||
        <th{{ header.attributes }}>{{ header.data }}</th>
 | 
			
		||||
      {% endfor %}
 | 
			
		||||
    </tr>
 | 
			
		||||
  </thead>
 | 
			
		||||
  <tbody>
 | 
			
		||||
    {% for row in rows %}
 | 
			
		||||
      <tr{{ row.attributes }}>
 | 
			
		||||
        <td class="views-ui-view-name">
 | 
			
		||||
          <strong data-drupal-selector="views-table-filter-text-source">{{ row.data.view_name.data }}</strong>
 | 
			
		||||
        </td>
 | 
			
		||||
        <td class="views-ui-view-machine-name" data-drupal-selector="views-table-filter-text-source">
 | 
			
		||||
          {{ row.data.machine_name.data }}
 | 
			
		||||
        </td>
 | 
			
		||||
        <td class="views-ui-view-description" data-drupal-selector="views-table-filter-text-source">
 | 
			
		||||
          {{ row.data.description.data }}
 | 
			
		||||
        </td>
 | 
			
		||||
        <td class="views-ui-view-displays">
 | 
			
		||||
          {{ row.data.displays.data }}
 | 
			
		||||
        </td>
 | 
			
		||||
        <td class="views-ui-view-operations">
 | 
			
		||||
          {{ row.data.operations.data }}
 | 
			
		||||
        </td>
 | 
			
		||||
      </tr>
 | 
			
		||||
    {% endfor %}
 | 
			
		||||
  </tbody>
 | 
			
		||||
</table>
 | 
			
		||||
		Reference in New Issue
	
	Block a user