Fixed syntax error in Root.pm & tidied up tests.
[catagits/Gitalist.git] / root / default.tt2
CommitLineData
c8a42dd5 1[%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%]
f71a83ab 2<!DOCTYPE html>
3<html lang="en">
d3feefcf 4<head>
f71a83ab 5 <!-- git web interface version [% version %], (C) 2005-2006, Kay Sievers <kay.sievers\@vrfy.org>, Christian Gierke -->
6 <!-- git core binaries version [% git_version %] -->
c8a42dd5 7 <meta charset="utf-8">
24701964 8 <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]"/>
9 <meta name="robots" content="index, nofollow"/>
d7c9a32f 10 <title>[% title | html %] (Gitalist)</title>
04d1d917 11 [% IF baseurl %]
c8a42dd5 12 <base href="[% baseurl %]">
04d1d917 13 [% END %]
6c36040d 14 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
15 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
f71a83ab 16 <!--[if lt IE 8]>
6c36040d 17 <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection">
f71a83ab 18 <![endif]-->
c8a42dd5 19 <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]">
7a88ffa4 20
04d1d917 21 [% FOR link IN links %]
c8a42dd5 22 <link rel="[% link.rel %]" title="[% link.title %]" href="[% link.href %]" type="[% link.type %]" >
04d1d917 23 [% END %]
24 [% IF favicon %]
c8a42dd5 25 <link rel="shortcut icon" href="[% favicon %]" type="image/png">
04d1d917 26 [% END %]
24701964 27</head>
28
29<body>
30
31[% site_header %]
32
7a88ffa4 33<div id="page-header">
c8a42dd5 34 <a title="[% logo_label | url %]" href="[% logo_url | url %]">
35 <img src="logo.png" alt="git" class="logo">
36 </a>
d7c9a32f 37 <a href="[% home_link | url %]">[% home_link_str %]</a>
04d1d917 38 [%- IF project %]
f71a83ab 39 / <a href="[% c.uri_for('summary') %]">[% project %]</a>
04d1d917 40 [% IF action; " / " _ action; END;
194fa4ff 41 END %]
d64ea8a0 42[%
4df2f62f 43 IF project;
44 INCLUDE 'nav/search.tt2';
d64ea8a0 45 END;
4df2f62f 46# / git_header_html
b3ad9e63 47%]
1fd8159c 48</div>
49
b3ad9e63 50<div id='body'>
51[%
86382b95 52 IF action;
295c9703 53 SET actmpl = action _ ".tt2";
54 INCLUDE $actmpl;
86382b95 55 ELSE;
56 # The output of gitweb.cgi is injected at this point.
57 content;
58 END;
d64ea8a0 59%]
b3ad9e63 60</div>
d3feefcf 61
d64ea8a0 62[%- # git_footer_html
63-%]
06281e11 64<div id="page-footer">
04d1d917 65[% IF project AND project_description %]
d7c9a32f 66 <div class="page_footer_text">[% project_description | html %]</div>
04d1d917 67[% END %]
68[% FOR feed IN feeds %]
69 <a class="[% feed.class %]" title="[% feed.title %]" href="[% feed.href %]">[% feed.name %]</a>
70[% END %]
69421cb7 71</div>
72
73[% site_footer %]
74
d3feefcf 75</body>
76</html>
c8a42dd5 77[%- END -%]