X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=root%2Fwrapper.tt2;h=3e5246ff70b1e66b276ed93252bf21d467a119fa;hb=1093826724a4e694cc91cd9d98839012f6bc0a12;hp=f0dc83b6800bea0a18ed2b4ae80be6a2e208f34c;hpb=0d5fdccd85abfb331149033061c3bf698d9c0d4e;p=catagits%2FGitalist.git diff --git a/root/wrapper.tt2 b/root/wrapper.tt2 index f0dc83b..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,39 +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> - [% - INCLUDE 'nav/search.tt2'; - END; %] -</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>