Merge
[catagits/Gitalist.git] / templates / default.tt2
1 [%- # git_header_html
2 -%]
3 <?xml version="1.0" encoding="utf-8"?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
6 <!-- git web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
7 <!-- git core binaries version [% git_version %] -->
8 <head>
9   <meta http-equiv="content-type" content="[% content_type %]; charset=utf-8"/>
10   <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]"/>
11   <meta name="robots" content="index, nofollow"/>
12   <title>[% title | html %] (Gitalist)</title>
13   [% IF baseurl %]
14   <base href="[% baseurl %]" />
15   [% END %]
16   <link rel="stylesheet" type="text/css" href="/static/css/site.css"/>
17   <link rel="stylesheet" type="text/css" href="[% stylesheet %]"/>
18   [% FOR link IN links %]
19             <link rel="[% link.rel %]"
20                   title="[% link.title %]"
21                   href="[% link.href %]"
22                   type="[% link.type %]"
23             />
24   [% END %]
25   [% IF favicon %]
26   <link rel="shortcut icon" href="[% favicon %]" type="image/png" />
27   [% END %]
28 </head>
29
30 <body>
31
32 [% site_header %]
33
34 <div class="page_header">
35   <a title="[% logo_label | url %]" href="[% logo_url | url %]"><img src="[% logo_img %]" alt="git" class="logo"/></a>
36   <a href="[% home_link | url %]">[% home_link_str %]</a>
37   [%- IF project %]
38   / <a href="/summary?p=[% project %]">[% project %]</a>
39   [% IF action;  " / " _ action; END;
40   END %]
41 </div>
42
43 [%
44   IF project;
45     INCLUDE 'nav/search.tt2';
46   END;
47 # / git_header_html
48 %]
49 <div id='body'>
50 [%
51   IF action;
52     SET actmpl = action _ ".tt2";
53     INCLUDE $actmpl;
54   ELSE;
55     # The output of gitweb.cgi is injected at this point.
56     content;
57   END;
58 %]
59 </div>
60
61 [%- # git_footer_html
62 -%]
63 <div class="page_footer">
64 [% IF project AND project_description %]
65   <div class="page_footer_text">[% project_description | html %]</div>
66 [% END %]
67 [% FOR feed IN feeds %]
68     <a class="[% feed.class %]" title="[% feed.title %]" href="[% feed.href %]">[% feed.name %]</a>
69 [% END %]
70 </div>
71
72 [% site_footer %]
73
74 </body>
75 </html>
76 [%- # / git_footer_html
77 -%]