Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Santiago Torres G committed Aug 22, 2019
1 parent 17a1228 commit fa3632a
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Building a functional clone of Facebook.

Built with Rails 5.2. Powered by black coffee.
Built with Rails 5.2. Powered by teal coffee.

## Developers Team

Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/registrations/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</div>

<div class="actions">
<%= f.submit "Sign up", class:'ui purple basic button' %>
<%= f.submit "Sign up", class:'ui teal basic button' %>
</div>
<br>
<% end %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/devise/sessions/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<% end %>

<div class="actions">
<%= f.submit "Log in", class: 'ui purple basic button' %>
<%= f.submit "Log in", class: 'ui teal basic button' %>
</div>
<br>
<%= render "devise/shared/links" %>
Expand Down
4 changes: 2 additions & 2 deletions app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>FacebookApp</title>
<title>Fakebook</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>

Expand All @@ -10,7 +10,7 @@
</head>

<body>
<div class="ui purple inverted small menu attached">
<div class="ui teal inverted small menu attached">
<div class="ui container">
<%= render 'shared/navigation'%>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/pages/home.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h4 class="ui center aligned medium icon header">
<i class="circular purple users icon"></i>
<i class="circular teal users icon"></i>
Welcome to Fakebook app!
</h4>

Expand Down
2 changes: 1 addition & 1 deletion app/views/posts/edit.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2 class="ui center aligned icon header">
<i class="circular purple edit outline icon"></i>
<i class="circular teal edit outline icon"></i>
Edit your post
</h2>
<br>
Expand Down
5 changes: 3 additions & 2 deletions app/views/posts/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2 class="ui center aligned icon header">
<i class="circular purple folder open outline icon"></i>
<i class="circular teal folder open outline icon"></i>
Posts index
</h2>

Expand All @@ -9,10 +9,11 @@
<div class="content">
<%= post.content %>
<br>
<br>
<div class="meta">Author: <%= post.author.name %> <%= post.author.lastname %></div>
</div>
<%= link_to post_path(post) do %>
<div class="ui purple basic bottom attached button">
<div class="ui bottom attached button">
<i class="envelope outline icon"></i>
Open
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/posts/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<h2 class="ui center aligned icon header">
<i class="circular purple envelope open outline icon"></i>
<i class="circular teal envelope open outline icon"></i>
Post
</h2>

Expand Down
4 changes: 3 additions & 1 deletion app/views/shared/_navigation.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<a class="item" style="padding: 0px">
<div class="logo"></div>
<%= link_to posts_path do %>
<div class="logo"></div>
<% end %>
</a>
<% if current_user.nil?%>
<%= render 'shared/signin_form' %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/shared/_postform.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</div>
<br>
<div class="ui centered grid actions">
<%= f.submit "Post", class: 'medium ui purple basic button' %>
<%= f.submit "Post", class: 'medium ui teal basic button' %>
</div>
<br>
<% end %>
2 changes: 1 addition & 1 deletion app/views/shared/_signin_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</div>

<div class="actions">
<%= f.submit "Log in", class: 'ui button' %>
<%= f.submit "Log in", class: 'ui inverted teal basic button' %>
</div>
<br>
</div>
Expand Down
8 changes: 5 additions & 3 deletions app/views/shared/_signout_nav.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<div class="right menu">
<div class="ui inverted inline form relaxed">
<div class="ui button" style="margin:0.5em 0.9em -0.9em">
<%= link_to 'Logout', destroy_user_session_path, method: :delete %>
</div>
<%= link_to destroy_user_session_path, method: :delete do %>
<div class="ui inverted teal basic button" style="margin:0.5em 0.9em -0.9em">
Sign out
</div>
<% end %>
</div>
</div>
2 changes: 1 addition & 1 deletion app/views/shared/_signup_form.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
</div>

<div class="actions">
<%= f.submit "Sign up", class: 'ui purple basic button' %>
<%= f.submit "Sign up", class: 'ui teal basic button' %>
</div>
<br>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/users/index.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<h2 class="ui center aligned icon header">
<i class="circular purple users icon"></i>
<i class="circular teal users icon"></i>
Users index
</h2>

Expand Down

0 comments on commit fa3632a

Please sign in to comment.