37c7dff21b10ff01cb84064b1ac3b8f095b4fc45
[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="stylesheet" type="text/css" href="[% c.uri_for('/static/css/960.css') %]">
27   <link rel="shortcut icon" href="[% c.uri_for('/static/git-favicon.png') %]" type="image/png">
28 </head>
29
30 <body>
31
32 <div id='the-container' class='container_12'>
33
34  <div id="page-header">
35    <div class="clear"></div> 
36    <div class='grid_6'>
37     <a href="[% c.uri_for('/') %]">A Gitalist</a>
38     [%- IF Repository %]
39      / <a href="[% c.uri_for_action('/repository/summary', [Repository.name]) %]">[% Repository.name %]</a>
40     [%- END %]
41    </div>
42    <div class='grid_6'>
43     <a title="git homepage" href="http://git-scm.org">
44      <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo">
45     </a>
46     [% IF Repository; INCLUDE 'nav/search.tt2'; END %]
47    </div>
48  </div>
49
50  [% INCLUDE 'nav/actions.tt2' %]
51
52  <div class="clear"></div>
53  <div id='body' class='grid_12'>
54  [% content %]
55  </div>
56
57  <div class="clear"></div>
58  <div id="page-footer">
59   <div class='grid_12'>
60    [%
61      IF Repository; Repository.description | html; END;
62      INCLUDE 'inc/footer_feeds.tt2';
63    %]
64   </div>
65  </div>
66
67 </div>
68
69 +[% USE Dumper %]
70 +<pre>
71 [% Repository.path %]
72 +[% Dumper.dump(c.stash) %]
73 +</pre>
74
75 </body>
76 </html>
77 [%- END -%]