From 11dda4516fd699bed0dbea92e8e8976f199e31da Mon Sep 17 00:00:00 2001 From: Nathan Kinkade Date: Sat, 8 Mar 2008 20:38:37 +0000 Subject: Rearrange header so that login and logout elements look and align better. --- css/site.css | 6 ++++++ templates/header.tpl | 23 ++++++++++++----------- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/css/site.css b/css/site.css index 5daa63e..03a3b26 100644 --- a/css/site.css +++ b/css/site.css @@ -137,6 +137,12 @@ a:hover.whiteLink { text-decoration: underline; } +#loginLeft { + float: left; + text-align: right; + margin-right: 1em; +} + #systemMsgs { position: absolute; width: 59%; diff --git a/templates/header.tpl b/templates/header.tpl index ca7371d..2f08cdd 100644 --- a/templates/header.tpl +++ b/templates/header.tpl @@ -17,23 +17,24 @@ {if isset($isLoggedIn)} -
Hi {$smarty.session.user.username|escape:"html"}.
[Logout]
{else} -
-
- Login
- Password -
-
-
- Register. -
-
+
+
+
+ Login
+ Password +
+
+
+ Register. +
+
+
{/if}