summaryrefslogtreecommitdiff
path: root/template/header.tt2
blob: 5a354d1817b81db85206208a88e1196c31d4f33a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" dir="ltr">
<head>
  <title>PostgreSQL CommitFest Management[% IF title != '' %]: [% title | htmlsafe %][% END %]</title>
    <link rel="shortcut icon" href="http://www.postgresql.org/favicon.ico" />
    <style type="text/css" media="screen" title="Normal Text">@import url("/layout/css/blue/commitfest.css");</style>
    <script type="text/javascript" src="/layout/js/geckostyle.js"></script>
[% IF rss_alternate %]    <link rel="alternate" type="application/rss+xml" title="[% rss_alternate.name | htmlsafe %]" href="[% rss_alternate.url | html %]" />
[% END %]</head>
<body>
<table id="commitfestHeader">
  <tr>
    <td>
      <div id="commitfestHeaderLogo">
        <a href="/" title="PostgreSQL"><img src="/layout/images/docs/hdr_logo.png" width="206" height="80" alt="PostgreSQL" /></a>
      </div>
    </td>
    <td id="commitfestNav">
    	[% IF authenticate.userid.defined %]Welcome, [% authenticate.userid | htmlsafe %] - <a href='/action/logout'>Log Out</a>
        [% ELSE %]<a href='/action/login[% uri %]'>Log In</a>
    	[% END %]
    	- <a href='/'>Home Page</a>
    </td>
  </tr>
</table>

<div id="commitfestContent">
	<table cellspacing='0' cellpadding='0' border='0' width='100%'>
		<tr>
			<td><h1>[% title | htmlsafe %]</h1></td>
			[% IF link.size != 0 %]<td style='text-align: right; padding-left: 10px'>[% FOREACH l = link %]<a href='[% l.0 %]'[% IF l.2.defined %] onClick='return confirm("[% l.2 | htmlsafe %]")'[% END %]>[% l.1 | html %]</a>[% IF !loop.last %] - [% END %][% END %]</td>[% END %]
		</tr>
	</table>
	<form name='f' method='post' action='[% script_name %]'>
[% INCLUDE error.tt2 %]