Server IP : 51.89.169.208 / Your IP : 18.226.181.36 Web Server : Apache System : Linux ns3209505.ip-198-244-202.eu 4.18.0-553.27.1.el8_10.x86_64 #1 SMP Tue Nov 5 04:50:16 EST 2024 x86_64 User : yellowleaf ( 1019) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/yellowleaf/www/phpMyAdmin/templates/table/tracking/ |
Upload File : |
<h3>{% trans 'Structure' %}</h3> <table id="tablestructure" class="table table-striped table-hover w-auto"> <thead> <tr> <th>{% trans %}#{% context %}Number{% endtrans %}</th> <th>{% trans 'Column' %}</th> <th>{% trans 'Type' %}</th> <th>{% trans 'Collation' %}</th> <th>{% trans 'Null' %}</th> <th>{% trans 'Default' %}</th> <th>{% trans 'Extra' %}</th> <th>{% trans 'Comment' %}</th> </tr> </thead> <tbody> {% set index = 1 %} {% for field in columns %} <tr class="noclick"> <td>{{ index }}</td> {% set index = index + 1 %} <td> <strong> {{ 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 %} </strong> </td> <td>{{ field['Type'] }}</td> <td>{{ field['Collation'] }}</td> <td>{{ field['Null'] == 'YES' ? 'Yes'|trans : 'No'|trans }}</td> <td> {% 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' %} <em>NULL</em> {% else %} <em>{% trans %}None{% context %}None for default{% endtrans %}</em> {% endif %} {% endif %} </td> <td>{{ field['Extra'] }}</td> <td>{{ field['Comment'] }}</td> </tr> {% endfor %} </tbody> </table>