A rough cut of the /search action.
[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 %]
14664e1c 38 / <a href="/summary?p=[% project %]">[% project %]</a>
04d1d917 39 [% IF action; " / " _ action; END;
194fa4ff 40 END %]
24701964 41</div>
d3feefcf 42
d64ea8a0 43[%
30e4d46d 44 IF project;
45 INCLUDE 'nav/search.tt2';
d64ea8a0 46 END;
30e4d46d 47# / git_header_html
b3ad9e63 48%]
49<div id='body'>
50[%
86382b95 51 IF action;
295c9703 52 SET actmpl = action _ ".tt2";
53 INCLUDE $actmpl;
86382b95 54 ELSE;
55 # The output of gitweb.cgi is injected at this point.
56 content;
57 END;
d64ea8a0 58%]
b3ad9e63 59</div>
d3feefcf 60
d64ea8a0 61[%- # git_footer_html
62-%]
69421cb7 63<div class="page_footer">
04d1d917 64[% IF project AND project_description %]
d7c9a32f 65 <div class="page_footer_text">[% project_description | html %]</div>
04d1d917 66[% END %]
67[% FOR feed IN feeds %]
68 <a class="[% feed.class %]" title="[% feed.title %]" href="[% feed.href %]">[% feed.name %]</a>
69[% END %]
69421cb7 70</div>
71
72[% site_footer %]
73
d3feefcf 74</body>
75</html>
d64ea8a0 76[%- # / git_footer_html
77-%]