Migrated blobdiff to new model. Now works.
[catagits/Gitalist.git] / root / default.tt2
index 74971a1..72665d7 100644 (file)
   [% IF baseurl %]
   <base href="[% baseurl %]" />
   [% END %]
-  <link rel="stylesheet" href="/static/css/blueprint/screen.css" type="text/css" media="screen, projection">
-  <link rel="stylesheet" href="/static/css/blueprint/print.css" type="text/css" media="print">
+  <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/screen.css') %]" type="text/css" media="screen, projection">
+  <link rel="stylesheet" href="[% c.uri_for('/static/css/blueprint/print.css') %]" type="text/css" media="print">
   <!--[if lt IE 8]>
-    <link rel="stylesheet" href="/static/css/blueprint/ie.css" type="text/css" media="screen, projection">
+    <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="/static/css/site.css"/>
-  <link rel="stylesheet" type="text/css" href="[% stylesheet %]"/>
+  <link rel="stylesheet" type="text/css" href="[% c.uri_for('/static/css/site.css') %]"/>
   [% FOR link IN links %]
             <link rel="[% link.rel %]"
                   title="[% link.title %]"
 
 [% site_header %]
 
-<div class="page_header">
+<div id="page-header">
   <a title="[% logo_label | url %]" href="[% logo_url | url %]"><img src="[% logo_img %]" alt="git" class="logo"/></a>
   <a href="[% home_link | url %]">[% home_link_str %]</a>
   [%- IF project %]
   / <a href="[% c.uri_for('summary') %]">[% project %]</a>
   [% IF action;  " / " _ action; END;
   END %]
-</div>
-
 [%
   IF project;
     INCLUDE 'nav/search.tt2';
   END;
 # / git_header_html
 %]
+</div>
+
 <div id='body'>
 [%
   IF action;
@@ -64,7 +64,7 @@
 
 [%- # git_footer_html
 -%]
-<div class="page_footer">
+<div class="page-footer">
 [% IF project AND project_description %]
   <div class="page_footer_text">[% project_description | html %]</div>
 [% END %]