summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--css/site.css6
-rw-r--r--templates/header.tpl23
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 @@
</div>
{if isset($isLoggedIn)}
- <div id='headerMiddle'></div>
<div id='headerRight'>
Hi {$smarty.session.user.username|escape:"html"}.<br />
[<a href='logout.php'>Logout</a>]
</div>
{else}
- <form action='login.php' method='post' id='loginForm' onsubmit='return validateLoginFields();'>
- <div id='headerMiddle'>
- Login <input type='text' name='username' id='username' size='15' maxlength='25' /><br />
- Password <input type='password' name='password' id='password' size='15' maxlength='25' />
- </div>
- <div id='headerRight'>
- <input type='submit' name='doLogin' value='Login' style='margin-bottom: 1ex;' /><br />
- <a href='register.php'>Register</a>.
- </div>
- </form>
+ <div id='headerRight'>
+ <form action='login.php' method='post' id='loginForm' onsubmit='return validateLoginFields();'>
+ <div id='loginLeft'>
+ Login <input type='text' name='username' id='username' size='15' maxlength='25' /><br />
+ Password <input type='password' name='password' id='password' size='15' maxlength='25' />
+ </div>
+ <div id='loginRight'>
+ <input type='submit' name='doLogin' value='Login' style='margin-bottom: 1ex;' /><br />
+ <a href='register.php'>Register</a>.
+ </div>
+ </form>
+ </div>
{/if}
<div id='headerLinkBar'>