From 5312282eebac11dc2eec249c7ae063f3f69c49c2 Mon Sep 17 00:00:00 2001 From: Julien Verneuil Date: Tue, 3 May 2016 11:33:55 +0200 Subject: [PATCH] enhance the visual style of generic jquery_button by wrapping the content inside a table and adding "cellspacing" attribute to the table --- web/jQuery/CXM_jquery_button.anubis | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/web/jQuery/CXM_jquery_button.anubis b/web/jQuery/CXM_jquery_button.anubis index cf73916..118379b 100644 --- a/web/jQuery/CXM_jquery_button.anubis +++ b/web/jQuery/CXM_jquery_button.anubis @@ -178,6 +178,7 @@ public define HTML_Partial_Content = if button is jQuery_button(bt_type, id, name, label, actioner, primary, secondary) then with onclick_action=jquery_button_get_onclick_action(id, actioner), + btn_seq = (HTML_Off_Form)sequence([literal("")]), if jquery_icon_to_string(primary) = "" then if jquery_icon_to_string(secondary) = "" then partial_content( @@ -185,7 +186,9 @@ public define HTML_Partial_Content js_inline(jquery_ready("$('#"+id+"').button();")), onclick_action ], - literal("") + btn_seq + //sequence([literal("")]) + //literal("") ) else partial_content( @@ -193,7 +196,8 @@ public define HTML_Partial_Content js_inline(jquery_ready("$('#"+id+"').button({icons:{secondary:'"+jquery_icon_to_string(secondary)+"'}});")), onclick_action ], - literal("") + btn_seq + //literal("") ) else if jquery_icon_to_string(secondary) = "" then @@ -202,7 +206,8 @@ public define HTML_Partial_Content js_inline(jquery_ready("$('#"+id+"').button({icons:{primary:'"+jquery_icon_to_string(primary)+"'}});")), onclick_action ], - literal("") + btn_seq + //literal("") ) else partial_content( @@ -210,7 +215,8 @@ public define HTML_Partial_Content js_inline(jquery_ready("$('#"+id+"').button({icons:{primary:'"+jquery_icon_to_string(primary)+"',secondary:'"+jquery_icon_to_string(secondary)+"'}});")), onclick_action ], - literal("") + btn_seq + //literal("") ) . -- libgit2 0.21.4