Getting the project working again
Replace Twitter Bootstrap by Zurb Foundation Used @import in SCSS instad of require_tree for proper order and use of variables like $debian_color Moved old files out of the way (renamed them to xx*) Welcome controller (/) works Moved templates from ERB to SLIM format Fixed database settings Reduced routes to working ones Tidied up Gemfile Checked in experimental lab files Tried to find a good description for this massive commit :)
This commit is contained in:
parent
a7e05b2b78
commit
87f545414f
38 changed files with 3341 additions and 156 deletions
|
|
@ -12,6 +12,12 @@
|
|||
//
|
||||
//= require jquery
|
||||
//= require jquery_ujs
|
||||
//=require 'foundation/foundation.topbar'
|
||||
//=require 'foundation/foundation.slider'
|
||||
//= require fancybox
|
||||
//= require twitter/bootstrap
|
||||
//= require jquery.cycle2
|
||||
//= require_tree .
|
||||
|
||||
$(function(){
|
||||
$(document).foundation(); }
|
||||
);
|
||||
|
|
|
|||
|
|
@ -2,19 +2,19 @@
|
|||
# All this logic will automatically be available in application.js.
|
||||
# You can use CoffeeScript in this file: http://coffeescript.org/
|
||||
|
||||
jQuery ->
|
||||
# Enable fancybox zoom for thumbnail images
|
||||
$("a.fancybox").fancybox({
|
||||
openEffect : 'elastic',
|
||||
closeEffect : 'elastic',
|
||||
|
||||
helpers : {
|
||||
title : {
|
||||
type : 'inside'
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
# Submit the form if the user changes the view (grid or list)
|
||||
$("input[name='search[display]']").change ->
|
||||
$(this).parents('form').submit()
|
||||
#jQuery ->
|
||||
# # Enable fancybox zoom for thumbnail images
|
||||
# $("a.fancybox").fancybox({
|
||||
# openEffect : 'elastic',
|
||||
# closeEffect : 'elastic',
|
||||
#
|
||||
# helpers : {
|
||||
# title : {
|
||||
# type : 'inside'
|
||||
# }
|
||||
# }
|
||||
# })
|
||||
#
|
||||
# # Submit the form if the user changes the view (grid or list)
|
||||
# $("input[name='search[display]']").change ->
|
||||
# $(this).parents('form').submit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue