[BACK]Return to dudelicious.pl CVS log [TXT][DIR] Up to [local] / todotxt / Text-Todo / bin

Diff for /todotxt/Text-Todo/bin/dudelicious.pl between version 1.8 and 1.9

version 1.8, 2010/04/30 18:17:40 version 1.9, 2010/04/30 18:30:57
Line 36 
Line 36 
     $self->render( files => \@files, layout => 'todotxt' );      $self->render( files => \@files, layout => 'todotxt' );
 } => 'index';  } => 'index';
   
   get '/todotxt' => 'todotxt';
   
 get '/l/:file' => sub {  get '/l/:file' => sub {
     my $self   = shift;      my $self   = shift;
     my $file   = $self->stash('file') . '.txt';      my $file   = $self->stash('file') . '.txt';
Line 125 
Line 127 
   
 @@ layouts/todotxt.html.ep  @@ layouts/todotxt.html.ep
 <!doctype html><html>  <!doctype html><html>
     <head><title>Funky!</title></head>      <head>
           <title>Funky!</title>
           <link rel="stylesheet" href="<%= url_for 'todotxt', format => 'css' %>">
       </head>
     <body><%== content %></body>      <body><%== content %></body>
 </html>  </html>
   
   @@ todotxt.css.ep
   body {
           background: LightGoldenRodYellow;
           color: DarkSlateBlue;
   }
   
   .inplaceeditor-saving {
           background: url(images/saving.gif) bottom right no-repeat;
   }
   
   
 __END__  __END__
   

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>