[Rt-commit] rt branch, 4.6/simplify-footer, created. rt-4.4.4-724-ge172357202

Blaine Motsinger blaine at bestpractical.com
Wed Feb 5 20:30:21 EST 2020


The branch, 4.6/simplify-footer has been created
        at  e1723572027628d9c02959bc6c7a26147101b59a (commit)

- Log -----------------------------------------------------------------
commit e1723572027628d9c02959bc6c7a26147101b59a
Author: Blaine Motsinger <blaine at bestpractical.com>
Date:   Tue Feb 4 19:00:22 2020 -0600

    Change layout of footer
    
    This commit updates the footer by moving the version to the left,
    removing the GPL language, updating the Sales and Support
    language on the right, and updating styles.

diff --git a/share/html/Elements/Footer b/share/html/Elements/Footer
index 43c3b81916..3ace45d03f 100644
--- a/share/html/Elements/Footer
+++ b/share/html/Elements/Footer
@@ -53,14 +53,17 @@
 % if ($m->{'rt_base_time'}) {
   <p id="time"><span><&|/l&>Time to display</&>: <%Time::HiRes::tv_interval( $m->{'rt_base_time'} )%></span></p>
 %}
-    <div class="col-md-4 offset-md-4 col-sm-12">
-  <p id="bpscredits"><span><&|/l_unsafe,     '»|«', $RT::VERSION, '2019', '<a href="http://www.bestpractical.com?rt='.$RT::VERSION.'">Best Practical Solutions, LLC</a>', &>[_1] RT [_2] Copyright 1996-[_3] [_4].</&>
-</span></p>
-    </div>
+  <div class="col-md-4 col-sm-12">
+    <p id="version"><span><&|/l_unsafe, $RT::VERSION, &>RT Version [_1]</&></span></p>
+  </div>
+
+  <div class="col-md-4 col-sm-12">
+    <p id="bpscredits"><span><&|/l_unsafe, '2020', '<a href="https://bestpractical.com/about">Best Practical Solutions, LLC</a>', &>Copyright 1996-[_1] >>|<< [_2].</&></span></p>
+  </div>
 % if (!$Menu) {
-    <div class="col-md-4 col-sm-12">
-  <p id="legal"><&|/l_unsafe, '<a href="http://www.gnu.org/licenses/gpl-2.0.html">', '</a>' &>Distributed under [_1]version 2 of the GNU GPL[_2].</&><br /><&|/l_unsafe, '<a href="mailto:sales at bestpractical.com">sales at bestpractical.com</a>' &>To inquire about support, training, custom development or licensing, please contact [_1].</&><br /></p>
-    </div>
+  <div class="col-md-4 col-sm-12">
+    <p id="legal"><&|/l_unsafe, '<a href="mailto:sales at bestpractical.com">sales at bestpractical.com</a>' &>For support and sales inquiries, please contact [_1].</&></p>
+  </div>
 % }
 </div>
 % if ($Debug >= 2 ) {
diff --git a/share/static/css/elevator-light/layout.css b/share/static/css/elevator-light/layout.css
index 0b3c2aca91..181ef1be99 100644
--- a/share/static/css/elevator-light/layout.css
+++ b/share/static/css/elevator-light/layout.css
@@ -37,7 +37,8 @@ div#footer {
     background: #fff;
     padding-left: 15px;
     padding-right: 15px;
-    padding-top: 5px;
+    padding-top: 9px;
+    padding-bottom: 8px;
     bottom: 0;
     width: 100%;
     margin-left: 0;
@@ -56,17 +57,20 @@ div#footer #time {
 
 div#footer #bpscredits {
     text-align: center;
-    background: url(../../../static/images/bpslogo_wt_sm.svg) no-repeat top center !important;
-    padding-top: 2.5em;
 }
 
-div#footer a {
-    color: white;
+div#footer #version {
+    text-align: left;
 }
 
-/* Override the default bootstrap p margin to reduce bottom spacing in footer */
+div#footer p, div#footer a {
+    /*color: #f2f2f2;*/
+    color: #ededed;
+}
+
+/* Override the default bootstrap p margin to reset bottom spacing in footer */
 div#footer p {
-    margin-bottom: .5rem;
+    margin-bottom: 0;
 }
 
 /* logo stuff */

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


More information about the rt-commit mailing list