-
Notifications
You must be signed in to change notification settings - Fork 0
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
18 changed files
with
141 additions
and
38 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 |
---|---|---|
|
@@ -16,3 +16,4 @@ | |
!/log/.keep | ||
/tmp | ||
/coverage | ||
Gemfile.lock |
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
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 |
---|---|---|
@@ -1 +1 @@ | ||
# evening-edition | ||
# Evening-Edition ![travis-ci](https://travis-ci.org/jasonpettus/evening-edition.svg?branch=master) [![Coverage Status](https://coveralls.io/repos/jasonpettus/evening-edition/badge.svg?branch=master&service=github)](https://coveralls.io/github/jasonpettus/evening-edition?branch=master) |
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
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
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
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
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
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
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,8 @@ | ||
<div class="form_box"> | ||
<%= form_tag("/users/login", method: 'POST') do %> | ||
<p><%= text_field_tag "email", placeholder: "Email" %></p> | ||
<p><%= text_field_tag "password", placeholder: "Password" %></p> | ||
<p><%= text_field_tag "password_confirmation", placeholder: 'Password Confirmation' %></p> | ||
<p><%= submit_tag "Login" %></p> | ||
<% end %> | ||
</div> |
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
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
Binary file not shown.
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
<%= form_tag("/users/login", method: 'POST') do %> | ||
<%= text_field_tag "email", placeholder: "Email" %> | ||
<%= text_field_tag "password", placeholder: "Password" %> | ||
<%= text_field_tag "password_confirmation", placeholder: 'Password Confirmation' %> | ||
<%= submit_tag "Login" %> | ||
<% end %> | ||
<div class="login_box"> | ||
<%= form_tag("/users/login", method: 'POST') do %> | ||
<%= text_field_tag 'email', nil, placeholder: 'Email' %> | ||
<%= text_field_tag 'password', nil, placeholder: 'Password' %> | ||
<%= submit_tag 'Login' %> | ||
<% end %> | ||
</div> |
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 |
---|---|---|
@@ -1,13 +1,10 @@ | ||
<% if @user.errors.any? %> | ||
<ul> | ||
<% @user.errors.full_messages.each do |error_message| %> | ||
<li><%= error_message %></li> | ||
<% end %> | ||
</ul> | ||
<% if session['login_error'] %> | ||
<p><%= Incorrect Email or Password %></p> | ||
<% end %> | ||
<%= form_for @user do |f| %> | ||
<%= f.text_field :email, placeholder: 'email' %> | ||
<%= f.text_field :password, placeholder: 'password' %> | ||
<%= f.text_field "password_confirmation", placeholder: 'Password Confirmation' %> | ||
<%= f.submit value: 'Create Account' %> | ||
<% 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 @@ | ||
|
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
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,59 @@ | ||
New York Times: Front Page | ||
http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml | ||
|
||
BBC: Top Stories | ||
http://feeds.bbci.co.uk/news/rss.xml | ||
|
||
CNN: Top Stories | ||
http://rss.cnn.com/rss/cnn_topstories.rss | ||
|
||
Al Jazeera: All Articles | ||
http://america.aljazeera.com/content/ajam/articles.rss | ||
|
||
Los Angeles Times: All Articles | ||
http://www.latimes.com/rss2.0.xml | ||
|
||
Chicago Tribune: Front Page | ||
http://www.chicagotribune.com/rss2.0.xml | ||
|
||
TIME | ||
http://newsfeed.time.com/feed/&t1= | ||
|
||
Newsweek | ||
http://www.newsweek.com/rss | ||
|
||
The Economist | ||
http://www.economist.com/rss/the_world_this_week_rss.xml | ||
|
||
Wall Street Journal | ||
http://www.wsj.com/xml/rss/3_7085.xml | ||
|
||
The Daily Beast | ||
http://feeds.feedburner.com/thedailybeast/articles | ||
|
||
The Huffington Post | ||
http://www.huffingtonpost.com/feeds/index.xml | ||
|
||
Sports Illustrated | ||
http://www.si.com/rss/si_topstories.rss | ||
|
||
WIRED | ||
http://feeds.wired.com/wired/index | ||
|
||
Chicagoist | ||
http://chicagoist.com/index.xml | ||
|
||
Politico | ||
http://www.politico.com/rss/magazine.xml | ||
|
||
The Week | ||
http://theweek.com/rss.xml | ||
|
||
Council on Foreign Relations | ||
http://feeds.cfr.org/cfr_main | ||
|
||
Boing Boing | ||
http://boingboing.net/feed | ||
|
||
AV Club | ||
http://www.avclub.com/feed/rss/ |