Gave the /commit page a diff-tree.
[catagits/Gitalist.git] / templates / default.tt2
1 [%- # git_header_html
2 -%]
3 <?xml version="1.0" encoding="utf-8"?>
4 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
5 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US" lang="en-US">
6 <!-- git web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
7 <!-- git core binaries version [% git_version %] -->
8 <head>
9   <meta http-equiv="content-type" content="[% content_type %]; charset=utf-8"/>
10   <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]"/>
11   <meta name="robots" content="index, nofollow"/>
12   <title>[% title | html %] (Gitalist)</title>
13   [% IF baseurl %]
14   <base href="[% baseurl %]" />
15   [% END %]
16   <link rel="stylesheet" type="text/css" href="/static/css/site.css"/>
17   <link rel="stylesheet" type="text/css" href="[% stylesheet %]"/>
18   [% FOR link IN links %]
19             <link rel="[% link.rel %]"
20                   title="[% link.title %]"
21                   href="[% link.href %]"
22                   type="[% link.type %]"
23             />
24   [% END %]
25   [% IF favicon %]
26   <link rel="shortcut icon" href="[% favicon %]" type="image/png" />
27   [% END %]
28 </head>
29
30 <body>
31
32 [% site_header %]
33
34 <div class="page_header">
35   <a title="[% logo_label | url %]" href="[% logo_url | url %]"><img src="[% logo_img %]" alt="git" class="logo"/></a>
36   <a href="[% home_link | url %]">[% home_link_str %]</a>
37   [%- IF project %]
38   / <a href="/?p=[% project %];a=summary">[% project %]</a>
39   [% IF action;  " / " _ action; END;
40   END %]
41 </div>
42
43 [% IF project AND have_search %]
44 <div class="search">
45   <form method="get" action="/" enctype="application/x-www-form-urlencoded">
46   <input name="p" type="hidden" value="[% project %]" />
47   <input name="a" type="hidden" value="search" />
48   <input name="h" type="hidden" value="[% search_hash %]" />
49   <select name="st" >
50       <option value="commit">commit</option>
51       <option value="grep">grep</option>
52       <option value="author">author</option>
53       <option value="committer">committer</option>
54       <option value="pickaxe">pickaxe</option>
55   </select><sup><a href="/?p=[% project %];a=search_help">?</a></sup> search:
56   <input type="text" name="s" value="[% search_text %]"/>
57   <span title="Extended regular expression"><label><input type="checkbox" name="sr" value="1" />re</label></span>
58   </form>
59 </div>
60 [% END %]
61
62 [%- # / git_header_html
63 -%]
64 [%
65   IF page_nav;
66     INCLUDE "page_nav.tt2";
67   END;
68 %]
69 <div id='body'>
70 [%
71   IF action;
72     SET actmpl = action _ ".tt2";
73     INCLUDE $actmpl;
74   ELSE;
75     # The output of gitweb.cgi is injected at this point.
76     content;
77   END;
78 %]
79 </div>
80
81 [%- # git_footer_html
82 -%]
83 <div class="page_footer">
84 [% IF project AND project_description %]
85   <div class="page_footer_text">[% project_description | html %]</div>
86 [% END %]
87 [% FOR feed IN feeds %]
88     <a class="[% feed.class %]" title="[% feed.title %]" href="[% feed.href %]">[% feed.name %]</a>
89 [% END %]
90 </div>
91
92 [% site_footer %]
93
94 </body>
95 </html>
96 [%- # / git_footer_html
97 -%]