aboutsummaryrefslogtreecommitdiff
path: root/srcs/phpmyadmin/templates/server/engines/index.twig
diff options
context:
space:
mode:
Diffstat (limited to 'srcs/phpmyadmin/templates/server/engines/index.twig')
-rw-r--r--srcs/phpmyadmin/templates/server/engines/index.twig27
1 files changed, 27 insertions, 0 deletions
diff --git a/srcs/phpmyadmin/templates/server/engines/index.twig b/srcs/phpmyadmin/templates/server/engines/index.twig
new file mode 100644
index 0000000..2b92dc1
--- /dev/null
+++ b/srcs/phpmyadmin/templates/server/engines/index.twig
@@ -0,0 +1,27 @@
+<h2>
+ {{ get_image('b_engine') }}
+ {% trans 'Storage engines' %}
+</h2>
+
+<table class="noclick">
+ <thead>
+ <tr>
+ <th>{% trans 'Storage Engine' %}</th>
+ <th>{% trans 'Description' %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for engine, details in engines %}
+ <tr class="
+ {{- details['Support'] == 'NO' or details['Support'] == 'DISABLED' ? ' disabled' }}
+ {{ details['Support'] == 'DEFAULT' ? ' marked' }}">
+ <td>
+ <a rel="newpage" href="server_engines.php{{ get_common({'engine': engine}) }}">
+ {{ details['Engine'] }}
+ </a>
+ </td>
+ <td>{{ details['Comment'] }}</td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>