Starting to hook up "orphaned" actions.
[catagits/Gitalist.git] / root / default.tt2
1 [%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%]
2 <!DOCTYPE html>
3 <html lang="en">
4 <head>
5   <!-- git web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
6   <!-- git core binaries version [% git_version %] -->
7   <meta charset="utf-8">
8   <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]"/>
9   <meta name="robots" content="index, nofollow"/>
10   <title>[%-
11     title = BLOCK;
12       c.config.sitename;
13       IF Project; ' - ' _ Project.name | html; END;
14       IF action;  ' / ' _ action; END;
15       IF filename; ' - ' _ filename | html; END;
16       IF action && action == 'tree'; '/'; END;
17     END;
18     title;
19   -%] (Gitalist)</title>
20   [% INCLUDE '_header_feeds.tt2' %]
21   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
22   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
23   <!--[if lt IE 8]>
24     <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
25   <![endif]-->  
26   <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
27   <link rel="shortcut icon" href="[% c.uri_for('git-favicon.png') %]" type="image/png">
28 </head>
29
30 <body>
31
32 [% site_header %]
33
34 <div id="page-header">
35   <a title="git homepage" href="http://git-scm.org">
36    <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
37   </a>
38   <a href="[% c.uri_for('/') %]">A Gitalist</a>
39   [%- IF Project %]
40   / <a href="[% c.uri_for('summary') %]">[% Project.name %]</a>
41   [% IF action;  " / " _ action; END;
42   END %]
43 [%
44   IF Project;
45     INCLUDE 'nav/search.tt2';
46   END;
47 # / git_header_html
48 %]
49 </div>
50
51 <div id='body'>
52 [%
53   IF action;
54     SET actmpl = action _ ".tt2";
55     INCLUDE $actmpl;
56   ELSE;
57     # The output of gitweb.cgi is injected at this point.
58     content;
59   END;
60 %]
61 </div>
62
63 <div id="page-footer">
64 [% IF Project %]
65   [% Project.description | html %]
66 [% END %]
67 [% INCLUDE '_footer_feeds.tt2' %]
68 </div>
69
70 </body>
71 </html>
72 [%- END -%]