Permalink
Browse files

starter layout, now in charcoal

  • Loading branch information...
James Kebinger
James Kebinger committed May 22, 2009
1 parent e5b94cd commit d9207c85073eaa4bfbcefda42f381dd5cff2efe4
@@ -0,0 +1,8 @@
+class TestController < ApplicationController
+
+def index
+
+end
+
+
+end
View
@@ -0,0 +1,17 @@
+!blueprint_grid_columns = 24
+!blueprint_grid_width = 30px
+!blueprint_grid_margin = 10px
+
+!header_color = #fff
+!font_color = #fff
+
+@import compass/reset.sass
+@import compass/utilities.sass
+@import blueprint/screen.sass
+@import blueprint/modules/typography.sass
+@import compass/layout.sass
+
+@import blueprint/modules/grid.sass
+@import blueprint/modules/debug.sass
+
+
@@ -0,0 +1,21 @@
+@import base.sass
+
++sticky-footer( 10px, "#root", "#root_footer", "#footer" )
+
+body
+ +blueprint-grid
+ +blueprint-typography
+ :background #262626
+#root
+ +container
+ #header
+ +normal-text
+ +column(24)
+ +last
+ #content
+ +normal-text
+ +column(24)
+ +last
+ +container
+#footer
+ +normal-text
View
@@ -1,3 +1,3 @@
@import blueprint.sass
-+blueprint-ie
++blueprint-ie
@@ -4,27 +4,26 @@
%head
%meta{'http-equiv' => "content-type", :content => "text/html;charset=UTF-8"}
%title= @browser_title || 'Default Browser Title'
- = stylesheet_link_tag 'screen.css', :media => 'screen, projection'
- = stylesheet_link_tag 'print.css', :media => 'print'
- /[if IE]
- = stylesheet_link_tag 'ie.css', :media => 'screen, projection'
- = stylesheet_link_tag 'scaffold'
+ = stylesheet_link_tag 'application'
%body{body_attributes}
+ #root
+ #header
+ %h1 Welcome to MyHippocampus
- #container
- %h1 Welcome to MyHippocampus
+ == #{pluralize User.logged_in.count, "user"} currently logged in
+ %br
- == #{pluralize User.logged_in.count, "user"} currently logged in
- %br
+ -if !current_user
+ = link_to "Register", new_account_path
+ |
+ = link_to "Log In", new_user_session_path
+ -else
+ = link_to "My Account", account_path |
+ = link_to "Logout", user_session_path, :method => :delete, :confirm => "Are you sure you want to logout?"
- -if !current_user
- = link_to "Register", new_account_path
- |
- = link_to "Log In", new_user_session_path
- -else
- = link_to "My Account", account_path |
- = link_to "Logout", user_session_path, :method => :delete, :confirm => "Are you sure you want to logout?"
-
- %p{:style=>"color: green"}= flash[:notice]
-
- = yield
+ %p{:style=>"color: green"}= flash[:notice]
+ #content
+ = yield
+ #root_footer
+ #footer
+ Copyright 2009 blah blah
@@ -0,0 +1,4 @@
+%p
+ hello world
+
+foo

0 comments on commit d9207c8

Please sign in to comment.