Permalink
Browse files

Fixed a few little things

  • Loading branch information...
Jarred-Sumner committed Feb 18, 2012
1 parent 23b1f31 commit 0e16d6476086e3039e1a5f3504cf189b41d19d65
View
@@ -1,11 +1,3 @@
-GIT
- remote: git://github.com/anjlab/bootstrap-rails.git
- revision: 8e05157817616d80e157593448d2affe26df9c35
- specs:
- anjlab-bootstrap-rails (2.0.0.4)
- railties (>= 3.0)
- sass
-
GEM
remote: https://rubygems.org/
specs:
@@ -37,6 +29,7 @@ GEM
i18n (~> 0.6)
multi_json (~> 1.0)
arel (3.0.0)
+ bootstrap-sass (2.0.1)
bourbon (1.3.6)
sass (>= 3.1)
builder (3.0.0)
@@ -144,7 +137,7 @@ PLATFORMS
ruby
DEPENDENCIES
- anjlab-bootstrap-rails!
+ bootstrap-sass
bourbon
capistrano
coffee-rails (~> 3.2.1)
@@ -14,7 +14,6 @@
//= require jquery_ujs
//= require jquery-ui
//= require pjax
-//= require jquery.textchange.min
//= require bootstrap-modal
//= require_self
$(document).ready(function()
@@ -4,7 +4,6 @@
*/
@import "bourbon";
@import "bootstrap";
-@import 'boostrap-responsive';
@import url(http://fonts.googleapis.com/css?family=Asap|Oswald);
#not_affiliated
@@ -35,4 +34,14 @@
-ms-user-select: none;
-o-user-select: none;
user-select: none;
+}
+#footer
+{
+ margin: 0 auto;
+ padding: 0;
+ text-align: center;
+ position: absolute;
+ bottom: 0px;
+ right: 25%;
+ left: 25%;
}
@@ -33,13 +33,13 @@ def subscribe
def unsubscribe
@email = EmailUpdate.where(:email => params[:email]).each { |email| email.destroy }
respond_to do |format|
- format.html { redirect_to '/' }
+ format.html { redirect_to '/', :notice => "You won't receive any more emails from FundingList" }
format.json { render :json => nil}
end
end
def search
- @results = Company.where("name ilike ?", "#{params[:query]}%").limit(8) unless params[:query] == ''
+ @results = Company.where("name like ?", "#{params[:query]}%").limit(8) unless params[:query] == ''
respond_to do |format|
format.json
end
@@ -2,7 +2,7 @@
<div id='companies'>
<h1>Know your competitors</h1>
<h3>Find out and stay up to date on any startup's funding</h3>
- <input type='search' id='search' placeholder='Startup' value='<%= params[:search] %>'/>
+ <input type='search' id='search' placeholder='Featured Companies' value='<%= params[:search] %>'/>
<ul id='companies_list'>
<% @companies.each do |company| %>
<li class='company unselectable'>
@@ -19,12 +19,23 @@
</div>
</div>
<div class='container' data-pjax-container>
+ <% if flash[:notice] %>
+ <div class='alert alert-success unselectable' id='success_alert'>
+ <div id='success_alert_text'><%= flash[:notice] %></div>
+ <a class="close">&times;</a>
+ </div>
+ <% else %>
<div class='alert alert-success hidden unselectable' id='success_alert'>
- <div id='success_alert_text'></div>
- <a class="close">&times;</a><%= flash[:notice] %></div>
+ <div id='success_alert_text'><%= flash[:notice] %></div>
+ <a class="close">&times;</a>
+ </div>
+ <% end %>
<%= yield %>
</div>
- <div id="not_affiliated">Companies, rounds, and related persons are retrieved from SEC filings. This website is not affiliated with the SEC in any other way.</div>
+ <div id='footer'>
+ <div id='created_by'>Created by <a href='http://jarredsumner.com'>Jarred Sumner</a></div>
+ <div id="not_affiliated">Companies, rounds, and related persons are retrieved from SEC filings. This website is not affiliated with the SEC in any other way.</div>
+ </div>
</body>
</html>

0 comments on commit 0e16d64

Please sign in to comment.