From aff49709a471b3a0c3226329554e2c734ac6de39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Meneghini=20Fauth?= Date: Wed, 25 Mar 2020 15:19:43 -0300 Subject: [PATCH] Replace fieldset with card in view operations page MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MaurĂ­cio Meneghini Fauth --- templates/table/operations/view.twig | 44 +++++++++++++--------------- 1 file changed, 21 insertions(+), 23 deletions(-) diff --git a/templates/table/operations/view.twig b/templates/table/operations/view.twig index d34ed6929f..917fc86472 100644 --- a/templates/table/operations/view.twig +++ b/templates/table/operations/view.twig @@ -1,29 +1,27 @@ -
+
{{ get_hidden_inputs(db, table) }} + -
- {% trans 'Operations' %} - -
- - +
+
{% trans 'Operations' %}
+
+
+ + +
-
- -
- - -
+ +
-
-
-
- {% trans 'Delete data or table' %} -
    -
  • +
    +
    {% trans 'Delete data or table' %}
    +
    +
    {{ link_or_button( url('/sql', url_params|merge({ 'sql_query': 'DROP VIEW ' ~ backquote(table), @@ -36,11 +34,11 @@ 'Delete the view (DROP)'|trans, { 'id': 'drop_view_anchor', - 'class': 'ajax' + 'class': 'text-danger ajax' } ) }} {{ show_mysql_docu('DROP VIEW') }} -
  • -
-
+
+ +