-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alberto Perdomo
committed
Oct 15, 2010
1 parent
006e386
commit 0e22d17
Showing
7 changed files
with
99 additions
and
6 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
!!! 5 | ||
%html | ||
%head | ||
%meta{ :charset => "utf-8" }/ | ||
-# | ||
Always force latest IE rendering engine (even in intranet) & Chrome Frame | ||
Remove this if you use the .htaccess | ||
%meta{ :content => "IE=edge,chrome=1", "http-equiv" => "X-UA-Compatible" }/ | ||
%meta{ :content => "", :name => "description" }/ | ||
%meta{ :content => "", :name => "author" }/ | ||
%meta{ :content => "", :name => "keywords" }/ | ||
%meta{ :content => "", :name => "copyright" }/ | ||
-# Mobile viewport optimized: j.mp/bplateviewport | ||
%meta{ :content => "width=device-width; initial-scale=1.0", :name => "viewport" }/ | ||
|
||
-# Place favicon.ico and apple-touch-icon.png in the root of your domain and delete these references | ||
-# %link{ :href => "/favicon.ico", :rel => "shortcut icon" }/ | ||
-# %link{ :href => "/apple-touch-icon.png", :rel => "apple-touch-icon" }/ | ||
|
||
%title= "[Default title] #{yield(:title)}" | ||
= raw stylesheet_link_merged('screen', :media => 'screen, projection') | ||
= raw stylesheet_link_merged('print', :media => 'print') | ||
/[if lt IE 8] | ||
= raw stylesheet_link_merged('ie', :media => 'screen, projection') | ||
-# For the less-enabled mobile browsers like Opera Mini | ||
= raw stylesheet_link_merged('handheld', :media => 'handheld') | ||
= csrf_meta_tag | ||
%body{ :class => "#{controller.controller_name}" } | ||
#container | ||
#header HEADER | ||
#sidebar SIDEBAR | ||
#content | ||
#flash | ||
- flash.each do |key, value| | ||
%div{ :title => key.to_s.humanize, :class => key } | ||
%p= value | ||
= yield | ||
#footer | ||
%p.copyright | ||
Copyright © #{Date.today.year} | ||
%script{ :type => "text/javascript", :src => "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" } | ||
%script{ :type => "text/javascript", :src => "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js" } | ||
= raw javascript_include_merged(:base) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
gem "capistrano" | ||
run "bundle install" | ||
capify! | ||
capify! | ||
|
||
git :add => '.' | ||
git :commit => '-m "Capistrano"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,6 @@ | |
repository = '' | ||
hosts = %w() | ||
DEPLOY | ||
|
||
git :add => '.' | ||
git :commit => '-m "Inploy"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters