Provided support for blobdiff legacy URIs.
[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 %]">
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 <div id="page-header">
34   <a title="git homepage" href="http://git-scm.org">
35    <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
36   </a>
37   <div id='header-title'>
38    <a href="[% c.uri_for('/') %]">A Gitalist</a>
39    [%- IF Repository %]
40     / <a href="[% c.uri_for_action('/repository/summary', [Repository.name]) %]">[% Repository.name %]</a>
41     [%# INCLUDE 'nav/branches.tt2' %]
42    </div>
43    [% INCLUDE 'nav/search.tt2' %]
44   [% END %]
45 </div>
46
47 <div id='body'>
48 [% content %]
49 </div>
50
51 <div id="page-footer">
52 [% IF Repository %]
53   [% Repository.description | html %]
54 [% END %]
55 [% INCLUDE 'inc/footer_feeds.tt2' %]
56 </div>
57
58 </div>
59
60 </body>
61 </html>
62 [%- END -%]