Deprecated the GPP Model and merged its sole method into the Git model.
[catagits/Gitalist.git] / templates / default.tt2
CommitLineData
d64ea8a0 1[%- # git_header_html
2-%]
d3feefcf 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>
24701964 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"/>
d7c9a32f 12 <title>[% title | html %] (Gitalist)</title>
04d1d917 13 [% IF baseurl %]
14 <base href="[% baseurl %]" />
15 [% END %]
109ce668 16 <link rel="stylesheet" type="text/css" href="/static/css/site.css"/>
04d1d917 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 %]
24701964 28</head>
29
30<body>
31
32[% site_header %]
33
34<div class="page_header">
d7c9a32f 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>
04d1d917 37 [%- IF project %]
d7c9a32f 38 / <a href="/?p=[% project %];a=summary">[% project %]</a>
04d1d917 39 [% IF action; " / " _ action; END;
194fa4ff 40 END %]
24701964 41</div>
d3feefcf 42
a57db1f0 43[% IF project AND have_search %]
44<div class="search">
04d1d917 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>
a57db1f0 59</div>
60[% END %]
61
d64ea8a0 62[%- # / git_header_html
63-%]
64[%
65 IF page_nav;
66 INCLUDE "page_nav.tt2";
67 END;
86382b95 68
69 IF action;
295c9703 70 SET actmpl = action _ ".tt2";
71 INCLUDE $actmpl;
86382b95 72 ELSE;
73 # The output of gitweb.cgi is injected at this point.
74 content;
75 END;
d64ea8a0 76%]
d3feefcf 77
d64ea8a0 78[%- # git_footer_html
79-%]
69421cb7 80<div class="page_footer">
04d1d917 81[% IF project AND project_description %]
d7c9a32f 82 <div class="page_footer_text">[% project_description | html %]</div>
04d1d917 83[% END %]
84[% FOR feed IN feeds %]
85 <a class="[% feed.class %]" title="[% feed.title %]" href="[% feed.href %]">[% feed.name %]</a>
86[% END %]
69421cb7 87</div>
88
89[% site_footer %]
90
d3feefcf 91</body>
92</html>
d64ea8a0 93[%- # / git_footer_html
94-%]