fafed4f1e4786057798a1485881290497877b6fe
[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   [% END %]
43 [%
44   IF Repository;
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 Repository %]
65   [% Repository.description | html %]
66 [% END %]
67 [% INCLUDE '_footer_feeds.tt2' %]
68 </div>
69
70 </div>
71
72 </body>
73 </html>
74 [%- END -%]