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
60 changed files
with
791 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
# | ||
# If you find yourself ignoring temporary files generated by your text editor | ||
# or operating system, you probably want to add a global ignore instead: | ||
# git config --global core.excludesfile ~/.gitignore_global | ||
|
||
# Ignore bundler config | ||
/.bundle | ||
|
||
# Ignore the default SQLite database. | ||
/db/*.sqlite3 | ||
|
||
# Ignore all logfiles and tempfiles. | ||
/log/*.log | ||
/tmp | ||
|
||
.sass-cache/ | ||
.rspec | ||
.DS_Store |
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 @@ | ||
rvm --create use ruby-1.9.3-p0@ctbex | ||
|
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,41 @@ | ||
source 'https://rubygems.org' | ||
|
||
gem 'rails', '3.2.1' | ||
|
||
# Bundle edge Rails instead: | ||
# gem 'rails', :git => 'git://github.com/rails/rails.git' | ||
|
||
gem 'sqlite3' | ||
gem 'simple_form', '>= 2.0.0.rc' | ||
gem 'slim-rails', '~> 1.0.2' | ||
|
||
# Gems used only for assets and not required | ||
# in production environments by default. | ||
group :assets do | ||
gem 'sass-rails', '~> 3.2.3' | ||
gem 'coffee-rails', '~> 3.2.1' | ||
gem 'compass-rails', '>= 1.0.0.rc.1' | ||
gem 'compass_twitter_bootstrap', :git => 'git://github.com/vwall/compass-twitter-bootstrap.git' | ||
|
||
# See https://github.com/sstephenson/execjs#readme for more supported runtimes | ||
# gem 'therubyracer' | ||
|
||
gem 'uglifier', '>= 1.0.3' | ||
end | ||
|
||
gem 'jquery-rails' | ||
|
||
# To use ActiveModel has_secure_password | ||
# gem 'bcrypt-ruby', '~> 3.0.0' | ||
|
||
# To use Jbuilder templates for JSON | ||
# gem 'jbuilder' | ||
|
||
# Use unicorn as the web server | ||
# gem 'unicorn' | ||
|
||
# Deploy with Capistrano | ||
# gem 'capistrano' | ||
|
||
# To use debugger | ||
# gem 'ruby-debug19', :require => 'ruby-debug' |
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,142 @@ | ||
GIT | ||
remote: git://github.com/vwall/compass-twitter-bootstrap.git | ||
revision: 3e2434603edcbb7559c92c83565bac6ca2500890 | ||
specs: | ||
compass_twitter_bootstrap (0.1.8) | ||
compass | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
actionmailer (3.2.1) | ||
actionpack (= 3.2.1) | ||
mail (~> 2.4.0) | ||
actionpack (3.2.1) | ||
activemodel (= 3.2.1) | ||
activesupport (= 3.2.1) | ||
builder (~> 3.0.0) | ||
erubis (~> 2.7.0) | ||
journey (~> 1.0.1) | ||
rack (~> 1.4.0) | ||
rack-cache (~> 1.1) | ||
rack-test (~> 0.6.1) | ||
sprockets (~> 2.1.2) | ||
activemodel (3.2.1) | ||
activesupport (= 3.2.1) | ||
builder (~> 3.0.0) | ||
activerecord (3.2.1) | ||
activemodel (= 3.2.1) | ||
activesupport (= 3.2.1) | ||
arel (~> 3.0.0) | ||
tzinfo (~> 0.3.29) | ||
activeresource (3.2.1) | ||
activemodel (= 3.2.1) | ||
activesupport (= 3.2.1) | ||
activesupport (3.2.1) | ||
i18n (~> 0.6) | ||
multi_json (~> 1.0) | ||
arel (3.0.0) | ||
builder (3.0.0) | ||
chunky_png (1.2.5) | ||
coffee-rails (3.2.2) | ||
coffee-script (>= 2.2.0) | ||
railties (~> 3.2.0) | ||
coffee-script (2.2.0) | ||
coffee-script-source | ||
execjs | ||
coffee-script-source (1.2.0) | ||
compass (0.12.rc.1) | ||
chunky_png (~> 1.2) | ||
fssm (>= 0.2.7) | ||
sass (~> 3.1) | ||
compass-rails (1.0.0.rc.2) | ||
compass (~> 0.12.rc.0) | ||
erubis (2.7.0) | ||
execjs (1.3.0) | ||
multi_json (~> 1.0) | ||
fssm (0.2.8.1) | ||
hike (1.2.1) | ||
i18n (0.6.0) | ||
journey (1.0.1) | ||
jquery-rails (2.0.0) | ||
railties (>= 3.2.0.beta, < 5.0) | ||
thor (~> 0.14) | ||
json (1.6.5) | ||
mail (2.4.1) | ||
i18n (>= 0.4.0) | ||
mime-types (~> 1.16) | ||
treetop (~> 1.4.8) | ||
mime-types (1.17.2) | ||
multi_json (1.0.4) | ||
polyglot (0.3.3) | ||
rack (1.4.1) | ||
rack-cache (1.1) | ||
rack (>= 0.4) | ||
rack-ssl (1.3.2) | ||
rack | ||
rack-test (0.6.1) | ||
rack (>= 1.0) | ||
rails (3.2.1) | ||
actionmailer (= 3.2.1) | ||
actionpack (= 3.2.1) | ||
activerecord (= 3.2.1) | ||
activeresource (= 3.2.1) | ||
activesupport (= 3.2.1) | ||
bundler (~> 1.0) | ||
railties (= 3.2.1) | ||
railties (3.2.1) | ||
actionpack (= 3.2.1) | ||
activesupport (= 3.2.1) | ||
rack-ssl (~> 1.3.2) | ||
rake (>= 0.8.7) | ||
rdoc (~> 3.4) | ||
thor (~> 0.14.6) | ||
rake (0.9.2.2) | ||
rdoc (3.12) | ||
json (~> 1.4) | ||
sass (3.1.13) | ||
sass-rails (3.2.4) | ||
railties (~> 3.2.0) | ||
sass (>= 3.1.10) | ||
tilt (~> 1.3) | ||
simple_form (2.0.0.rc) | ||
actionpack (~> 3.0) | ||
activemodel (~> 3.0) | ||
slim (1.1.0) | ||
temple (~> 0.3.5) | ||
tilt (~> 1.3.2) | ||
slim-rails (1.0.2) | ||
actionpack (~> 3.0) | ||
activesupport (~> 3.0) | ||
railties (~> 3.0) | ||
slim (~> 1.0) | ||
sprockets (2.1.2) | ||
hike (~> 1.2) | ||
rack (~> 1.0) | ||
tilt (~> 1.1, != 1.3.0) | ||
sqlite3 (1.3.5) | ||
temple (0.3.5) | ||
thor (0.14.6) | ||
tilt (1.3.3) | ||
treetop (1.4.10) | ||
polyglot | ||
polyglot (>= 0.3.1) | ||
tzinfo (0.3.31) | ||
uglifier (1.2.3) | ||
execjs (>= 0.3.0) | ||
multi_json (>= 1.0.2) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
coffee-rails (~> 3.2.1) | ||
compass-rails (>= 1.0.0.rc.1) | ||
compass_twitter_bootstrap! | ||
jquery-rails | ||
rails (= 3.2.1) | ||
sass-rails (~> 3.2.3) | ||
simple_form (>= 2.0.0.rc) | ||
slim-rails (~> 1.0.2) | ||
sqlite3 | ||
uglifier (>= 1.0.3) |
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 @@ | ||
#!/usr/bin/env rake | ||
# Add your own tasks in files placed in lib/tasks ending in .rake, | ||
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. | ||
|
||
require File.expand_path('../config/application', __FILE__) | ||
|
||
Ctbex::Application.load_tasks |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,16 @@ | ||
// This is a manifest file that'll be compiled into application.js, which will include all the files | ||
// listed below. | ||
// | ||
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts, | ||
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path. | ||
// | ||
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the | ||
// the compiled file. | ||
// | ||
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD | ||
// GO AFTER THE REQUIRES BELOW. | ||
// | ||
//= require jquery | ||
//= require jquery_ujs | ||
//= require bootstrap-modal | ||
//= require_tree . |
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,13 @@ | ||
/* | ||
* This is a manifest file that'll be compiled into application.css, which will include all the files | ||
* listed below. | ||
* | ||
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets, | ||
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path. | ||
* | ||
* 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 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
@import compass | ||
@import compass_twitter_bootstrap | ||
@import compass_twitter_bootstrap_responsive | ||
|
||
body | ||
padding-bottom: 40px | ||
padding-top: 60px |
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 @@ | ||
/* Welcome to Compass. Use this file to define print styles. | ||
* Import this file using the following HTML or equivalent: | ||
* <link href="/stylesheets/print.css" media="print" rel="stylesheet" type="text/css" /> */ |
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 @@ | ||
class ApplicationController < ActionController::Base | ||
protect_from_forgery | ||
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 @@ | ||
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 ApplicationHelper | ||
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 |
Empty file.
Empty file.
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,13 @@ | ||
div id="myModal" class="modal hide" | ||
div class="modal-header" | ||
a class="close" data-dismiss="modal" × | ||
h3 Modal header | ||
|
||
div class="modal-body" | ||
p Test of modal | ||
div class="progress progress-danger progress-striped active" | ||
div class="bar" style="width: 20%;" | ||
|
||
div class="modal-footer" | ||
a href="#" class="btn btn-primary" Save changes | ||
a href="#" class="btn" data-dismiss="modal" Close |
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,33 @@ | ||
div class="hero-unit" | ||
h1 Compass Twitter Bootstrap Demo | ||
|
||
p Quick demonstration on how to setup the compass twitter Bootstrap Gem with Rails 3.2 | ||
|
||
p | ||
a class="btn btn-primary btn-large" href="https://github.com/vwall/Compass-Twitter-Bootstrap-Demo-App" View Source » | ||
|
||
div class="row" | ||
div class="span4" | ||
h2 Heading | ||
p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. | ||
|
||
p | ||
a class="btn" data-toggle="modal" href="#myModal" Demo Modal | ||
|
||
div class="span4" | ||
h2 Heading | ||
|
||
p Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. | ||
|
||
p | ||
a class="btn" href="#" View details » | ||
|
||
div class="span4" | ||
h2 Heading | ||
|
||
p Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. | ||
|
||
p | ||
a class="btn" href="#" View details » | ||
|
||
= render 'modal' |
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,10 @@ | ||
div class="navbar navbar-fixed-top" | ||
div class="navbar-inner" | ||
div class="container" | ||
a class="brand" Demo | ||
ul class="nav" | ||
li class="active" = link_to 'Home', "#" | ||
li = link_to 'Link', '#' | ||
li = link_to 'Another LInk', '#' | ||
ul class="nav pull-right" | ||
li = link_to 'Right Link', '#' |
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,16 @@ | ||
doctype 5 | ||
html | ||
head | ||
title Compass Twitter Bootstrap Demo | ||
meta name="keywords" content="template language" | ||
|
||
= stylesheet_link_tag "application" | ||
= javascript_include_tag "application" | ||
= csrf_meta_tag | ||
|
||
body | ||
= render 'layouts/nav' | ||
div class="container" | ||
div class="content" | ||
== yield | ||
|
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 @@ | ||
# This file is used by Rack-based servers to start the application. | ||
|
||
require ::File.expand_path('../config/environment', __FILE__) | ||
run Ctbex::Application |
Oops, something went wrong.