From 5bf66662a9bdd62c5bccab15e607cd95cfb8fcab Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 27 Jul 2020 10:05:23 +0200 Subject: Removed wordpress and phpmyadmin, my server doesn't handle it well and it brings shame on my familly --- .../table/tracking/structure_snapshot_columns.twig | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 srcs/phpmyadmin/templates/table/tracking/structure_snapshot_columns.twig (limited to 'srcs/phpmyadmin/templates/table/tracking/structure_snapshot_columns.twig') diff --git a/srcs/phpmyadmin/templates/table/tracking/structure_snapshot_columns.twig b/srcs/phpmyadmin/templates/table/tracking/structure_snapshot_columns.twig deleted file mode 100644 index 4ef8c21..0000000 --- a/srcs/phpmyadmin/templates/table/tracking/structure_snapshot_columns.twig +++ /dev/null @@ -1,56 +0,0 @@ -

{% trans 'Structure' %}

- - - - - - - - - - - - - - - {% set index = 1 %} - {% for field in columns %} - - - {% set index = index + 1 %} - - - - - - - - - {% endfor %} - -
{% trans %}#{% context %}Number{% endtrans %}{% trans 'Column' %}{% trans 'Type' %}{% trans 'Collation' %}{% trans 'Null' %}{% trans 'Default' %}{% trans 'Extra' %}{% trans 'Comment' %}
{{ index }} - - {{ field['Field'] }} - {% if field['Key'] == 'PRI' %} - {{ get_image('b_primary', 'Primary'|trans) }} - {% elseif field['Key'] is not empty %} - {{ get_image('bd_primary', 'Index'|trans) }} - {% endif %} - - {{ field['Type'] }}{{ field['Collation'] }}{{ field['Null'] == 'YES' ? 'Yes'|trans : 'No'|trans }} - {% if field['Default'] is defined %} - {% set extracted_columnspec = extract_column_spec(field['Type']) %} - {% if extracted_columnspec['type'] == 'bit' %} - {# here, $field['Default'] contains something like b'010' #} - {{ field['Default']|convert_bit_default_value }} - {% else %} - {{ field['Default'] }} - {% endif %} - {% else %} - {% if field['Null'] == 'YES' %} - NULL - {% else %} - {% trans %}None{% context %}None for default{% endtrans %} - {% endif %} - {% endif %} - {{ field['Extra'] }}{{ field['Comment'] }}
-- cgit