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 --- .../templates/server/databases/index.twig | 323 --------------------- 1 file changed, 323 deletions(-) delete mode 100644 srcs/phpmyadmin/templates/server/databases/index.twig (limited to 'srcs/phpmyadmin/templates/server/databases/index.twig') diff --git a/srcs/phpmyadmin/templates/server/databases/index.twig b/srcs/phpmyadmin/templates/server/databases/index.twig deleted file mode 100644 index ebff55f..0000000 --- a/srcs/phpmyadmin/templates/server/databases/index.twig +++ /dev/null @@ -1,323 +0,0 @@ -

- {{ get_image('s_db') }} - {% if has_statistics %} - {% trans 'Databases statistics' %} - {% else %} - {% trans 'Databases' %} - {% endif %} -

- -{% if is_create_database_shown %} - -{% endif %} - -{% if database_count > 0 %} - {% include 'filter.twig' with {'filter_value': ''} only %} - -
- {{ get_list_navigator( - database_count, - pos, - url_params, - 'server_databases.php', - 'frame_content', - max_db_list - ) }} - -
- {{ get_hidden_inputs(url_params) }} -
- - - - {% if is_drop_allowed %} - - {% endif %} - - - - - {% if has_statistics %} - {% for name, statistic in header_statistics %} - - - {{ statistic.title }} - {% if url_params.sort_by == name %} - {% if url_params.sort_order == 'asc' %} - {{ get_image('s_asc', 'Ascending'|trans) }} - {% else %} - {{ get_image('s_desc', 'Descending'|trans) }} - {% endif %} - {% endif %} - - - {% endfor %} - {% endif %} - - {% if has_master_replication %} - - {% endif %} - - {% if has_slave_replication %} - - {% endif %} - - - - - - - {% for database in databases %} - - {% if is_drop_allowed %} - - {% endif %} - - - - - - {% if has_statistics %} - {% for statistic in database.statistics %} - {% if statistic.format is same as('byte') %} - {% set value = format_byte_down(statistic.raw, 3, 1) %} - - - {% else %} - - {% endif %} - {% endfor %} - {% endif %} - - {% if database.replication.master.status %} - {% if database.replication.master.is_replicated %} - - {% else %} - - {% endif %} - {% endif %} - - {% if database.replication.slave.status %} - {% if database.replication.slave.is_replicated %} - - {% else %} - - {% endif %} - {% endif %} - - - - {% endfor %} - - - - - - - {% if has_statistics %} - {% for statistic in total_statistics %} - {% if statistic.format is same as('byte') %} - {% set value = format_byte_down(statistic.raw, 3, 1) %} - - - {% else %} - - {% endif %} - {% endfor %} - {% endif %} - - {% if has_master_replication %} - - {% endif %} - - {% if has_slave_replication %} - - {% endif %} - - - - -
- - {% trans 'Database' %} - {% if url_params.sort_by == 'SCHEMA_NAME' %} - {% if url_params.sort_order == 'asc' %} - {{ get_image('s_asc', 'Ascending'|trans) }} - {% else %} - {{ get_image('s_desc', 'Descending'|trans) }} - {% endif %} - {% endif %} - - - - {% trans 'Collation' %} - {% if url_params.sort_by == 'DEFAULT_COLLATION_NAME' %} - {% if url_params.sort_order == 'asc' %} - {{ get_image('s_asc', 'Ascending'|trans) }} - {% else %} - {{ get_image('s_desc', 'Descending'|trans) }} - {% endif %} - {% endif %} - - {% trans 'Master replication' %}{% trans 'Slave replication' %}{% trans 'Action' %}
- - - - {{ database.name }} - - - - {{ database.collation.name }} - - - - {{ value[0] }} - - {{ value[1] }} - - {{ format_number(statistic.raw, 0) }} - - - {{ get_icon('s_success', 'Replicated'|trans) }} - - {{ get_icon('s_cancel', 'Not replicated'|trans) }} - - {{ get_icon('s_success', 'Replicated'|trans) }} - - {{ get_icon('s_cancel', 'Not replicated'|trans) }} - - - {{ get_icon('s_rights', 'Check privileges'|trans) }} - -
- {% trans 'Total:' %} - - {{- database_count -}} - - - - {{ value[0] }} - - {{ value[1] }} - - {{ format_number(statistic.raw, 0) }} - -
-
- - {# Footer buttons #} - {% if is_drop_allowed %} - {% include 'select_all.twig' with { - 'pma_theme_image': pma_theme_image, - 'text_dir': text_dir, - 'form_name': 'dbStatsForm' - } only %} - - {{ get_button_or_image( - '', - 'mult_submit ajax', - 'Drop'|trans, - 'b_deltbl' - ) }} - {% endif %} - - {# Enable statistics #} - {% if not has_statistics %} - {{ 'Note: Enabling the database statistics here might cause heavy traffic between the web server and the MySQL server.'|trans|notice }} - - {% endif %} -
-
-{% else %} -

{{ 'No databases'|trans|notice }}

-{% endif %} -- cgit