Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SE-Team/project-x into jo…
Browse files Browse the repository at this point in the history
…rdan
  • Loading branch information
jordanrossdunn committed Dec 3, 2012
2 parents f040477 + 80bf343 commit 6d6b59b
Show file tree
Hide file tree
Showing 16 changed files with 39 additions and 19 deletions.
8 changes: 7 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ task :deploy_to_heroku do
ENV['DEV_MODE'] = false
end
################################################################################

################################################################################
## RSpec Rake tasks ############################################################
## Can be run with:
Expand Down Expand Up @@ -76,4 +76,10 @@ class String
tr("-", "_").
return downcase
end
end

directory "lib/tasks"

task create: "tasks/diagrams.rb" do

end
Binary file added lib/public/images/index/Calendar3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/Calendar4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/Project-X.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/calendar.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/calendar2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/eventful_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/google_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/login_665x440.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/project-x_2.PNG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/project-x_3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/project-x_4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added lib/public/images/index/thetvdb_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions lib/tasks/diagrams.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace :doc do
namespace :diagram do
task :models do
sh "railroad -i -l -a -m -M | dot -Tsvg | sed 's/font-size:14.00/font-size:11.00/g' > doc/models.svg"
end

task :controllers do
sh "railroad -i -l -C | neato -Tsvg | sed 's/font-size:14.00/font-size:11.00/g' > doc/controllers.svg"
end
end

task :diagrams => %w(diagram:models diagram:controllers)
end
37 changes: 19 additions & 18 deletions lib/views/index.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,35 +13,36 @@
#myCarousel.carousel.slide.offset1.span9.well
.carousel-inner
.item.active
%img{:alt => "", :src => "http://twitter.github.com/bootstrap/assets/img/bootstrap-mdo-sfmoma-01.jpg"}
%img{:alt => "", :src => "images/index/project-x_4.png"}
.carousel-caption
%h4 First Thumbnail label
%p Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
%h4 Search for upcoming Events
%p Use the search option to find out about upcoming events you don't want to miss! We offer you access to olur vast database which is connected with diverse sources such as BG TV and Google.
.item
%img{:alt => "", :src => "http://twitter.github.com/bootstrap/assets/img/bootstrap-mdo-sfmoma-02.jpg"}
%img{:alt => "", :src => "images/index/calendar4.png"}
.carousel-caption
%h4 First Thumbnail label
%p Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
.item
%img{:alt => "", :src => "http://twitter.github.com/bootstrap/assets/img/bootstrap-mdo-sfmoma-03.jpg"}
%h4 Add events to your Google Calendar
%p Want to keep track of what's going on when where and who is joining? You decide which events to add to your personal Calendar to be up-to-date - anywhere, anytime!

.item
%img{:alt => "", :src => "images/index/login_665x440.png"}
.carousel-caption
%h4 First Thumbnail label
%p Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
%h4 Login with your Google account
%p Too many accounts and passwords? No problem! Just use our comfortable option of using your Google account to login. Ready to go!
%a.left.carousel-control{"data-slide" => "prev", :href => "#myCarousel"} ‹
%a.right.carousel-control{"data-slide" => "next", :href => "#myCarousel"} ›
.row-fluid
.span4
%img{:src => "assets/img/bs-docs-twitter-github.png"}
%h2 By nerds, for nerds.
%img{:src => "images/index/google_logo.png", :height => 125}
%h2 Google integrated.
%p
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Login with your existing Google account and sync with your Google Calendars.
.span4
%img{:src => "assets/img/bs-docs-responsive-illustrations.png"}
%h2 Made for everyone.
%img{:src => "images/index/thetvdb_logo.png", :height => 125}
%h2 TV shows.
%p
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Search TheTVDB's tv listings to find showtimes of upcoming shows and add them to your Google Calendar.
.span4
%img{:src => "assets/img/bs-docs-bootstrap-features.png"}
%img{:src => "images/index/eventful_logo.png", :height => 125}
%h2 Packed with features.
%p
Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.
Search for events and take advantage of our vasr database linked to web services such as Eventful which aims to help users search for, track and share information about events.
Empty file added models.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 6d6b59b

Please sign in to comment.