diff --git a/app/assets/javascripts/refinery/portfolio/portfolio.js.erb b/app/assets/javascripts/refinery/portfolio/portfolio.js.erb deleted file mode 100644 index 17859fe..0000000 --- a/app/assets/javascripts/refinery/portfolio/portfolio.js.erb +++ /dev/null @@ -1,7 +0,0 @@ -//= require 'skitter' -//= require_self - -jQuery(document).ready(function($) { - $('.slideshow').skitter(<%= ::Refinery::Portfolio.skitter_options.to_json %>); -}); - diff --git a/app/assets/stylesheets/refinery/portfolio/frontend.css.scss.erb b/app/assets/stylesheets/refinery/portfolio/frontend.css.scss.erb deleted file mode 100644 index 4d82a48..0000000 --- a/app/assets/stylesheets/refinery/portfolio/frontend.css.scss.erb +++ /dev/null @@ -1,56 +0,0 @@ -/* -*= require 'skitter/skitter' -*= require_self -*/ - - -<% max_image_width, max_image_height = ::Refinery::Portfolio.cover_image_thumb_size.split("x").map(&:to_i) %> - -.no-list { - list-style-type: none; - margin: 0; - padding: 0; -} - -#galleries { - - .gallery { - border: 1px solid #474747; - display: inline-block; - margin: 10px 10px; - width: <%= max_image_width %>px; - background-color: #dedede; - - a { - color: #000; - text-decoration: none; - } - - .image, .details { - padding: 0; - margin: 0; - } - - .image { - text-align: center; - width: 100%; - } - - .details { - - h2, p { - padding: 1px 5px; - } - - h2 { - font-size: 100%; - font-weight: bold; - } - } - - img { - } - } - -} - diff --git a/app/views/refinery/portfolio/galleries/index.html.erb b/app/views/refinery/portfolio/galleries/index.html.erb index 39de95f..fcc3a2a 100644 --- a/app/views/refinery/portfolio/galleries/index.html.erb +++ b/app/views/refinery/portfolio/galleries/index.html.erb @@ -4,6 +4,4 @@ <%= render 'galleries', :galleries => @galleries %> <% end %> -<%= render '/refinery/content_page' %> -<% content_for :stylesheets, stylesheet_link_tag('refinery/portfolio/frontend') %> -<% content_for :javascripts, javascript_include_tag('refinery/portfolio') %> +<%= render '/refinery/content_page' %> \ No newline at end of file diff --git a/app/views/refinery/portfolio/items/_items.html.erb b/app/views/refinery/portfolio/items/_items.html.erb index 5efadbc..e51511e 100644 --- a/app/views/refinery/portfolio/items/_items.html.erb +++ b/app/views/refinery/portfolio/items/_items.html.erb @@ -1,5 +1,5 @@ <%- if items.present? -%> -