From: Greg Price Date: Thu, 17 Apr 2008 01:49:51 +0000 (-0400) Subject: Style logged-in message. X-Git-Tag: sipb-xen-www/3.4~48 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-web.git/commitdiff_plain/6c230e931916169324775ab96588472cf2c8e6ff 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 --- 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')