[Rt-commit] rt branch, 5.0/round-2-updates-for-mobile, updated. rt-5.0.0-173-geead0bbccf

Blaine Motsinger blaine at bestpractical.com
Tue Dec 29 20:08:26 EST 2020


The branch, 5.0/round-2-updates-for-mobile has been updated
       via  eead0bbccf57829093613b8940fd81a1437fc5d0 (commit)
      from  6f71c2b22ab4863cd67eb94b5f283bbfddb88973 (commit)

Summary of changes:
 share/html/Prefs/Elements/EditAboutMe | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

- Log -----------------------------------------------------------------
commit eead0bbccf57829093613b8940fd81a1437fc5d0
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Tue Dec 29 19:04:19 2020 -0600

    Update prefs page to support single column layout
    
    On mobile layout or smaller window sizes, the Prefs AboutMe page
    was not correctly flowing to a single column layout, similar to
    Admin/Users/Modify.  This commit fixes EditAboutMe to support the
    single column at smaller sizes, and double column at larger.
    
    Additionally, this commit fixes the col definition for the
    signature box on the EditAboutMe page to match Admin/Users/Modify.

diff --git a/share/html/Prefs/Elements/EditAboutMe b/share/html/Prefs/Elements/EditAboutMe
index af2e0ff34a..7e8bf75ed7 100644
--- a/share/html/Prefs/Elements/EditAboutMe
+++ b/share/html/Prefs/Elements/EditAboutMe
@@ -48,9 +48,9 @@
 <form name="EditAboutMe" action="" method="post" enctype="multipart/form-data">
 <input type="hidden" class="hidden" name="id" value="<%$UserObj->Id%>" />
 
-<div class="form-row">
+<div class="row">
 %### Left column ###
-  <div class="col-6">
+  <div class="boxcontainer col-xl-6">
 
     <&| /Widgets/TitleBox, title => loc('Identity'), id => "user-prefs-identity" &>
       <input type="hidden" class="hidden" name="Name" value="<%$UserObj->Name%>" />
@@ -153,8 +153,7 @@
   </div>
 
 %### Right column ###
-  <div class="col-6
-  ">
+  <div class="boxcontainer col-xl-6">
 
     <&| /Widgets/TitleBox, title => loc( $AccessControlName ), id => "user-prefs-access-control" &>
 % if ( $UserObj->__Value('Password') ne '*NO-PASSWORD*' ) {
@@ -249,7 +248,7 @@
 
 %if ($UserObj->Privileged) {
 <div class="form-row">
-  <div class="col-6">
+  <div class="col-12">
     <&| /Widgets/TitleBox, title => loc('Signature'), id => "user-prefs-signature" &>
       <textarea class="form-control signature" cols="80" rows="5" name="Signature" wrap="hard">
       <%$UserObj->Signature || ''%></textarea>

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


More information about the rt-commit mailing list