-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #31 from bigbinary/remove-erb-use-haml
migrated erb to haml
- Loading branch information
Showing
53 changed files
with
377 additions
and
625 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 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,2 @@ | ||
%span.home-message | ||
This is home page. |
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,35 @@ | ||
!!! | ||
%html{lang: "en"} | ||
%head | ||
%meta{charset: "utf-8"}/ | ||
%meta{:content => "IE=Edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/ | ||
%meta{content: "width=device-width, initial-scale=1.0", name: "viewport"}/ | ||
%title= content_for?(:title) ? yield(:title) : "Wheel" | ||
= csrf_meta_tags | ||
/ Le HTML5 shim, for IE6-8 support of HTML elements | ||
/[if lt IE 9] | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script> | ||
= stylesheet_link_tag "application_phone", media: "all" | ||
/ <link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
/ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | ||
%body | ||
.navbar.navbar-default.navbar-static-top{role: "navigation"} | ||
.container | ||
.navbar-header | ||
%button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", :type => "button"} | ||
%span.sr-only Toggle navigation | ||
%span.icon-bar | ||
%span.icon-bar | ||
%span.icon-bar | ||
%a.navbar-brand{href: "/"} Wheel | ||
.navbar-collapse.collapse | ||
= render 'shared/nav' | ||
.container | ||
.row | ||
.col-sm-12 | ||
= bootstrap_flash | ||
= yield | ||
%footer | ||
/ for footer | ||
/ Placed at the end of the document so the pages load faster | ||
= javascript_include_tag "application_phone" |
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,35 @@ | ||
!!! | ||
%html{lang: "en"} | ||
%head | ||
%meta{charset: "utf-8"}/ | ||
%meta{:content => "IE=Edge,chrome=1", "http-equiv" => "X-UA-Compatible"}/ | ||
%meta{content: "width=device-width, initial-scale=1.0", name: "viewport"}/ | ||
%title= content_for?(:title) ? yield(:title) : "Wheel" | ||
= csrf_meta_tags | ||
/ Le HTML5 shim, for IE6-8 support of HTML elements | ||
/[if lt IE 9] | ||
<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.6.1/html5shiv.js" type="text/javascript"></script> | ||
= stylesheet_link_tag "application_desktop", media: "all" | ||
/ <link rel="icon" href="/favicon.ico" type="image/x-icon"> | ||
/ <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"> | ||
%body{class: controller_name + ' ' + action_name} | ||
.navbar.navbar-default.navbar-static-top{role: "navigation"} | ||
.container | ||
.navbar-header | ||
%button.navbar-toggle{"data-target" => ".navbar-collapse", "data-toggle" => "collapse", :type => "button"} | ||
%span.sr-only Toggle navigation | ||
%span.icon-bar | ||
%span.icon-bar | ||
%span.icon-bar | ||
%a.navbar-brand{href: "/"} Wheel | ||
.navbar-collapse.collapse | ||
= render 'shared/nav' | ||
.container.page | ||
.row | ||
.col-sm-12 | ||
= bootstrap_flash | ||
= yield | ||
%footer | ||
/ for footer | ||
/ Placed at the end of the document so the pages load faster | ||
= javascript_include_tag "application_desktop" |
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
Oops, something went wrong.