Remove chili

This commit is contained in:
Rohan Mitchell
2014-05-01 10:25:34 +10:00
parent d707624525
commit c9aefa507a
42 changed files with 33 additions and 304 deletions

View File

@@ -1,3 +0,0 @@
.bundle/
log/*.log
pkg/

View File

@@ -1,3 +0,0 @@
= Eaterprises Feature
This feature is released under the AGPL licence.

View File

@@ -1,13 +0,0 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require_tree .

View File

@@ -1,13 +0,0 @@
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require_tree .
*/

View File

@@ -1,3 +0,0 @@
<!-- insert_bottom 'head' -->
<%= stylesheet_link_tag 'eaterprises_feature/application' %>
<%= javascript_include_tag 'eaterprises_feature/application' %>

View File

@@ -1,3 +0,0 @@
EaterprisesFeature::Engine.automount!
EaterprisesFeature::Engine.routes.draw do
end

View File

@@ -1,22 +0,0 @@
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "eaterprises_feature/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "eaterprises_feature"
s.version = EaterprisesFeature::VERSION
s.authors = ["Rohan Mitchell"]
s.email = ["rohan@rohanmitchell.com"]
s.homepage = ""
s.summary = "Summary of EaterprisesFeature."
s.description = "Description of EaterprisesFeature."
s.files = Dir["{app,config,db,lib}/**/*"] + ["README.rdoc"]
s.add_dependency "rails", "~> 3.2.11"
s.add_dependency 'chili', '~> 3.1'
s.add_development_dependency "sqlite3"
end

View File

@@ -1,7 +0,0 @@
require "chili"
require "eaterprises_feature/engine"
module EaterprisesFeature
extend Chili::Base
active_if { OpenFoodNetwork::FeatureToggle.enabled? :eaterprises }
end

View File

@@ -1,17 +0,0 @@
require_relative '../../../../open_food_network/feature_toggle'
module EaterprisesFeature
class Engine < ::Rails::Engine
isolate_namespace EaterprisesFeature
if OpenFoodNetwork::FeatureToggle.enabled? :eaterprises
initializer 'eaterprises_feature.sass', :after => :load_config_initializers do |app|
app.config.sass.load_paths += [self.root.join('app', 'assets', 'stylesheets', 'eaterprises_feature')] if Rails.application.config.respond_to? :sass
end
initializer :assets do |app|
app.config.assets.precompile += ['eaterprises_feature/*']
end
end
end
end

View File

@@ -1,3 +0,0 @@
module EaterprisesFeature
VERSION = "0.0.1"
end

View File

@@ -1,3 +0,0 @@
class EaterprisesFeatureGenerator < Rails::Generators::Base
include Chili::GeneratorProxy
end

View File

@@ -1,3 +0,0 @@
.bundle/
log/*.log
pkg/

View File

@@ -1,3 +0,0 @@
= Local Organics Feature
This feature is released under the AGPL licence.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.3 KiB

View File

@@ -1,13 +0,0 @@
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require_tree .

View File

@@ -1,10 +0,0 @@
body.admin {
#header {
height: 150px;
}
#header #logo {
background-color: #fff;
border: 5px solid #fff;
}
}

View File

@@ -1,13 +0,0 @@
/*
* This is a manifest file that'll be compiled into application.css, which will include all the files
* listed below.
*
* Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
* or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
*
* You're free to add application-wide styles to this file and they'll appear at the top of the
* compiled file, but it's generally better to create a new file per style scope.
*
*= require_self
*= require_tree .
*/

View File

@@ -1,48 +0,0 @@
body {
background-color: #FFF5E0;
}
h2 {
font-size: 26px;
color: #331f00;
}
nav #main-nav-bar {
border-bottom: 9px solid #A3DCFF;
}
nav#taxonomies .taxonomy-root,
nav#taxonomies .taxons-list li a,
nav#filters .filter_name,
nav#filters .filter_choices li a {
font-size: 16px;
}
/* Products listing page */
#products-local ul {
background-color: #e6f4ff;
}
ul.product-listing li a.info {
font-size: 16px;
color: #331f00;
}
ul.product-listing li .price {
font-size: 20px;
}
/* Product details page */
#cart-form .distributor {
font-size: 14px;
font-weight: bold;
}
/* Checkout address page */
#checkout .alternative-available-distributors {
display: none;
}
div#checkout .form-buttons {
padding-top: 30px;
margin-left: 0;
}

