Skip to content
This repository has been archived by the owner on Mar 15, 2018. It is now read-only.

Commit

Permalink
Merge pull request #56 from snap-cloud/bringingSexyBack
Browse files Browse the repository at this point in the history
Bringing sexy back
  • Loading branch information
alecguertin committed May 1, 2015
2 parents c19726b + 34f9b8d commit c7600fd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/assets/stylesheets/project_listing.css
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ div.center-text{

div.image-with-border {
border-radius: 25px;
border: 2px solid #8AC007;
padding: 20px;
border: 2px solid #2d3e50;
padding: 0px;
}

div.overlay-top {
Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<!-- FIXME: each page needs title... -->
<title>Snap! Build Your Own Blocks</title>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %> <!-- remove this line for the jquery error to go away -->
<%= csrf_meta_tags %>

<%= yield :head %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/projects/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
<!-- put a binary base64 encoded thumbnail as the play button -->
<img src="<%= @project.thumbnail %>" class="pure-img" >
</div>
<i class="overlay-top icono-play" style="color: #6FBEF3"></i> Try it!
<i class="overlay-top icono-play" style="color: #2d3e50"></i> Try it! <!--#6FBEF3 -->
</a>
</div>

Expand Down
8 changes: 6 additions & 2 deletions app/views/users/profile.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@
<h2 id="username"><%= @user.username %></h2>
<% if not @user == current_user %>
<a id="report-profile" class="pure-button" style="background: rgb(202,60,60);" href="/users/<%= @user.id %>/edit">
<div class="icono-flag">
<div>
<i class="icono-flag"></i>
Report
</div>
</a>
<% else %>
<a id="edit-profile" class="pure-button" style="background: rgb(202,60,60);" href="/users/<%= @user.id %>/edit">
<div class="icono-gear">
<div>
<i class="icono-gear"></i>
Edit
</div>
</a>
<% end %>
Expand Down
6 changes: 6 additions & 0 deletions features/step_definitions/project_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
page.should have_link(link, :href => url)
end

Then /^(?:|I) should see "(.*?)" before "(.*?)"$/ do |first, second|
assert page.include? first
assert page.include? second
assert page.index(first) < page.index(second)
end

Then /^(?:|I) should see the submit button "(.*?)"$/ do |input|
page.should have_selector("input[type=submit][value='#{input}']")
end
Expand Down

0 comments on commit c7600fd

Please sign in to comment.