Backup of db before drupal security update
[yaffs-website] / web / core / modules / views_ui / templates / views-ui-views-listing-table.html.twig
1 {#
2 /**
3  * @file
4  * Default theme implementation for views listing table.
5  *
6  * Available variables:
7  * - headers: Contains table headers.
8  * - rows: Contains multiple rows. Each row contains:
9  *   - view_name: The human-readable name of the view.
10  *   - machine_name: Machine name of the view.
11  *   - description: The description of the view.
12  *   - displays: List of displays attached to the view.
13  *   - operations: List of available operations.
14  *
15  * @see template_preprocess_views_ui_views_listing_table()
16  *
17  * @ingroup themeable
18  */
19 #}
20 <table{{ attributes.addClass('responsive-enabled') }}>
21   <thead>
22     <tr>
23       {% for header in headers %}
24         <th{{ header.attributes }}>{{ header.data }}</th>
25       {% endfor %}
26     </tr>
27   </thead>
28   <tbody>
29     {% for row in rows %}
30       <tr{{ row.attributes }}>
31         <td class="views-ui-view-name">
32           <h3 data-drupal-selector="views-table-filter-text-source">{{ row.data.view_name.data }}</h3>
33         </td>
34         <td class="views-ui-view-machine-name" data-drupal-selector="views-table-filter-text-source">
35           {{ row.data.machine_name.data }}
36         </td>
37         <td class="views-ui-view-description" data-drupal-selector="views-table-filter-text-source">
38           {{ row.data.description.data }}
39         </td>
40         <td class="views-ui-view-displays">
41           {{ row.data.displays.data }}
42         </td>
43         <td class="views-ui-view-operations">
44           {{ row.data.operations.data }}
45         </td>
46       </tr>
47     {% endfor %}
48   </tbody>
49 </table>