aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/table/search/fields_table.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/table/search/fields_table.twig')
-rw-r--r--srcs/phpmyadmin/templates/table/search/fields_table.twig33
1 files changed, 33 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/table/search/fields_table.twig b/srcs/phpmyadmin/templates/table/search/fields_table.twig
new file mode 100644
index 0000000..8b74939
--- /dev/null
+++ b/srcs/phpmyadmin/templates/table/search/fields_table.twig
@@ -0,0 +1,33 @@
+<table class="data"{{ search_type == 'zoom' ? ' id="tableFieldsId"' }}>
+ <thead>
+ <tr>
+ {% if geom_column_flag %}
+ <th>{% trans 'Function' %}</th>
+ {% endif %}
+ <th>{% trans 'Column' %}</th>
+ <th>{% trans 'Type' %}</th>
+ <th>{% trans 'Collation' %}</th>
+ <th>{% trans 'Operator' %}</th>
+ <th>{% trans 'Value' %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% if search_type == 'zoom' %}
+ {% include 'table/search/rows_zoom.twig' with {
+ 'self': self,
+ 'column_names': column_names,
+ 'keys': keys,
+ 'criteria_column_names': criteria_column_names,
+ 'criteria_column_types': criteria_column_types
+ } only %}
+ {% else %}
+ {% include 'table/search/rows_normal.twig' with {
+ 'self': self,
+ 'geom_column_flag': geom_column_flag,
+ 'column_names': column_names,
+ 'column_types': column_types,
+ 'column_collations': column_collations
+ } only %}
+ {% endif %}
+ </tbody>
+</table>