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/console/bookmark_content.twig | 25 --- srcs/phpmyadmin/templates/console/display.twig | 192 --------------------- .../phpmyadmin/templates/console/query_action.twig | 12 -- srcs/phpmyadmin/templates/console/toolbar.twig | 10 -- 4 files changed, 239 deletions(-) delete mode 100644 srcs/phpmyadmin/templates/console/bookmark_content.twig delete mode 100644 srcs/phpmyadmin/templates/console/display.twig delete mode 100644 srcs/phpmyadmin/templates/console/query_action.twig delete mode 100644 srcs/phpmyadmin/templates/console/toolbar.twig (limited to 'srcs/phpmyadmin/templates/console') diff --git a/srcs/phpmyadmin/templates/console/bookmark_content.twig b/srcs/phpmyadmin/templates/console/bookmark_content.twig deleted file mode 100644 index 259edbf..0000000 --- a/srcs/phpmyadmin/templates/console/bookmark_content.twig +++ /dev/null @@ -1,25 +0,0 @@ -
- {{ welcome_message }} -
-{% for bookmark in bookmarks %} - -{% endfor %} diff --git a/srcs/phpmyadmin/templates/console/display.twig b/srcs/phpmyadmin/templates/console/display.twig deleted file mode 100644 index 3d54c9e..0000000 --- a/srcs/phpmyadmin/templates/console/display.twig +++ /dev/null @@ -1,192 +0,0 @@ -
-
- {# Console toolbar #} - {% include 'console/toolbar.twig' with { - 'parent_div_classes': 'collapsed', - 'content_array': [ - {0: 'switch_button console_switch', 1: 'Console'|trans, 'image': image}, - ['button clear', 'Clear'|trans], - ['button history', 'History'|trans], - ['button options', 'Options'|trans], - cfg_bookmark is defined ? ['button bookmarks', 'Bookmarks'|trans] : null, - ['button debug hide', 'Debug SQL'|trans] - ] - } only %} - {# Console messages #} -
-
-
- - {% trans 'Press Ctrl+Enter to execute query' %} - - - {% trans 'Press Enter to execute query' %} - -
- {% if sql_history is not empty %} - {% for record in sql_history|reverse %} - - {% endfor %} - {% endif %} -
-
- -
-
- {# Drak the console with other cards over it #} -
- {# Debug SQL card #} -
- {% include 'console/toolbar.twig' with { - 'parent_div_classes': '', - 'content_array': [ - ['button order order_asc', 'ascending'|trans], - ['button order order_desc', 'descending'|trans], - ['text', 'Order:'|trans], - ['switch_button', 'Debug SQL'|trans], - ['button order_by sort_count', 'Count'|trans], - ['button order_by sort_exec', 'Execution order'|trans], - ['button order_by sort_time', 'Time taken'|trans], - ['text', 'Order by:'|trans], - ['button group_queries', 'Group queries'|trans], - ['button ungroup_queries', 'Ungroup queries'|trans] - ] - } only %} -
-
-
-
-
- {% include 'console/query_action.twig' with { - 'parent_div_classes': 'debug_query action_content', - 'content_array': [ - ['action collapse', 'Collapse'|trans], - ['action expand', 'Expand'|trans], - ['action dbg_show_trace', 'Show trace'|trans], - ['action dbg_hide_trace', 'Hide trace'|trans], - ['text count hide', 'Count'|trans], - ['text time', 'Time taken'|trans] - ] - } only %} -
-
- {% if cfg_bookmark %} -
- {% include 'console/toolbar.twig' with { - 'parent_div_classes': '', - 'content_array': [ - ['switch_button', 'Bookmarks'|trans], - ['button refresh', 'Refresh'|trans], - ['button add', 'Add'|trans] - ] - } only %} -
- {{ bookmark_content|raw }} -
-
-
- {% include 'console/toolbar.twig' with { - 'parent_div_classes': '', - 'content_array': [ - ['switch_button', 'Add bookmark'|trans] - ] - } only %} -
-
- - - - -
-
- -
-
-
-
- {% endif %} - {# Options card #} -
- {% include 'console/toolbar.twig' with { - 'parent_div_classes': '', - 'content_array': [ - ['switch_button', 'Options'|trans], - ['button default', 'Set default'|trans] - ] - } only %} -
- -
- -
- -
- -
- -
-
-
-
- {# Templates for console message actions #} - {% include 'console/query_action.twig' with { - 'parent_div_classes': 'query_actions', - 'content_array': [ - ['action collapse', 'Collapse'|trans], - ['action expand', 'Expand'|trans], - ['action requery', 'Requery'|trans], - ['action edit', 'Edit'|trans], - ['action explain', 'Explain'|trans], - ['action profiling', 'Profiling'|trans], - cfg_bookmark is defined ? ['action bookmark', 'Bookmark'|trans] : null, - ['text failed', 'Query failed'|trans], - {0: 'text targetdb', 1: 'Database'|trans, 'extraSpan': ''}, - {0: 'text query_time', 1: 'Queried time'|trans, 'extraSpan': ''} - ] - } only %} -
-
-
diff --git a/srcs/phpmyadmin/templates/console/query_action.twig b/srcs/phpmyadmin/templates/console/query_action.twig deleted file mode 100644 index 62bc30a..0000000 --- a/srcs/phpmyadmin/templates/console/query_action.twig +++ /dev/null @@ -1,12 +0,0 @@ -
- {% for content in content_array %} - {% if content is defined %} - - {{ content[1] }} - {% if content['extraSpan'] is defined %} - : {{ content['extraSpan'] }} - {% endif %} - - {% endif %} - {% endfor %} -
diff --git a/srcs/phpmyadmin/templates/console/toolbar.twig b/srcs/phpmyadmin/templates/console/toolbar.twig deleted file mode 100644 index b16c290..0000000 --- a/srcs/phpmyadmin/templates/console/toolbar.twig +++ /dev/null @@ -1,10 +0,0 @@ -
- {% for content in content_array %} - {% if content is defined %} -
- {{ content['image'] is defined ? content['image']|raw }} - {{ content[1] }} -
- {% endif %} - {% endfor %} -
-- cgit