From 6c230e931916169324775ab96588472cf2c8e6ff Mon Sep 17 00:00:00 2001 From: Greg Price Date: Wed, 16 Apr 2008 21:49:51 -0400 Subject: [PATCH] Style logged-in message. Moved to upper right, name in bold. Also fixed a bug where a tag went unmatched when 'simple' is true. svn path=/trunk/packages/sipb-xen-www/; revision=417 --- code/static/style.css | 8 ++++++++ code/templates/skeleton.tmpl | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/code/static/style.css b/code/static/style.css index 3b713ec..cf11700 100644 --- a/code/static/style.css +++ b/code/static/style.css @@ -64,3 +64,11 @@ td.error { display: inline; padding: .2em; } + +/* Logged-in welcome message. */ +.loggedin { + float: right; +} +.loggedin .name { + font-weight: bold; +} diff --git a/code/templates/skeleton.tmpl b/code/templates/skeleton.tmpl index 99962db..4e3e51a 100644 --- a/code/templates/skeleton.tmpl +++ b/code/templates/skeleton.tmpl @@ -44,7 +44,7 @@ function helppopup(name){ #if not $varExists('simple') or not $simple -

[You are logged in as $user.]

+

Welcome, $user.

-#end if +#end if
#if $varExists('result') -- 1.7.9.5