[Bps-public-commit] rt-extension-formtools branch dynamic-forms-from-config updated. 0.53-99-gf42ab01

BPS Git Server git at git.bestpractical.com
Fri Nov 3 19:40:58 UTC 2023


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt-extension-formtools".

The branch, dynamic-forms-from-config has been updated
       via  f42ab019e8dc72643ea69bab14baa12148502802 (commit)
      from  95e1c8f70eb518c140e558286550260871bbe823 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit f42ab019e8dc72643ea69bab14baa12148502802
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Nov 3 10:11:10 2023 -0400

    Align the text in badge and the following content

diff --git a/html/Admin/FormTools/Modify.html b/html/Admin/FormTools/Modify.html
index 8f711f7..12747e9 100644
--- a/html/Admin/FormTools/Modify.html
+++ b/html/Admin/FormTools/Modify.html
@@ -18,7 +18,7 @@
         <div id="formtools-element-<% $item %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" data-value="<% JSON({ type => 'raw_html', $item eq 'hr' ? ( wrapper => 'hr', html => "<$item>" ) : () }) %>">
           <p class="formtools-element-placeholder m-1 p-2 border rounded"><% loc('Place here') %></p>
           <p class="m-1 p-2 border rounded">
-            <span class="badge badge-primary"><% $item eq 'html' ? 'HTML' : uc($item) %></span>
+            <span class="badge badge-primary align-text-bottom"><% $item eq 'html' ? 'HTML' : uc($item) %></span>
             <span class="content"><% loc('[_1] Element', uc($item)) %></span>
 %           if ( $item ne 'hr' ) {
             <a href="#" class="edit" data-toggle="modal" data-target="#formtools-element-modal">
@@ -76,7 +76,7 @@
         <div id="formtools-element-<% $item %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" data-value="<% JSON({ type => 'component', comp_name => 'Field', arguments => { name => $item } }) %>">
           <p class="formtools-element-placeholder m-1 p-2 border rounded"><% loc('Place here') %></p>
           <p class="m-1 p-2 border rounded">
-            <span class="badge badge-primary"><% loc('Core Field') %></span>
+            <span class="badge badge-primary align-text-bottom"><% loc('Core Field') %></span>
             <span class="content"><% $item %> <span class="label"></span></span>
             <a href="#" class="edit" data-toggle="modal" data-target="#formtools-element-modal">
               <span class="fas fa-pencil-alt" alt="<% loc('Edit') %>" data-toggle="tooltip" data-placement="top" data-original-title="<% loc('Edit') %>"></span>
@@ -128,7 +128,7 @@
         <div id="formtools-element-<% CSSClass($item) %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" data-value="<% JSON({ type => 'component', comp_name => 'Field', arguments => { name => $item } }) %>">
           <p class="formtools-element-placeholder m-1 p-2 border rounded"><% loc('Place here') %></p>
           <p class="m-1 p-2 border rounded">
-            <span class="badge badge-primary"><% loc('Custom Field') %></span>
+            <span class="badge badge-primary align-text-bottom"><% loc('Custom Field') %></span>
             <span class="content"><% $item %> <span class="label"></span></span>
             <a href="#" class="edit" data-toggle="modal" data-target="#formtools-element-modal">
               <span class="fas fa-pencil-alt" alt="<% loc('Edit') %>" data-toggle="tooltip" data-placement="top" data-original-title="<% loc('Edit') %>"></span>
@@ -189,7 +189,7 @@
         <div id="formtools-element-<% $item %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" data-value="<% JSON($other_components{$item}) %>">
           <p class="formtools-element-placeholder m-1 p-2 border rounded"><% loc('Place here') %></p>
           <p class="m-1 p-2 border rounded">
-            <span class="badge badge-primary"><% $other_components{$item}{type} eq 'hidden' ? loc('Hidden') : loc('Component') %></span>
+            <span class="badge badge-primary align-text-bottom"><% $other_components{$item}{type} eq 'hidden' ? loc('Hidden') : loc('Component') %></span>
             <span class="content"><% $item %></span>
 %         if ( $item eq 'Hidden' ) {
             <a href="#" class="edit" data-toggle="modal" data-target="#formtools-element-modal">
@@ -306,7 +306,7 @@
             <div id="formtools-element-<% $form_page_id{$page_name} %>-<% $i %>" class="formtools-element" draggable="true" ondragstart="formTools.dragstart(event);" ondragend="formTools.dragend(event);" ondragenter="formTools.dragenter(event)" ondragleave="formTools.dragleave(event)" data-value="<% JSON($item) %>">
               <p class="formtools-element-placeholder m-1 p-2 border rounded"><% loc('Place here') %></p>
               <p class="m-1 p-2 border rounded">
-                <span class="badge badge-primary">
+                <span class="badge badge-primary align-text-bottom">
 %                 if ( $item->{type} eq 'raw_html' ) {
                     <% uc($item->{wrapper} || 'HTML') %>
 %                 } elsif ( ( $item->{comp_name} // '' ) eq 'ShowChoices' ) {

-----------------------------------------------------------------------

Summary of changes:
 html/Admin/FormTools/Modify.html | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
rt-extension-formtools


More information about the Bps-public-commit mailing list