[Bps-public-commit] r17301 - Prophet/trunk/lib/Prophet/Server

jesse at bestpractical.com jesse at bestpractical.com
Mon Dec 22 19:24:48 EST 2008


Author: jesse
Date: Mon Dec 22 19:24:48 2008
New Revision: 17301

Modified:
   Prophet/trunk/lib/Prophet/Server/ViewHelpers.pm

Log:
 * add a few divs to enhance styling

Modified: Prophet/trunk/lib/Prophet/Server/ViewHelpers.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Server/ViewHelpers.pm	(original)
+++ Prophet/trunk/lib/Prophet/Server/ViewHelpers.pm	Mon Dec 22 19:24:48 2008
@@ -26,8 +26,13 @@
             attr { xmlns => 'http://www.w3.org/1999/xhtml' };
             show( 'head' => $title );
             body {
-                show('header', $title);
-                $code->( $self, @args );
+                div { 
+                    class is 'page';
+                    show('header', $title);
+                    div { class is 'body';
+                     $code->( $self, @args );
+                 }
+                 }
 
             };
             show('footer');



More information about the Bps-public-commit mailing list