Permalink
Browse files

Added new view for Other Boston Events list

  • Loading branch information...
1 parent 3a7820d commit 8edbd817898f3cf17914a054c4d5e3ab04106a07 Phil LaPier committed Jan 27, 2011
View
5 app/controllers/other_boston_events_controller.rb
@@ -0,0 +1,5 @@
+class OtherBostonEventsController < ApplicationController
+ def index
+ end
+
+end
View
2 app/helpers/other_boston_events_helper.rb
@@ -0,0 +1,2 @@
+module OtherBostonEventsHelper
+end
View
16 app/views/other_boston_events/index.html.erb
@@ -0,0 +1,16 @@
+<section id="free-event">
+ <h1>Other Boston Events</h1>
+</section>
+<section id="main" class="events-wrapper">
+ <ul id="boston-events">
+ <li><a href="http://www.meetup.com/javascript-2/">Boston Javascript Group</a></li>
+ <li><a href="http://bostonrb.org">Boston Ruby Group</a></li>
+ <li><a href="http://codeforamerica.org">Code for America</a></li>
+ <li><a href="http://www.devopsdays.org/events/2011-boston/">DevOps Day</a></li>
+ <li><a href="http://www.imaginecup.com/">Imagine Cup</a></li>
+ <li><a href="http://www.momoboston.com/about-2/mobile-learn-a-day-of-mobile-development-and-design/">Mobile Camp</a></li>
+ <li><a href="http://www.nech2011.com/">North-East College Hackathon</a></li>
+ <li><a href="http://workshops.thoughtbot.com/">Ruby on Rails Workshops</a></li>
+ </ul>
+</section>
+<div id="main-bottom"></div>
View
2 app/views/registrations/_closed.html.erb
@@ -3,5 +3,5 @@
</header>
<div id="other-events">
- <p>Curious about <a href="#">other Boston events?</a></p>
+ <p>Interested in attending <a href="other_boston_events/">other Boston events?</a></p>
</div>
View
14 config/routes.rb
@@ -1,12 +1,14 @@
Dddd::Application.routes.draw do
+
root :to => 'registrations#new'
- resources :registrations, :only => [:new, :create]
- resources :talks, :only => [:index, :show]
- resources :designers, :only => [:index]
- resources :developers, :only => [:index]
- resources :startups, :only => [:index, :show]
- resources :other_events, :only => [:index]
+ resources :registrations, :only => [:new, :create]
+ resources :talks, :only => [:index, :show]
+ resources :designers, :only => [:index]
+ resources :developers, :only => [:index]
+ resources :startups, :only => [:index, :show]
+ resources :other_events, :only => [:index]
+ resources :other_boston_events, :only => [:index]
match 'pages/what' => 'talks#index'
end
View
27 public/stylesheets/sass/screen.scss
@@ -821,6 +821,33 @@ section#main {
}
}
}
+/************************************************************************/
+// Other Boston Events
+/************************************************************************/
+
+section#main {
+ font-size: 14px;
+ line-height: 20px;
+ &.events-wrapper {
+ padding: 25px 0px 20px;
+ padding-bottom: 50px !important;
+ h2, h3 {
+ @include font-LeagueGothic;
+ font-weight: normal;
+ }
+ h2 { font-size: 34px; }
+ h3 { font-size: 24px; }
+ ul {
+ li {
+ text-align: center;
+ font-size: 1.4em;
+ margin: 1.2em 0;
+ line-height: 20px;
+ list-style: none;
+ }
+ }
+ }
+}
/* AUTOCOMPLETE */
ul.ui-autocomplete {
View
22 public/stylesheets/screen.css
@@ -1182,6 +1182,28 @@ section#main {
section#main section.talk-wrapper div.left ul li:first-child, section#main section.talk-wrapper div.right ul li:first-child {
margin: 0px; }
+/************************************************************************/
+/************************************************************************/
+section#main {
+ font-size: 14px;
+ line-height: 20px; }
+ section#main.events-wrapper {
+ padding: 25px 0px 20px;
+ padding-bottom: 50px !important; }
+ section#main.events-wrapper h2, section#main.events-wrapper h3 {
+ font-family: 'LeagueGothicRegular', "Gill Sans", "Trebuchet MS", Calibri, sans-serif;
+ font-weight: normal; }
+ section#main.events-wrapper h2 {
+ font-size: 34px; }
+ section#main.events-wrapper h3 {
+ font-size: 24px; }
+ section#main.events-wrapper ul li {
+ text-align: center;
+ font-size: 1.4em;
+ margin: 1.2em 0;
+ line-height: 20px;
+ list-style: none; }
+
/* AUTOCOMPLETE */
ul.ui-autocomplete {
background: #F2F2F2;
View
12 spec/controllers/other_boston_events_controller_spec.rb
@@ -0,0 +1,12 @@
+require 'spec_helper'
+
+describe OtherBostonEventsController do
+
+ describe "GET 'index'" do
+ it "should be successful" do
+ get 'index'
+ response.should be_success
+ end
+ end
+
+end
View
15 spec/helpers/other_boston_events_helper_spec.rb
@@ -0,0 +1,15 @@
+require 'spec_helper'
+
+# Specs in this file have access to a helper object that includes
+# the OtherBostonEventsHelper. For example:
+#
+# describe OtherBostonEventsHelper do
+# describe "string concat" do
+# it "concats two strings with spaces" do
+# helper.concat_strings("this","that").should == "this that"
+# end
+# end
+# end
+describe OtherBostonEventsHelper do
+ pending "add some examples to (or delete) #{__FILE__}"
+end
View
5 spec/views/other_boston_events/index.html.erb_spec.rb
@@ -0,0 +1,5 @@
+require 'spec_helper'
+
+describe "other_boston_events/index.html.erb" do
+ pending "add some examples to (or delete) #{__FILE__}"
+end

0 comments on commit 8edbd81

Please sign in to comment.