Commit | Line | Data |
c8a42dd5 |
1 | [%- IF no_wrapper || template.name.match('\.(css|js|txt)'); content; ELSE; -%] |
82f94bce |
2 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
3 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
4 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> |
d3feefcf |
5 | <head> |
f71a83ab |
6 | <!-- git core binaries version [% git_version %] --> |
82f94bce |
7 | <meta charset="utf-8" /> |
8 | <meta name="generator" content="gitweb/[% version %] git/[% git_version %]" /> |
9 | <meta name="robots" content="index, nofollow" /> |
a349e797 |
10 | <title>[%# FIXME - MING %][%- |
da8f4f82 |
11 | title = BLOCK; |
12 | c.config.sitename; |
87581f05 |
13 | IF Repository; ' - ' _ Repository.name | html; END; |
906a2dd2 |
14 | IF c.action; ' / ' _ c.action; END; |
15 | IF filename; ' - ' _ filename | html; END; |
a349e797 |
16 | IF c.action && c.action == 'tree'; '/'; END; |
da8f4f82 |
17 | END; |
18 | title; |
19 | -%] (Gitalist)</title> |
20 | [% INCLUDE '_header_feeds.tt2' %] |
82f94bce |
21 | |
22 | <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/core.css') %]" /> |
23 | <link rel="shortcut icon" href="[% c.uri_for('/static/git-favicon.png') %]" type="image/png" /> |
24701964 |
24 | </head> |
25 | |
26 | <body> |
27 | |
82f94bce |
28 | <div id="header"> |
29 | <div class="sub_holder"> |
30 | <a href="[% c.uri_for('/') %]" id="logo"><img src="[% c.uri_for('/static/i/logo.png') %]" alt="Gitalist" /></a> |
31 | |
32 | <div class="search"> |
33 | [% IF Repository; INCLUDE 'nav/search.tt2'; END %] |
34 | </div> |
35 | |
36 | |
37 | <div id="nav_logs" [% 'style="visibility:hidden"' IF c.action.name == "index" %]> |
38 | <ul> |
39 | [% IF c.req.captures.size == 1; SET path = 'repository'; ELSE; SET path = 'ref'; END %] |
40 | <li [% 'class="selected"' IF c.action.name.match('shortlog') %]><a href="[% c.uri_for_action('/' _ path _ '/shortlog', c.req.captures) %]" id="log_short">Short log</a></li> |
41 | <li [% 'class="selected"' IF c.action.name.match('longlog') %]><a href="[% c.uri_for_action('/' _ path _ '/longlog', c.req.captures) %]" id="log_full">Long log</a></li> |
42 | </ul> |
43 | </div> |
44 | |
45 | <h1> |
46 | <a href="[% c.uri_for('/') %]">Home</a> |
47 | |
48 | [%- IF Repository %] |
49 | / <a href="[% c.uri_for_action('/repository/summary', [Repository.name]) %]/shortlog">[% Repository.name %]</a> |
50 | [%- END %] |
51 | / |
52 | |
53 | [% c.action.name.replace("_"," ").replace("log", " log") FILTER ucfirst %] |
10938267 |
54 | |
82f94bce |
55 | </h1> |
56 | |
57 | </div> |
58 | </div> |
59 | |
60 | |
61 | |
62 | <div id="content_holder"> |
63 | <div id="content" class="sub_holder"> |
64 | <div id="content_inner"> |
1fd8159c |
65 | |
82f94bce |
66 | |
d3feefcf |
67 | |
10938267 |
68 | [% content %] |
10938267 |
69 | |
82f94bce |
70 | |
71 | |
72 | [% INCLUDE 'nav/actions.tt2' %] |
73 | </div> |
74 | </div> |
75 | </div> |
69421cb7 |
76 | |
82f94bce |
77 | <div id="footer"> |
78 | <div class="sub_holder"> |
79 | [% |
80 | IF Repository; Repository.description | html; END; |
81 | INCLUDE 'inc/footer_feeds.tt2'; |
82 | %] |
83 | <a title="git homepage" href="http://git-scm.org"><img src="[% c.uri_for('/logo.png') %]" alt="git" /></a> |
84 | </div> |
2cf1e781 |
85 | </div> |
86 | |
82f94bce |
87 | |
88 | |
ed30bf20 |
89 | +[% USE Dumper %] |
90 | +<pre> |
91 | [% Repository.path %] |
82f94bce |
92 | +[% Dumper.dump(c.req.action) %] |
ed30bf20 |
93 | +</pre> |
94 | |
d3feefcf |
95 | </body> |
96 | </html> |
c8a42dd5 |
97 | [%- END -%] |