Skip to content

Commit

Permalink
added fb like button
Browse files Browse the repository at this point in the history
  • Loading branch information
Larry Finn committed Oct 13, 2011
1 parent 2823beb commit f55c6a2
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 8 deletions.
2 changes: 2 additions & 0 deletions app/views/admins/admin_clients.html.erb
Expand Up @@ -9,6 +9,7 @@
<tr>
<th>Client Name</th>
<th>Project Type</th>
<th>List Order</th>
<th>View</th>
<th>Edit</th>
<th>Delete</th>
Expand All @@ -19,6 +20,7 @@
<tr class="admin_link_color">
<td><%=h client.title %></td>
<td><%=h client.sub_title %></td>
<td><%=h client.list_order %></td>
<td><%= link_to 'Show', client %></td>
<td><%= link_to 'Edit', edit_client_path(client) %></td>
<td><%= link_to 'Destroy', client, :confirm => 'Are you sure?', :method => :delete %></td>
Expand Down
8 changes: 4 additions & 4 deletions app/views/layouts/_social_links.html.erb
@@ -1,4 +1,4 @@
<!-- <div class="social">
<%= link_to image_tag("../images/social/facebook.png"), "http://www.facebook.com/pages/Cube2Media/349094344843", :target => "_blank" %>
<%= link_to image_tag("../images/social/tumblr.png"), "http://cube2media.tumblr.com/", :target => "_blank" %>
</div> -->
<div class="social">
<%= link_to "<h4>Like Us On Facebook</h4>", "http://www.facebook.com/pages/Cube2Media/349094344843", :target => "_blank" %>
<%= link_to image_tag("../images/facebook_like.png"), "http://www.facebook.com/pages/Cube2Media/349094344843", :target => "_blank" %>
</div>
Binary file added public/images/facebook_like.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 18 additions & 4 deletions public/stylesheets/application.css
Expand Up @@ -1312,10 +1312,24 @@ margin-left: 45px;
float: left;
}
.social {
left: 5px;
left: 35px;
position: absolute;
top: 70px;
width: 140px;
top: 55px;
width: 170px;
}
.social img {
margin-top: 10px;
}
.social h4 {
color: #DDDDDD;
font-size: 155%;
position: relative;
text-shadow: 0 1px 0 #000000;
width:180px;
}
.social h4:hover {
color: #a70d0e;
text-shadow: none;
}
/******************************************************************************/
/********************************************************SUB BOX LISTINGS****************/
Expand Down Expand Up @@ -1663,7 +1677,7 @@ text-decoration: underline;
}
.twitter_link {
position: absolute;
left: 60px;
left: 220px;
bottom: 0px;
width: 311px;
height: 125px;
Expand Down

0 comments on commit f55c6a2

Please sign in to comment.