Changeset 449

Show
Ignore:
Timestamp:
07/29/08 17:07:34 (20 months ago)
Author:
eevee
Message:

Moved the current style into its own directory to prepare for having several.

Location:
veekun/branches/layout2
Files:
1 added
2 modified
7 moved

Legend:

Unmodified
Added
Removed
  • veekun/branches/layout2/lib/Vee/Controller/Style.pm

    r370 r449  
    6363); 
    6464 
    65 sub style : Path : Args(1) { 
    66     my ($self, $c, $filename) = @_; 
     65sub style : Path : Args(3) { 
     66    my ($self, $c, $theme, $color, $filename) = @_; 
    6767 
    6868    $c->stash( %colors ); 
     
    7676    } 
    7777 
    78     $c->stash->{template} = 'style/' . $filename . '.tt'; 
     78    $c->stash->{template} = 'style/' . $theme . '/' . $filename . '.tt'; 
    7979    $c->stash->{skip_wrapper} = 1; 
    8080    $c->res->content_type('text/css'); 
  • veekun/branches/layout2/templates/wrapper.tt

    r436 r449  
    1212<title>[% page_title %] - [% c.site_opts.site_title %]</title> 
    1313<link rel="shortcut icon" type="image/png" href="/images/favicon.png"/> 
    14 <link rel="stylesheet" type="text/css" href="/style/global"/> 
     14<link rel="stylesheet" type="text/css" href="/style/fluff/brown/global"/> 
    1515[% FOREACH css IN extra_css %] 
    16 <link rel="stylesheet" type="text/css" href="/style/[% css %]"/> 
     16<link rel="stylesheet" type="text/css" href="/style/fluff/brown/[% css %]"/> 
    1717[% END %] 
    1818[% extra_headers.join("\n") %]