Fixed the links in the history view.
[catagits/Gitalist.git] / root / wrapper.tt2
1 [%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%]
2 <!DOCTYPE html>
3 <html lang="en">
4 <head>
5   <!-- git core binaries version [% git_version %] -->
6   <meta charset="utf-8">
7   <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]">
8   <meta name="robots" content="index, nofollow">
9   <title>[%# FIXME - MING %][%-
10     title = BLOCK;
11       c.config.sitename;
12       IF Repository; ' - ' _ Repository.name | html; END;
13       IF c.action;  ' / ' _ c.action; END;
14       IF filename; ' - ' _ filename | html; END;
15       IF c.action && c.action == 'tree'; '/'; END;
16     END;
17     title;
18   -%] (Gitalist)</title>
19   [% INCLUDE '_header_feeds.tt2' %]
20   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
21   <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
22   <!--[if lt IE 8]>
23     <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
24   <![endif]-->
25   <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
26   <link rel="shortcut icon" href="[% c.uri_for('/static/git-favicon.png') %]" type="image/png">
27 </head>
28
29 <body>
30
31 <div id='the-container'>
32
33 [% site_header %]
34
35 <div id="page-header">
36   <a title="git homepage" href="http://git-scm.org">
37    <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
38   </a>
39   <a href="[% c.uri_for('/') %]">A Gitalist</a>
40   [%- IF Repository %]
41   / <a href="[% c.uri_for_action('/repository/summary', [Repository.name]) %]">[% Repository.name %]</a>
42   [% 
43     INCLUDE 'nav/search.tt2';
44   END; %]
45 </div>
46
47 <div id='body'>
48 [%
49     content;
50 %]
51 </div>
52
53 <div id="page-footer">
54 [% IF Repository %]
55   [% Repository.description | html %]
56 [% END %]
57 [% INCLUDE 'inc/footer_feeds.tt2' %]
58 </div>
59
60 </div>
61
62 </body>
63 </html>
64 [%- END -%]