X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=3e5246ff70b1e66b276ed93252bf21d467a119fa;hb=aebe9a0e6beff3cb67fcfd138899ce91e91d61b9;hp=9aceb5722a4d3aa6b3884626f59530263dfe5dca;hpb=cf1f989d9f5eb8f4425bf418fa510e00f40866c8;p=catagits%2FGitalist.git diff --git a/root/wrapper.tt2 b/root/wrapper.tt2 index 9aceb57..3e5246f 100644 --- a/root/wrapper.tt2 +++ b/root/wrapper.tt2 @@ -4,14 +4,14 @@ - + [%# FIXME - MING %][%- title = BLOCK; c.config.sitename; IF Repository; ' - ' _ Repository.name | html; END; - IF c.action; ' / ' _ c.action; END; - IF filename; ' - ' _ filename | html; END; + IF c.action; ' / ' _ c.action; END; + IF filename; ' - ' _ filename | html; END; IF c.action && c.action == 'tree'; '/'; END; END; title; @@ -23,43 +23,46 @@ <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/ie.css') %]" type="text/css" media="screen, projection"> <![endif]--> <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]"> + <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/960.css') %]"> <link rel="shortcut icon" href="[% c.uri_for('/static/git-favicon.png') %]" type="image/png"> </head> <body> -<div id='the-container'> +<div id='the-container' class='container_12'> -[% site_header %] + <div id="page-header"> + <div class="clear"></div> + <div class='grid_6'> + <a href="[% c.uri_for('/') %]">A Gitalist</a> + [%- IF Repository %] + / <a href="[% c.uri_for_action('/repository/summary', [Repository.name]) %]">[% Repository.name %]</a> + [%- END %] + </div> + <div class='grid_6'> + <a title="git homepage" href="http://git-scm.org"> + <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo"> + </a> + [% IF Repository; INCLUDE 'nav/search.tt2'; END %] + </div> + </div> -<div id="page-header"> - <a title="git homepage" href="http://git-scm.org"> - <img src="[% c.uri_for('/logo.png') %]" alt="git" class="logo"> - </a> - <a href="[% c.uri_for('/') %]">A Gitalist</a> - [%- IF Repository %] - / <a href="[% c.uri_for_action('/repository/summary', [Repository.name]) %]">[% Repository.name %]</a> - [% END %] -[% - IF Repository; - INCLUDE 'nav/search.tt2'; - END; -# / git_header_html -%] -</div> + [% INCLUDE 'nav/actions.tt2' %] -<div id='body'> -[% - content; -%] -</div> + <div class="clear"></div> + <div id='body' class='grid_12'> + [% content %] + </div> -<div id="page-footer"> -[% IF Repository %] - [% Repository.description | html %] -[% END %] -[% INCLUDE 'inc/footer_feeds.tt2' %] -</div> + <div class="clear"></div> + <div id="page-footer"> + <div class='grid_12'> + [% + IF Repository; Repository.description | html; END; + INCLUDE 'inc/footer_feeds.tt2'; + %] + </div> + </div> </div>