[Rt-commit] rt branch, 5.0/center-groups-simple-search, created. rt-5.0.0alpha1-214-g32f8880661

Craig Kaiser craig at bestpractical.com
Mon May 4 09:06:36 EDT 2020


The branch, 5.0/center-groups-simple-search has been created
        at  32f88806616aa1ee8e049df0b883fe0f09f4631e (commit)

- Log -----------------------------------------------------------------
commit 32f88806616aa1ee8e049df0b883fe0f09f4631e
Author: Craig <craig at bestpractical.com>
Date:   Mon May 4 09:06:02 2020 -0400

    Center group search page's content

diff --git a/share/html/Elements/GotoGroup b/share/html/Elements/GotoGroup
index 6c02086e8b..4b92b661a0 100644
--- a/share/html/Elements/GotoGroup
+++ b/share/html/Elements/GotoGroup
@@ -54,8 +54,8 @@ jQuery(function(){
 });
 </script>
 <form name="GroupSearch" method="post" action="<% RT->Config->Get('WebPath') %>/Group/Search.html">
-  <div class="form-row">
-    <div class="col-auto">
+  <div class="form-row justify-content-center">
+    <div class="col-4">
       <input type="text" class="form-control" name="GroupString" value="<% $Default %>" data-autocomplete="Groups" data-autocomplete-return="Name" id="autocomplete-GroupString" />
     </div>
     <div class="col-auto">
diff --git a/share/html/Group/Search.html b/share/html/Group/Search.html
index 0716c7298e..a6305606f7 100644
--- a/share/html/Group/Search.html
+++ b/share/html/Group/Search.html
@@ -50,8 +50,11 @@
 
 <& /Elements/GotoGroup, Default => $GroupString||'' &>
 
-<p> <&|/l&>This will search for groups by looking in the following fields:</&> <% $search_fields %></p>
-
+<div class="form-row text-center">
+  <div class="col-12">
+    <p> <&|/l&>This will search for groups by looking in the following fields:</&> <% $search_fields %></p>
+  </div>
+</div>
 % if ($GroupString) {
 
 % unless ( $groups->Count ) {

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


More information about the rt-commit mailing list