Files
galaxy/templates/masthead.tmpl
T
2007-12-28 21:34:24 +00:00

61 lines
2.1 KiB
Cheetah

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
#if $brand is not None:
#set $brand = "<span class='brand'>/%s</span>" % $brand
#end if
#if $wiki_url is None:
#set $wiki_url = "http://g2.trac.bx.psu.edu/"
#end if
#if $bugs_email is None:
#set $bugs_email = "mailto:galaxy-bugs@bx.psu.edu"
#end if
#if $blog_url is None:
#set $blog_url = "http://g2.trac.bx.psu.edu/blog"
#end if
#if $screencasts_url is None:
#set $screencasts_url = "http://g2.trac.bx.psu.edu/wiki/ScreenCasts"
#end if
<html>
<head>
<title>Galaxy</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="$h.url_for('/static/style/base.css')" rel="stylesheet" type="text/css" />
<link href="$h.url_for('/static/style/masthead.css')" rel="stylesheet" type="text/css" />
</head>
<body class="mastheadPage">
<table width="100%" cellspacing="0" border="0">
<tr valign="middle"><td width="26px"><a target="_blank" href="$wiki_url">
<img border="0" src="${h.url_for('/static/images/galaxyIcon_noText.png')}"></a></td>
<td align="left" valign="middle"><div class="pageTitle">Galaxy$brand</div></td>
<td align="right" valign="middle">
Info: <a href="$bugs_email">report bugs</a>
| <a target="_blank" href="$wiki_url">wiki</a>
| <a target="_blank" href="$screencasts_url">screencasts</a>
| <a target="_blank" href="$blog_url">blog</a>
<!-- | <a target="mainframe" href="/static/index_frame_tools.html">tools</a>
| <a target="mainframe" href="/static/index_frame_history.html">history</a> -->
&nbsp;&nbsp;&nbsp;
#if $caller.user
Logged in as $caller.user.email: <a target="galaxy_main" href="$h.url_for( controller='user', action='index' )">manage</a>
| <a target="galaxy_main" href="$h.url_for( controller='user', action='logout' )">logout</a>
#else
Account: <a target="galaxy_main" href="$h.url_for( controller='user', action='create' )">create</a>
| <a target="galaxy_main" href="$h.url_for( controller='user', action='login' )">login</a>
#end if
&nbsp;
</td>
</tr>
</table>
</body>
</html>