This repository has been archived by the owner on May 14, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Showing
14 changed files
with
89 additions
and
62 deletions.
There are no files selected for viewing
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
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,3 @@ | ||
# Place all the behaviors and hooks related to the matching controller here. | ||
# All this logic will automatically be available in application.js. | ||
# You can use CoffeeScript in this file: http://jashkenas.github.com/coffee-script/ |
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,7 @@ | ||
// Place all the styles related to the home controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: http://sass-lang.com/ | ||
|
||
body.home { | ||
// Place scoped styles here | ||
} |
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,5 @@ | ||
class HomeController < ApplicationController | ||
def index | ||
|
||
end | ||
end |
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,2 @@ | ||
module HomeHelper | ||
end |
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 @@ | ||
%p Home |
This file was deleted.
Oops, something went wrong.
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,47 @@ | ||
!!! 5 | ||
/[if IEMobile 7 ] <html class="no-js iem7" manifest="default.appcache?v=1"> | ||
<!--[if (gt IEMobile 7)|!(IEMobile)]><!--> <html class="no-js" manifest="default.appcache?v=1"> <!--<![endif]--> | ||
%head | ||
%meta{:charset => "utf-8"} | ||
%title | ||
%meta{:content => "", :name => "description"} | ||
%meta{:content => "", :name => "author"} | ||
%meta{:content => "True", :name => "HandheldFriendly"} | ||
%meta{:content => "320", :name => "MobileOptimized"} | ||
%meta{:content => "width=device-width, initial-scale=1.0", :name => "viewport"} | ||
%link{:href => "img/h/apple-touch-icon.png", :rel => "apple-touch-icon-precomposed", :sizes => "114x114"} | ||
%link{:href => "img/m/apple-touch-icon.png", :rel => "apple-touch-icon-precomposed", :sizes => "72x72"} | ||
%link{:href => "img/l/apple-touch-icon-precomposed.png", :rel => "apple-touch-icon-precomposed"} | ||
%link{:href => "img/l/apple-touch-icon.png", :rel => "shortcut icon"} | ||
/ | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="apple-mobile-web-app-status-bar-style" content="black"> | ||
<link rel="apple-touch-startup-image" href="img/l/splash.png"> | ||
%meta{:content => "on", "http-equiv" => "cleartype"} | ||
%link{:href => "css/style.css?v=1", :rel => "stylesheet"} | ||
%script{:src => "js/libs/modernizr-custom.js"} | ||
|
||
%body | ||
#container | ||
%header | ||
%h1 Edinburgh International Book Festival | ||
#main{:role => "main"} | ||
= yield | ||
%footer | ||
%script{:src => "//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"} | ||
:javascript | ||
window.jQuery || document.write("<script src='js/libs/jquery-1.5.1.min.js'>\x3C/script>") | ||
%script{:src => "js/mylibs/helper.js"} | ||
:javascript | ||
MBP.scaleFix(); | ||
yepnope({ | ||
test : Modernizr.mq('(min-width)'), | ||
nope : ['js/libs/respond.min.js'] | ||
}); | ||
/ <script src="https://getfirebug.com/firebug-lite.js"></script> | ||
:javascript | ||
var _gaq=[["_setAccount","UA-XXXXX-X"],["_trackPageview"]]; | ||
(function(d,t){var g=d.createElement(t),s=d.getElementsByTagName(t)[0];g.async=1; | ||
g.src=("https:"==location.protocol?"//ssl":"//www")+".google-analytics.com/ga.js"; | ||
s.parentNode.insertBefore(g,s)}(document,"script")); | ||
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
This file was deleted.
Oops, something went wrong.
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,7 @@ | ||
require 'test_helper' | ||
|
||
class HomeControllerTest < ActionController::TestCase | ||
# test "the truth" do | ||
# assert true | ||
# end | ||
end |
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,4 @@ | ||
require 'test_helper' | ||
|
||
class HomeHelperTest < ActionView::TestCase | ||
end |