[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.9.4-434-g87f63bf

Thomas Sibley trs at bestpractical.com
Tue Nov 9 12:15:33 EST 2010


The branch, 3.9-trunk has been updated
       via  87f63bfe025b4696e8089fa5d14dfd7a183800f0 (commit)
      from  09b5fcc98b083ec852f0494e1775eb7cfffdff6b (commit)

Summary of changes:
 share/html/Elements/PersonalQuickbar     |    5 ++---
 share/html/NoAuth/css/aileron/layout.css |    5 -----
 share/html/NoAuth/css/ballard/layout.css |    7 -------
 share/html/NoAuth/css/base/login.css     |   14 ++++++++++++++
 share/html/NoAuth/css/web2/layout.css    |    7 -------
 5 files changed, 16 insertions(+), 22 deletions(-)

- Log -----------------------------------------------------------------
commit 87f63bfe025b4696e8089fa5d14dfd7a183800f0
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Tue Nov 9 12:15:30 2010 -0500

    Consistently style the "Not logged in" message across all themes

diff --git a/share/html/Elements/PersonalQuickbar b/share/html/Elements/PersonalQuickbar
index 0c6893e..c7ad50f 100644
--- a/share/html/Elements/PersonalQuickbar
+++ b/share/html/Elements/PersonalQuickbar
@@ -50,9 +50,8 @@ $Prefs => '/Prefs/Other.html'
 </%ARGS>
 <div id="quick-personal">
     <span class="hide"><a href="#skipnav"><&|/l&>Skip Menu</&></a> | </span>
-% if ($session{'CurrentUser'}->Name) {
-% } else {
-    <&|/l&>Not logged in.</&>
+% unless ($session{'CurrentUser'}->Id) {
+    <span id="not-logged-in"><&|/l&>Not logged in.</&></span>
 % }
 % $m->callback( %ARGS );
 </div>
diff --git a/share/html/NoAuth/css/aileron/layout.css b/share/html/NoAuth/css/aileron/layout.css
index 3b5aea3..0f1f396 100644
--- a/share/html/NoAuth/css/aileron/layout.css
+++ b/share/html/NoAuth/css/aileron/layout.css
@@ -149,11 +149,6 @@ div#quickbar {
  border-bottom: 1px solid #ccc;
 
 }
-div#quick-personal {
-    float: left;
-    margin-left: 1em;
-}
-
 
 div#header h1 {
  position: absolute;
diff --git a/share/html/NoAuth/css/ballard/layout.css b/share/html/NoAuth/css/ballard/layout.css
index 9418fa2..24275d0 100644
--- a/share/html/NoAuth/css/ballard/layout.css
+++ b/share/html/NoAuth/css/ballard/layout.css
@@ -150,13 +150,6 @@ div#quickbar {
 
 }
 
-#quick-personal {
-    position: absolute;
-    top: 0;
-    left: 0;
-    z-index: 9999
-}
-
 div#header h1 {
  position: absolute;
  left: 0.5em;
diff --git a/share/html/NoAuth/css/base/login.css b/share/html/NoAuth/css/base/login.css
index 3b6fa95..005944d 100644
--- a/share/html/NoAuth/css/base/login.css
+++ b/share/html/NoAuth/css/base/login.css
@@ -80,3 +80,17 @@ margin-right:auto;margin-left:auto;
 #login-box .button-row {
   margin-top: 0.5em;
 }
+
+#quick-personal {
+    position: absolute;
+    top: 0;
+    left: 0;
+    z-index: 9999;
+}
+
+#quick-personal #not-logged-in {
+    display: block;
+    padding-top: 0.5em;
+    padding-left: 1em;
+}
+
diff --git a/share/html/NoAuth/css/web2/layout.css b/share/html/NoAuth/css/web2/layout.css
index 3ba58ae..9199e2b 100644
--- a/share/html/NoAuth/css/web2/layout.css
+++ b/share/html/NoAuth/css/web2/layout.css
@@ -150,13 +150,6 @@ div#quickbar {
 
 }
 
-#quick-personal {
-    position: absolute;
-    top: 0;
-    left: 0;
-    z-index: 9999
-}
-
 #prefs-menu.sf-menu li li {
     background: #eaeaea;
 }

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


More information about the Rt-commit mailing list