Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahul Bapna authored and Rahul Bapna committed Jan 28, 2012
2 parents dd49b7c + 4057d92 commit 91baece
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/assets/javascripts/application.js
Expand Up @@ -6,4 +6,5 @@
//
//= require jquery
//= require jquery_ujs
//= require twitter/bootstrap
//= require_tree .
19 changes: 19 additions & 0 deletions app/assets/javascripts/bootstrap.js.coffee
@@ -0,0 +1,19 @@
$ ->
$("body > .topbar").scrollSpy()
$ ->
$(".tabs").tabs()
$ ->
$("a[rel=twipsy]").twipsy live: true
$ ->
$("a[rel=popover]").popover offset: 10
$ ->
$(".topbar-wrapper").dropdown()
$ ->
$(".alert-message").alert()
$ ->
domModal = $(".modal").modal(
backdrop: true
closeOnEscape: true
)
$(".open-modal").click ->
domModal.toggle()
1 change: 1 addition & 0 deletions app/assets/stylesheets/application.css
Expand Up @@ -3,5 +3,6 @@
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*= require twitter/bootstrap
*= require_tree .
*/
5 changes: 5 additions & 0 deletions app/assets/stylesheets/bootstrap.css.less
@@ -0,0 +1,5 @@
@import "twitter/bootstrap";

// Baseline grid
@basefont: 13px;
@baseline: 18px;
17 changes: 13 additions & 4 deletions app/views/layouts/application.html.erb
@@ -1,12 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<title>Kanakoo</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
<title>Kanakoo</title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag "application" %>
<%= csrf_meta_tags %>
</head>
<body>
<div class="topbar">
<div class="topbar-inner">
<div class="container">
<h3>
<a href="/">Kariokee - The db you were waiting for!</a>
</h3>
</div>
</div>
</div>

<%= yield %>

Expand Down

0 comments on commit 91baece

Please sign in to comment.