View File

@@ -1,3 +0,0 @@
<!-- insert_bottom 'head' -->
<%= stylesheet_link_tag 'local_organics_feature/admin' %>
<%= javascript_include_tag 'local_organics_feature/admin' %>

View File

@@ -1,5 +0,0 @@
<!-- replace_contents '#header' sequence 1 -->
<div data-hook="admin_login_navigation_bar"></div>
<%= link_to image_tag('local_organics_feature/logo.png', :id => 'logo'), spree.admin_path %>
<h1><%= link_to t(:administration), spree.admin_path %></h1>
<div id="progress"><%= image_tag 'admin/progress.gif' %> <%= t(:loading) %>...</div>

View File

@@ -1,3 +0,0 @@
<!-- insert_bottom 'head' -->
<%= stylesheet_link_tag 'local_organics_feature/application' %>
<%= javascript_include_tag 'local_organics_feature/application' %>

View File

@@ -1,3 +0,0 @@
<!-- insert_bottom '#footer-left p' -->
| <%= link_to 'Terms and Conditions', "http://www.localorg.com.au/contactterms-and-conditions.html" %>
| <%= link_to "http://openfoodweb.org/foundation" do %><%= image_tag 'ofw.png', alt: 'Open Food Foundation' %><% end %>

View File

@@ -1,2 +0,0 @@
<!-- replace_contents 'figure#logo' -->
<%= logo 'local_organics_feature/logo.png' %>

View File

@@ -1,3 +0,0 @@
/ replace_contents '#products-local'
%h5= "Products at #{current_distributor.name}"
= render 'spree/shared/products', :products => @products_local, :taxon => @taxon

View File

@@ -1,3 +0,0 @@
/ replace_contents '#products-remote'
%h5 Products found elsewhere
= render 'spree/shared/products', :products => @products_remote, :taxon => @taxon

View File

@@ -1,3 +0,0 @@
LocalOrganicsFeature::Engine.automount!
LocalOrganicsFeature::Engine.routes.draw do
end

View File

@@ -1,3 +0,0 @@
class LocalOrganicsFeatureGenerator < Rails::Generators::Base
include Chili::GeneratorProxy
end

View File

@@ -1,7 +0,0 @@
require "chili"
require "local_organics_feature/engine"
module LocalOrganicsFeature
extend Chili::Base
active_if { OpenFoodNetwork::FeatureToggle.enabled? :local_organics }
end

View File

@@ -1,17 +0,0 @@
require_relative '../../../../open_food_network/feature_toggle'
module LocalOrganicsFeature
class Engine < ::Rails::Engine
isolate_namespace LocalOrganicsFeature
if OpenFoodNetwork::FeatureToggle.enabled? :local_organics
initializer 'local_organics_feature.sass', :after => :load_config_initializers do |app|
app.config.sass.load_paths += [self.root.join('app', 'assets', 'stylesheets', 'local_organics_feature')] if Rails.application.config.respond_to? :sass
end
initializer :assets do |app|
app.config.assets.precompile += ['local_organics_feature/*']
end
end
end
end

View File

@@ -1,3 +0,0 @@
module LocalOrganicsFeature
VERSION = "0.0.1"
end

View File

@@ -1,22 +0,0 @@
$:.push File.expand_path("../lib", __FILE__)
# Maintain your gem's version:
require "local_organics_feature/version"
# Describe your gem and declare its dependencies:
Gem::Specification.new do |s|
s.name = "local_organics_feature"
s.version = LocalOrganicsFeature::VERSION
s.authors = ["Rohan Mitchell"]
s.email = ["rohan@rohanmitchell.com"]
s.homepage = ""
s.summary = "Summary of LocalOrganicsFeature."
s.description = "Description of LocalOrganicsFeature."
s.files = Dir["{app,config,db,lib}/**/*"] + ["README.rdoc"]
s.add_dependency "rails", "~> 3.2.11"
s.add_dependency 'chili', '~> 3.1'
s.add_development_dependency "sqlite3"
end