major design changes - almost there
[catagits/Gitalist.git] / root / wrapper.tt2
index b32c888..ebcdeab 100755 (executable)
 
 <body>
 
-<div id="header">
+<div id="header_holder">
        <div class="sub_holder">
-               <a href="[% c.uri_for('/') %]" id="logo"><img src="[% c.uri_for('/static/i/logo.png') %]" alt="Gitalist" /></a>
-       
-               <div class="search">
-                       [% IF Repository; INCLUDE 'nav/search.tt2'; ELSE; %]
-                       
-                       <form method="get" action="[% c.uri_for_action('/search') %]" enctype="application/x-www-form-urlencoded">
-   <p class="projsearch">Search:
-    <input type="text" name="s" value="[% search_text %]" />
-   </p>
-  </form>
-               [% END %]
+               <div id="header">
+                       <a href="[% c.uri_for('/') %]" id="logo"><img src="[% c.uri_for('/static/i/logo.png') %]" alt="Gitalist" /></a>
+               
+                       <div class="search">
+                               [% IF Repository; INCLUDE 'nav/search.tt2'; ELSE; %]
+                               
+                               <form method="get" action="[% c.uri_for_action('/search') %]" enctype="application/x-www-form-urlencoded">
+          <p class="projsearch">Search:
+           <input type="text" name="s" value="[% search_text %]" />
+          </p>
+         </form>
+                       [% END %]
+                       </div>
                </div>
                
                
                <div id="nav_logs" [% 'style="visibility:hidden"' IF c.action.name == "index" %]>
                        <ul>
                                [% IF c.req.captures.size == 1; SET path = 'repository'; ELSE; SET path = 'ref'; END %]
-                               <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>
                                <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>
+                               <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>
                        </ul>
                </div>
        
@@ -58,7 +60,7 @@
                        /
                        
                        
-                       [% c.action.name.replace("_"," ").replace("log", " log").replace("index","Repositories") FILTER ucfirst %]
+                       [% c.action.name.replace("_"," ").replace("log", " log").replace("fancy","").replace("index","Repositories") FILTER ucfirst %]
                        
        
                        
        [% USE Dumper %]
        <pre>
        [% Repository.path %]
-       [% Dumper.dump(c.req.action) %]
+       [% Dumper.dump(c.action.name) %]
        </pre>
        
        </div>