Switch to using 960.gs grids for layout.
[catagits/Gitalist.git] / root / wrapper.tt2
index 9aceb57..3e5246f 100644 (file)
@@ -4,14 +4,14 @@
 <head>
   <!-- git core binaries version [% git_version %] -->
   <meta charset="utf-8">
-  <meta name="generator" content="gitweb/[% version %] git/[% git_version %][% mod_perl_version %]">
+  <meta name="generator" content="gitweb/[% version %] git/[% git_version %]">
   <meta name="robots" content="index, nofollow">
   <title>[%# 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;
     <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>