spree_core 1.3.5 → 2.0.0.rc1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +14 -6
- data/app/assets/javascripts/spree.js.coffee +3 -0
- data/app/controllers/spree/base_controller.rb +2 -0
- data/app/helpers/spree/admin/adjustments_helper.rb +26 -0
- data/app/helpers/spree/admin/images_helper.rb +2 -2
- data/app/helpers/spree/base_helper.rb +36 -31
- data/app/helpers/spree/checkout_helper.rb +3 -3
- data/app/helpers/spree/products_helper.rb +7 -7
- data/app/helpers/spree/promotion_rules_helper.rb +13 -0
- data/app/helpers/spree/store_helper.rb +11 -0
- data/app/mailers/spree/base_mailer.rb +1 -5
- data/app/mailers/spree/order_mailer.rb +8 -13
- data/app/mailers/spree/shipment_mailer.rb +4 -4
- data/app/mailers/spree/test_mailer.rb +3 -4
- data/app/models/spree/ability.rb +6 -6
- data/app/models/spree/activator.rb +4 -4
- data/app/models/spree/address.rb +17 -13
- data/app/models/spree/adjustment.rb +64 -70
- data/app/models/spree/alert.rb +12 -9
- data/app/models/spree/app_configuration.rb +71 -58
- data/app/models/spree/asset.rb +2 -2
- data/app/models/spree/billing_integration.rb +4 -6
- data/app/models/spree/calculator/default_tax.rb +1 -1
- data/app/models/spree/calculator/flat_percent_item_total.rb +3 -3
- data/app/models/spree/calculator/flat_rate.rb +1 -1
- data/app/models/spree/calculator/flexi_rate.rb +1 -1
- data/app/models/spree/calculator/free_shipping.rb +19 -0
- data/app/models/spree/calculator/per_item.rb +1 -1
- data/app/models/spree/calculator/percent_per_item.rb +45 -0
- data/app/models/spree/calculator/price_sack.rb +1 -1
- data/app/models/spree/calculator/shipping/flat_percent_item_total.rb +21 -0
- data/app/models/spree/calculator/shipping/flat_rate.rb +20 -0
- data/app/models/spree/calculator/shipping/flexi_rate.rb +38 -0
- data/app/models/spree/calculator/shipping/per_item.rb +20 -0
- data/app/models/spree/calculator/shipping/price_sack.rb +32 -0
- data/app/models/spree/calculator.rb +3 -3
- data/app/models/spree/classification.rb +2 -5
- data/app/models/spree/country.rb +3 -6
- data/app/models/spree/credit_card.rb +11 -32
- data/app/models/spree/gateway.rb +3 -3
- data/app/models/spree/image.rb +7 -6
- data/app/models/spree/inventory_unit.rb +30 -97
- data/app/models/spree/legacy_user.rb +3 -3
- data/app/models/spree/line_item.rb +27 -57
- data/app/models/spree/log_entry.rb +1 -1
- data/app/models/spree/option_type.rb +6 -6
- data/app/models/spree/option_value.rb +4 -2
- data/app/models/spree/order/checkout.rb +3 -6
- data/app/models/spree/order.rb +152 -153
- data/app/models/spree/order_contents.rb +69 -0
- data/app/models/spree/order_inventory.rb +109 -0
- data/app/models/spree/order_populator.rb +8 -18
- data/app/models/spree/order_updater.rb +24 -13
- data/app/models/spree/payment/processing.rb +7 -13
- data/app/models/spree/payment.rb +19 -25
- data/app/models/spree/payment_method.rb +4 -4
- data/app/models/spree/preference.rb +3 -4
- data/app/models/spree/price.rb +3 -3
- data/app/models/spree/product/scopes.rb +9 -11
- data/app/models/spree/product.rb +57 -119
- data/app/models/spree/product_option_type.rb +3 -3
- data/app/models/spree/product_property.rb +6 -6
- data/app/models/spree/promotion/actions/create_adjustment.rb +71 -0
- data/app/models/spree/promotion/actions/create_line_items.rb +23 -0
- data/app/models/spree/promotion/rules/first_order.rb +29 -0
- data/app/models/spree/promotion/rules/item_total.rb +21 -0
- data/app/models/spree/promotion/rules/product.rb +46 -0
- data/app/models/spree/promotion/rules/user.rb +24 -0
- data/app/models/spree/promotion/rules/user_logged_in.rb +13 -0
- data/app/models/spree/promotion.rb +109 -0
- data/app/models/spree/promotion_action.rb +19 -0
- data/app/models/spree/promotion_action_line_item.rb +8 -0
- data/app/models/spree/promotion_rule.rb +25 -0
- data/app/models/spree/property.rb +9 -8
- data/app/models/spree/prototype.rb +3 -3
- data/app/models/spree/return_authorization.rb +26 -15
- data/app/models/spree/role.rb +1 -1
- data/app/models/spree/shipment.rb +166 -51
- data/app/models/spree/shipping_calculator.rb +25 -0
- data/app/models/spree/shipping_category.rb +3 -2
- data/app/models/spree/shipping_method.rb +33 -41
- data/app/models/spree/shipping_method_category.rb +6 -0
- data/app/models/spree/shipping_rate.rb +10 -7
- data/app/models/spree/state.rb +2 -2
- data/app/models/spree/state_change.rb +1 -1
- data/app/models/spree/stock/adjuster.rb +28 -0
- data/app/models/spree/stock/availability_validator.rb +15 -0
- data/app/models/spree/stock/coordinator.rb +49 -0
- data/app/models/spree/stock/differentiator.rb +44 -0
- data/app/models/spree/stock/estimator.rb +39 -0
- data/app/models/spree/stock/order_counter.rb +55 -0
- data/app/models/spree/stock/package.rb +116 -0
- data/app/models/spree/stock/packer.rb +37 -0
- data/app/models/spree/stock/prioritizer.rb +47 -0
- data/app/models/spree/stock/quantifier.rb +28 -0
- data/app/models/spree/stock/remaining_packer.rb +22 -0
- data/app/models/spree/stock/splitter/backordered.rb +23 -0
- data/app/models/spree/stock/splitter/base.rb +28 -0
- data/app/models/spree/stock/splitter/shipping_category.rb +32 -0
- data/app/models/spree/stock/splitter/weight.rb +32 -0
- data/app/models/spree/stock_item.rb +52 -0
- data/app/models/spree/stock_location.rb +65 -0
- data/app/models/spree/stock_movement.rb +26 -0
- data/app/models/spree/stock_transfer.rb +43 -0
- data/app/models/spree/tax_category.rb +4 -4
- data/app/models/spree/tax_rate.rb +17 -16
- data/app/models/spree/taxon.rb +13 -14
- data/app/models/spree/taxonomy.rb +5 -5
- data/app/models/spree/tokenized_permission.rb +1 -1
- data/app/models/spree/tracker.rb +1 -1
- data/app/models/spree/variant.rb +39 -92
- data/app/models/spree/zone.rb +24 -33
- data/app/models/spree/zone_member.rb +2 -2
- data/app/views/spree/order_mailer/cancel_email.text.erb +5 -5
- data/app/views/spree/order_mailer/confirm_email.text.erb +6 -6
- data/app/views/spree/payments/_payment.html.erb +1 -1
- data/app/views/spree/shared/_address.html.erb +38 -0
- data/app/views/spree/shared/_error_messages.html.erb +2 -2
- data/app/views/spree/shared/_routes.html.erb +10 -0
- data/app/views/spree/shipment_mailer/shipped_email.text.erb +6 -5
- data/config/locales/en.yml +907 -1015
- data/db/migrate/20120831092359_spree_promo_one_two.rb +45 -0
- data/db/migrate/20121213162028_add_state_to_spree_adjustments.rb +6 -0
- data/db/migrate/20130211190146_create_spree_stock_items.rb +14 -0
- data/db/migrate/20130211191120_create_spree_stock_locations.rb +11 -0
- data/db/migrate/20130213191427_create_default_stock.rb +26 -0
- data/db/migrate/20130226191231_add_stock_location_id_to_spree_shipments.rb +5 -0
- data/db/migrate/20130227143905_add_pending_to_inventory_unit.rb +6 -0
- data/db/migrate/20130228164411_remove_on_demand_from_product_and_variant.rb +6 -0
- data/db/migrate/20130228210442_create_shipping_method_zone.rb +17 -0
- data/db/migrate/20130301162745_remove_shipping_category_id_from_shipping_method.rb +5 -0
- data/db/migrate/20130301162924_create_shipping_method_categories.rb +13 -0
- data/db/migrate/20130301205200_add_tracking_url_to_spree_shipping_methods.rb +5 -0
- data/db/migrate/20130304162240_create_spree_shipping_rates.rb +24 -0
- data/db/migrate/20130304192936_remove_category_match_attributes_from_shipping_method.rb +7 -0
- data/db/migrate/20130305143310_create_stock_movements.rb +12 -0
- data/db/migrate/20130306181701_add_address_fields_to_stock_location.rb +19 -0
- data/db/migrate/20130306191917_add_active_field_to_stock_locations.rb +5 -0
- data/db/migrate/20130306195650_add_backorderable_to_stock_item.rb +5 -0
- data/db/migrate/20130307161754_add_default_quantity_to_stock_movement.rb +5 -0
- data/db/migrate/20130318151756_add_source_and_destination_to_stock_movements.rb +8 -0
- data/db/migrate/20130319183250_add_originator_to_stock_movement.rb +7 -0
- data/db/migrate/20130319190507_drop_source_and_destination_from_stock_movement.rb +15 -0
- data/db/migrate/20130325163316_migrate_inventory_unit_sold_to_on_hand.rb +9 -0
- data/db/migrate/20130326175857_add_stock_location_to_rma.rb +5 -0
- data/db/migrate/20130328130308_update_shipment_state_for_canceled_orders.rb +15 -0
- data/db/migrate/20130329134939_remove_stock_item_and_variant_lock.rb +14 -0
- data/db/migrate/20130417120035_update_adjustment_states.rb +16 -0
- data/db/migrate/20130417123427_add_shipping_rates_to_shipments.rb +15 -0
- data/db/migrate/20130418125341_create_spree_stock_transfers.rb +14 -0
- data/db/migrate/20130423110707_drop_products_count_on_hand.rb +5 -0
- data/db/migrate/20130423223847_set_default_shipping_rate_cost.rb +5 -0
- data/db/migrate/20130509115210_add_number_to_stock_transfer.rb +23 -0
- data/lib/generators/spree/dummy/dummy_generator.rb +23 -2
- data/lib/generators/spree/dummy/templates/rails/database.yml +3 -10
- data/lib/generators/spree/dummy/templates/rails/test.rb +39 -0
- data/lib/generators/spree/install/templates/app/assets/javascripts/admin/all.js +1 -2
- data/lib/generators/spree/install/templates/app/assets/javascripts/store/all.js +1 -2
- data/lib/generators/spree/install/templates/app/assets/stylesheets/admin/all.css +1 -2
- data/lib/generators/spree/install/templates/app/assets/stylesheets/store/all.css +1 -2
- data/lib/spree/core/calculated_adjustments.rb +44 -36
- data/lib/spree/core/controller_helpers/auth.rb +18 -9
- data/lib/spree/core/controller_helpers/common.rb +60 -59
- data/lib/spree/core/controller_helpers/ssl.rb +69 -0
- data/lib/spree/core/controller_helpers.rb +3 -2
- data/lib/spree/core/delegate_belongs_to.rb +1 -1
- data/lib/spree/core/engine.rb +50 -45
- data/lib/spree/core/environment.rb +2 -1
- data/lib/spree/core/mail_interceptor.rb +6 -7
- data/lib/spree/core/mail_settings.rb +18 -24
- data/lib/spree/core/permalinks.rb +22 -14
- data/lib/spree/core/product_duplicator.rb +61 -0
- data/lib/spree/core/product_filters.rb +199 -0
- data/lib/spree/core/s3_support.rb +1 -1
- data/lib/spree/core/search/base.rb +0 -1
- data/lib/spree/core/user_banners.rb +1 -1
- data/lib/spree/core/version.rb +1 -1
- data/lib/spree/core.rb +9 -93
- data/lib/spree/i18n.rb +15 -0
- data/lib/spree/promo/coupon_applicator.rb +63 -0
- data/lib/spree/promo/environment.rb +9 -0
- data/lib/spree/{core/responder.rb → responder.rb} +0 -0
- data/lib/spree/testing_support/ability_helpers.rb +105 -0
- data/lib/spree/testing_support/authorization_helpers.rb +62 -0
- data/lib/spree/{core/testing_support → testing_support}/bar_ability.rb +3 -6
- data/lib/spree/{core/testing_support → testing_support}/capybara_ext.rb +2 -5
- data/lib/spree/{core/testing_support → testing_support}/common_rake.rb +4 -2
- data/lib/spree/testing_support/controller_requests.rb +65 -0
- data/lib/spree/testing_support/extension_rake.rb +10 -0
- data/lib/spree/testing_support/factories/activator_factory.rb +8 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/address_factory.rb +3 -3
- data/lib/spree/testing_support/factories/adjustment_factory.rb +17 -0
- data/lib/spree/testing_support/factories/calculator_factory.rb +12 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/configuration_factory.rb +1 -1
- data/lib/spree/{core/testing_support → testing_support}/factories/country_factory.rb +1 -1
- data/lib/spree/{core/testing_support → testing_support}/factories/credit_card_factory.rb +1 -1
- data/lib/spree/testing_support/factories/inventory_unit_factory.rb +9 -0
- data/lib/spree/testing_support/factories/line_item_factory.rb +8 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/options_factory.rb +2 -2
- data/lib/spree/testing_support/factories/order_factory.rb +63 -0
- data/lib/spree/testing_support/factories/payment_factory.rb +16 -0
- data/lib/spree/testing_support/factories/payment_method_factory.rb +18 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/price_factory.rb +2 -3
- data/lib/spree/testing_support/factories/product_factory.rb +40 -0
- data/lib/spree/testing_support/factories/product_option_type_factory.rb +6 -0
- data/lib/spree/testing_support/factories/product_property_factory.rb +6 -0
- data/lib/spree/testing_support/factories/promotion_factory.rb +5 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/property_factory.rb +1 -1
- data/lib/spree/testing_support/factories/prototype_factory.rb +6 -0
- data/lib/spree/testing_support/factories/return_authorization_factory.rb +9 -0
- data/lib/spree/testing_support/factories/role_factory.rb +9 -0
- data/lib/spree/testing_support/factories/shipment_factory.rb +19 -0
- data/lib/spree/testing_support/factories/shipping_category_factory.rb +5 -0
- data/lib/spree/testing_support/factories/shipping_method_factory.rb +18 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/state_factory.rb +1 -1
- data/lib/spree/testing_support/factories/stock_factory.rb +30 -0
- data/lib/spree/testing_support/factories/stock_item_factory.rb +8 -0
- data/lib/spree/testing_support/factories/stock_location_factory.rb +25 -0
- data/lib/spree/testing_support/factories/stock_movement_factory.rb +11 -0
- data/lib/spree/testing_support/factories/tax_category_factory.rb +6 -0
- data/lib/spree/testing_support/factories/tax_rate_factory.rb +8 -0
- data/lib/spree/testing_support/factories/taxon_factory.rb +7 -0
- data/lib/spree/testing_support/factories/taxonomy_factory.rb +5 -0
- data/lib/spree/{core/testing_support → testing_support}/factories/tracker_factory.rb +1 -1
- data/lib/spree/testing_support/factories/user_factory.rb +17 -0
- data/lib/spree/testing_support/factories/variant_factory.rb +24 -0
- data/lib/spree/testing_support/factories/zone_factory.rb +17 -0
- data/lib/spree/testing_support/factories.rb +17 -0
- data/lib/spree/testing_support/flash.rb +27 -0
- data/lib/spree/testing_support/i18n.rb +97 -0
- data/lib/spree/testing_support/order_walkthrough.rb +55 -0
- data/lib/spree/testing_support/preferences.rb +31 -0
- data/lib/spree/{core → testing_support}/url_helpers.rb +1 -1
- data/lib/tasks/core.rake +7 -23
- metadata +246 -935
- data/LICENSE +0 -26
- data/README.md +0 -21
- data/app/assets/images/admin/bg/spree_50.png +0 -0
- data/app/assets/images/admin/payment_banner.png +0 -0
- data/app/assets/images/admin/progress.gif +0 -0
- data/app/assets/images/credit_cards/amex_cid.gif +0 -0
- data/app/assets/images/credit_cards/credit_card.gif +0 -0
- data/app/assets/images/credit_cards/discover_cid.gif +0 -0
- data/app/assets/images/credit_cards/icons/american_express.png +0 -0
- data/app/assets/images/credit_cards/icons/cirrus.png +0 -0
- data/app/assets/images/credit_cards/icons/delta.png +0 -0
- data/app/assets/images/credit_cards/icons/diners_club.png +0 -0
- data/app/assets/images/credit_cards/icons/dinersclub.png +0 -0
- data/app/assets/images/credit_cards/icons/directdebit.png +0 -0
- data/app/assets/images/credit_cards/icons/discover.png +0 -0
- data/app/assets/images/credit_cards/icons/egold.png +0 -0
- data/app/assets/images/credit_cards/icons/maestro.png +0 -0
- data/app/assets/images/credit_cards/icons/master.png +0 -0
- data/app/assets/images/credit_cards/icons/paypal.png +0 -0
- data/app/assets/images/credit_cards/icons/solo.png +0 -0
- data/app/assets/images/credit_cards/icons/switch.png +0 -0
- data/app/assets/images/credit_cards/icons/visa.png +0 -0
- data/app/assets/images/credit_cards/icons/visaelectron.png +0 -0
- data/app/assets/images/credit_cards/icons/westernunion.png +0 -0
- data/app/assets/images/credit_cards/icons/wirecard.png +0 -0
- data/app/assets/images/credit_cards/icons/worldpay.png +0 -0
- data/app/assets/images/credit_cards/master_cid.jpg +0 -0
- data/app/assets/images/credit_cards/visa_cid.gif +0 -0
- data/app/assets/images/favicon.ico +0 -0
- data/app/assets/images/icons/add-to-cart.png +0 -0
- data/app/assets/images/icons/checkout.png +0 -0
- data/app/assets/images/icons/delete.png +0 -0
- data/app/assets/images/icons/update.png +0 -0
- data/app/assets/images/noimage/large.png +0 -0
- data/app/assets/images/noimage/mini.png +0 -0
- data/app/assets/images/noimage/product.png +0 -0
- data/app/assets/images/noimage/small.png +0 -0
- data/app/assets/images/spinner.gif +0 -0
- data/app/assets/images/store/cart.png +0 -0
- data/app/assets/images/store/select_arrow.gif +0 -0
- data/app/assets/javascripts/admin/address_states.js +0 -26
- data/app/assets/javascripts/admin/admin.js.erb +0 -289
- data/app/assets/javascripts/admin/calculator.js +0 -16
- data/app/assets/javascripts/admin/checkouts/edit.js +0 -93
- data/app/assets/javascripts/admin/gateway.js +0 -13
- data/app/assets/javascripts/admin/image_settings.js.erb +0 -62
- data/app/assets/javascripts/admin/images/index.js.coffee +0 -15
- data/app/assets/javascripts/admin/images/new.js.coffee +0 -7
- data/app/assets/javascripts/admin/nested-attribute.js +0 -23
- data/app/assets/javascripts/admin/orders/edit.js +0 -15
- data/app/assets/javascripts/admin/orders/edit_form.js +0 -16
- data/app/assets/javascripts/admin/payments/new.js +0 -16
- data/app/assets/javascripts/admin/progress.coffee +0 -27
- data/app/assets/javascripts/admin/shipping_methods.js.coffee +0 -10
- data/app/assets/javascripts/admin/spree-select2.js.erb +0 -22
- data/app/assets/javascripts/admin/spree_core.js +0 -31
- data/app/assets/javascripts/admin/states.js +0 -9
- data/app/assets/javascripts/admin/taxon_autocomplete.js.erb +0 -37
- data/app/assets/javascripts/admin/taxonomy.js +0 -205
- data/app/assets/javascripts/admin/underscore-min.js +0 -26
- data/app/assets/javascripts/admin/variant_autocomplete.js.erb +0 -40
- data/app/assets/javascripts/admin/zone.js.coffee +0 -39
- data/app/assets/javascripts/store/cart.js.coffee +0 -9
- data/app/assets/javascripts/store/checkout.js.coffee +0 -87
- data/app/assets/javascripts/store/product.js.coffee +0 -47
- data/app/assets/javascripts/store/spree_core.js +0 -5
- data/app/assets/stylesheets/admin/components/_actions.scss +0 -31
- data/app/assets/stylesheets/admin/components/_date-picker.scss +0 -154
- data/app/assets/stylesheets/admin/components/_messages.scss +0 -43
- data/app/assets/stylesheets/admin/components/_navigation.scss +0 -150
- data/app/assets/stylesheets/admin/components/_pagination.scss +0 -17
- data/app/assets/stylesheets/admin/components/_product_autocomplete.scss +0 -29
- data/app/assets/stylesheets/admin/components/_progress.scss +0 -35
- data/app/assets/stylesheets/admin/components/_sidebar.scss +0 -24
- data/app/assets/stylesheets/admin/components/_states.scss +0 -34
- data/app/assets/stylesheets/admin/components/_table-filter.scss +0 -14
- data/app/assets/stylesheets/admin/globals/_functions.scss +0 -25
- data/app/assets/stylesheets/admin/globals/_mixins.scss +0 -25
- data/app/assets/stylesheets/admin/globals/_variables.scss +0 -140
- data/app/assets/stylesheets/admin/globals/_variables_override.scss +0 -7
- data/app/assets/stylesheets/admin/hacks/_ie.scss +0 -73
- data/app/assets/stylesheets/admin/hacks/_mozilla.scss +0 -32
- data/app/assets/stylesheets/admin/hacks/_opera.scss +0 -17
- data/app/assets/stylesheets/admin/plugins/_jstree.scss +0 -132
- data/app/assets/stylesheets/admin/plugins/_powertip.scss +0 -86
- data/app/assets/stylesheets/admin/plugins/_select2.scss +0 -176
- data/app/assets/stylesheets/admin/plugins/_token-input.scss +0 -110
- data/app/assets/stylesheets/admin/plugins/font-awesome.scss +0 -303
- data/app/assets/stylesheets/admin/sections/_edit_checkouts.scss +0 -72
- data/app/assets/stylesheets/admin/sections/_image_settings.scss +0 -3
- data/app/assets/stylesheets/admin/sections/_orders.scss +0 -38
- data/app/assets/stylesheets/admin/sections/_overview.scss +0 -86
- data/app/assets/stylesheets/admin/sections/_products.scss +0 -26
- data/app/assets/stylesheets/admin/sections/_promotions.scss +0 -100
- data/app/assets/stylesheets/admin/shared/_forms.scss +0 -254
- data/app/assets/stylesheets/admin/shared/_icons.scss +0 -22
- data/app/assets/stylesheets/admin/shared/_layout.scss +0 -87
- data/app/assets/stylesheets/admin/shared/_tables.scss +0 -188
- data/app/assets/stylesheets/admin/shared/_typography.scss +0 -132
- data/app/assets/stylesheets/admin/spree_admin.scss +0 -38
- data/app/assets/stylesheets/admin/spree_core.css +0 -16
- data/app/assets/stylesheets/store/screen.css.scss +0 -1194
- data/app/assets/stylesheets/store/spree_core.css +0 -6
- data/app/assets/stylesheets/store/variables.css.scss +0 -62
- data/app/controllers/spree/admin/adjustments_controller.rb +0 -17
- data/app/controllers/spree/admin/banners_controller.rb +0 -14
- data/app/controllers/spree/admin/base_controller.rb +0 -78
- data/app/controllers/spree/admin/countries_controller.rb +0 -11
- data/app/controllers/spree/admin/general_settings_controller.rb +0 -34
- data/app/controllers/spree/admin/image_settings_controller.rb +0 -66
- data/app/controllers/spree/admin/images_controller.rb +0 -39
- data/app/controllers/spree/admin/inventory_settings_controller.rb +0 -13
- data/app/controllers/spree/admin/inventory_units_controller.rb +0 -6
- data/app/controllers/spree/admin/line_items_controller.rb +0 -58
- data/app/controllers/spree/admin/mail_methods_controller.rb +0 -32
- data/app/controllers/spree/admin/option_types_controller.rb +0 -46
- data/app/controllers/spree/admin/option_values_controller.rb +0 -11
- data/app/controllers/spree/admin/orders/customer_details_controller.rb +0 -52
- data/app/controllers/spree/admin/orders_controller.rb +0 -127
- data/app/controllers/spree/admin/overview_controller.rb +0 -17
- data/app/controllers/spree/admin/payment_methods_controller.rb +0 -56
- data/app/controllers/spree/admin/payments_controller.rb +0 -100
- data/app/controllers/spree/admin/product_properties_controller.rb +0 -30
- data/app/controllers/spree/admin/products_controller.rb +0 -116
- data/app/controllers/spree/admin/properties_controller.rb +0 -14
- data/app/controllers/spree/admin/prototypes_controller.rb +0 -29
- data/app/controllers/spree/admin/reports_controller.rb +0 -50
- data/app/controllers/spree/admin/resource_controller.rb +0 -265
- data/app/controllers/spree/admin/return_authorizations_controller.rb +0 -21
- data/app/controllers/spree/admin/search_controller.rb +0 -27
- data/app/controllers/spree/admin/shipments_controller.rb +0 -102
- data/app/controllers/spree/admin/shipping_categories_controller.rb +0 -6
- data/app/controllers/spree/admin/shipping_methods_controller.rb +0 -37
- data/app/controllers/spree/admin/states_controller.rb +0 -29
- data/app/controllers/spree/admin/tax_categories_controller.rb +0 -19
- data/app/controllers/spree/admin/tax_rates_controller.rb +0 -26
- data/app/controllers/spree/admin/tax_settings_controller.rb +0 -17
- data/app/controllers/spree/admin/taxonomies_controller.rb +0 -23
- data/app/controllers/spree/admin/taxons_controller.rb +0 -114
- data/app/controllers/spree/admin/trackers_controller.rb +0 -6
- data/app/controllers/spree/admin/users_controller.rb +0 -96
- data/app/controllers/spree/admin/variants_controller.rb +0 -63
- data/app/controllers/spree/admin/zones_controller.rb +0 -27
- data/app/controllers/spree/checkout_controller.rb +0 -130
- data/app/controllers/spree/content_controller.rb +0 -23
- data/app/controllers/spree/countries_controller.rb +0 -12
- data/app/controllers/spree/home_controller.rb +0 -14
- data/app/controllers/spree/locale_controller.rb +0 -16
- data/app/controllers/spree/orders_controller.rb +0 -87
- data/app/controllers/spree/products_controller.rb +0 -53
- data/app/controllers/spree/states_controller.rb +0 -13
- data/app/controllers/spree/store_controller.rb +0 -11
- data/app/controllers/spree/taxons_controller.rb +0 -31
- data/app/helpers/spree/admin/base_helper.rb +0 -168
- data/app/helpers/spree/admin/general_settings_helper.rb +0 -13
- data/app/helpers/spree/admin/inventory_settings_helper.rb +0 -9
- data/app/helpers/spree/admin/navigation_helper.rb +0 -156
- data/app/helpers/spree/admin/orders_helper.rb +0 -19
- data/app/helpers/spree/admin/payments_helper.rb +0 -11
- data/app/helpers/spree/admin/products_helper.rb +0 -27
- data/app/helpers/spree/admin/tables_helper.rb +0 -15
- data/app/helpers/spree/admin/taxons_helper.rb +0 -9
- data/app/models/spree/mail_method.rb +0 -32
- data/app/models/spree.rb +0 -5
- data/app/views/spree/address/_form.html.erb +0 -75
- data/app/views/spree/admin/adjustments/_adjustments_table.html.erb +0 -26
- data/app/views/spree/admin/adjustments/_form.html.erb +0 -16
- data/app/views/spree/admin/adjustments/edit.html.erb +0 -22
- data/app/views/spree/admin/adjustments/index.html.erb +0 -14
- data/app/views/spree/admin/adjustments/new.html.erb +0 -23
- data/app/views/spree/admin/banners/_gateway.html.erb +0 -16
- data/app/views/spree/admin/countries/_form.html.erb +0 -22
- data/app/views/spree/admin/countries/edit.html.erb +0 -21
- data/app/views/spree/admin/countries/index.html.erb +0 -34
- data/app/views/spree/admin/general_settings/edit.html.erb +0 -92
- data/app/views/spree/admin/image_settings/edit.html.erb +0 -125
- data/app/views/spree/admin/images/_form.html.erb +0 -18
- data/app/views/spree/admin/images/edit.html.erb +0 -28
- data/app/views/spree/admin/images/index.html.erb +0 -58
- data/app/views/spree/admin/images/new.html.erb +0 -15
- data/app/views/spree/admin/inventory_settings/edit.html.erb +0 -25
- data/app/views/spree/admin/inventory_settings/show.html.erb +0 -19
- data/app/views/spree/admin/inventory_units/adjust.html.erb +0 -33
- data/app/views/spree/admin/line_items/create.js.erb +0 -1
- data/app/views/spree/admin/line_items/destroy.js.erb +0 -1
- data/app/views/spree/admin/mail_methods/_form.html.erb +0 -91
- data/app/views/spree/admin/mail_methods/edit.html.erb +0 -18
- data/app/views/spree/admin/mail_methods/index.html.erb +0 -41
- data/app/views/spree/admin/mail_methods/new.html.erb +0 -21
- data/app/views/spree/admin/option_types/_form.html.erb +0 -17
- data/app/views/spree/admin/option_types/_option_value_fields.html.erb +0 -9
- data/app/views/spree/admin/option_types/edit.html.erb +0 -50
- data/app/views/spree/admin/option_types/index.html.erb +0 -40
- data/app/views/spree/admin/option_types/new.html.erb +0 -11
- data/app/views/spree/admin/option_types/new.js.erb +0 -2
- data/app/views/spree/admin/orders/_add_product.html.erb +0 -26
- data/app/views/spree/admin/orders/_form.html.erb +0 -67
- data/app/views/spree/admin/orders/_line_item.html.erb +0 -9
- data/app/views/spree/admin/orders/customer_details/_form.html.erb +0 -66
- data/app/views/spree/admin/orders/customer_details/edit.html.erb +0 -29
- data/app/views/spree/admin/orders/edit.html.erb +0 -24
- data/app/views/spree/admin/orders/index.html.erb +0 -140
- data/app/views/spree/admin/orders/new.html.erb +0 -30
- data/app/views/spree/admin/orders/show.html.erb +0 -35
- data/app/views/spree/admin/payment_methods/_form.html.erb +0 -58
- data/app/views/spree/admin/payment_methods/edit.html.erb +0 -23
- data/app/views/spree/admin/payment_methods/index.html.erb +0 -51
- data/app/views/spree/admin/payment_methods/new.html.erb +0 -22
- data/app/views/spree/admin/payments/_bill_address_form.html.erb +0 -9
- data/app/views/spree/admin/payments/_form.html.erb +0 -30
- data/app/views/spree/admin/payments/_list.html.erb +0 -26
- data/app/views/spree/admin/payments/credit.html.erb +0 -18
- data/app/views/spree/admin/payments/index.html.erb +0 -23
- data/app/views/spree/admin/payments/new.html.erb +0 -26
- data/app/views/spree/admin/payments/show.html.erb +0 -18
- data/app/views/spree/admin/payments/source_forms/_check.html.erb +0 -0
- data/app/views/spree/admin/payments/source_forms/_gateway.html.erb +0 -50
- data/app/views/spree/admin/payments/source_views/_check.html.erb +0 -0
- data/app/views/spree/admin/payments/source_views/_gateway.html.erb +0 -29
- data/app/views/spree/admin/product_properties/_product_property_fields.html.erb +0 -17
- data/app/views/spree/admin/product_properties/index.html.erb +0 -59
- data/app/views/spree/admin/products/_form.html.erb +0 -144
- data/app/views/spree/admin/products/_properties_form.erb +0 -10
- data/app/views/spree/admin/products/edit.html.erb +0 -18
- data/app/views/spree/admin/products/index.html.erb +0 -102
- data/app/views/spree/admin/products/new.html.erb +0 -82
- data/app/views/spree/admin/products/new.js.erb +0 -7
- data/app/views/spree/admin/products/search.rabl +0 -6
- data/app/views/spree/admin/properties/_form.html.erb +0 -16
- data/app/views/spree/admin/properties/edit.html.erb +0 -18
- data/app/views/spree/admin/properties/filtered.html.erb +0 -1
- data/app/views/spree/admin/properties/index.html.erb +0 -41
- data/app/views/spree/admin/properties/new.html.erb +0 -13
- data/app/views/spree/admin/properties/new.js.erb +0 -2
- data/app/views/spree/admin/prototypes/_form.html.erb +0 -25
- data/app/views/spree/admin/prototypes/_prototypes.html.erb +0 -25
- data/app/views/spree/admin/prototypes/available.js.erb +0 -2
- data/app/views/spree/admin/prototypes/edit.html.erb +0 -20
- data/app/views/spree/admin/prototypes/index.html.erb +0 -40
- data/app/views/spree/admin/prototypes/new.html.erb +0 -11
- data/app/views/spree/admin/prototypes/new.js.erb +0 -5
- data/app/views/spree/admin/prototypes/select.js.erb +0 -4
- data/app/views/spree/admin/prototypes/show.html.erb +0 -42
- data/app/views/spree/admin/reports/index.html.erb +0 -21
- data/app/views/spree/admin/reports/sales_total.html.erb +0 -37
- data/app/views/spree/admin/return_authorizations/_form.html.erb +0 -72
- data/app/views/spree/admin/return_authorizations/edit.html.erb +0 -32
- data/app/views/spree/admin/return_authorizations/index.html.erb +0 -52
- data/app/views/spree/admin/return_authorizations/new.html.erb +0 -22
- data/app/views/spree/admin/search/users.rabl +0 -30
- data/app/views/spree/admin/shared/_address.html.erb +0 -6
- data/app/views/spree/admin/shared/_address_form.html.erb +0 -65
- data/app/views/spree/admin/shared/_alert.html.erb +0 -5
- data/app/views/spree/admin/shared/_calculator_fields.html.erb +0 -22
- data/app/views/spree/admin/shared/_configuration_menu.html.erb +0 -29
- data/app/views/spree/admin/shared/_destroy.js.erb +0 -16
- data/app/views/spree/admin/shared/_edit_resource_links.html.erb +0 -5
- data/app/views/spree/admin/shared/_head.html.erb +0 -25
- data/app/views/spree/admin/shared/_new_resource_links.html.erb +0 -5
- data/app/views/spree/admin/shared/_order_details.html.erb +0 -51
- data/app/views/spree/admin/shared/_order_tabs.html.erb +0 -54
- data/app/views/spree/admin/shared/_product_sub_menu.html.erb +0 -8
- data/app/views/spree/admin/shared/_product_tabs.html.erb +0 -27
- data/app/views/spree/admin/shared/_report_criteria.html.erb +0 -17
- data/app/views/spree/admin/shared/_routes.html.erb +0 -8
- data/app/views/spree/admin/shared/_show_resource_links.html.erb +0 -5
- data/app/views/spree/admin/shared/_tabs.html.erb +0 -4
- data/app/views/spree/admin/shared/_translations.html.erb +0 -33
- data/app/views/spree/admin/shared/_update_order_state.js +0 -7
- data/app/views/spree/admin/shipments/_form.html.erb +0 -71
- data/app/views/spree/admin/shipments/edit.html.erb +0 -43
- data/app/views/spree/admin/shipments/index.html.erb +0 -49
- data/app/views/spree/admin/shipments/new.html.erb +0 -22
- data/app/views/spree/admin/shipping_categories/_form.html.erb +0 -6
- data/app/views/spree/admin/shipping_categories/edit.html.erb +0 -20
- data/app/views/spree/admin/shipping_categories/index.html.erb +0 -35
- data/app/views/spree/admin/shipping_categories/new.html.erb +0 -20
- data/app/views/spree/admin/shipping_methods/_form.html.erb +0 -50
- data/app/views/spree/admin/shipping_methods/edit.html.erb +0 -29
- data/app/views/spree/admin/shipping_methods/index.html.erb +0 -48
- data/app/views/spree/admin/shipping_methods/new.html.erb +0 -29
- data/app/views/spree/admin/states/_form.html.erb +0 -14
- data/app/views/spree/admin/states/_state_list.html.erb +0 -31
- data/app/views/spree/admin/states/edit.html.erb +0 -20
- data/app/views/spree/admin/states/index.html.erb +0 -24
- data/app/views/spree/admin/states/new.html.erb +0 -15
- data/app/views/spree/admin/states/new.js.erb +0 -2
- data/app/views/spree/admin/tax_categories/_form.html.erb +0 -24
- data/app/views/spree/admin/tax_categories/edit.html.erb +0 -18
- data/app/views/spree/admin/tax_categories/index.html.erb +0 -48
- data/app/views/spree/admin/tax_categories/new.html.erb +0 -19
- data/app/views/spree/admin/tax_categories/show.html.erb +0 -1
- data/app/views/spree/admin/tax_rates/_form.html.erb +0 -42
- data/app/views/spree/admin/tax_rates/edit.html.erb +0 -21
- data/app/views/spree/admin/tax_rates/index.html.erb +0 -59
- data/app/views/spree/admin/tax_rates/new.html.erb +0 -25
- data/app/views/spree/admin/tax_settings/edit.html.erb +0 -18
- data/app/views/spree/admin/taxonomies/_form.html.erb +0 -7
- data/app/views/spree/admin/taxonomies/_js_head.html.erb +0 -8
- data/app/views/spree/admin/taxonomies/_list.html.erb +0 -26
- data/app/views/spree/admin/taxonomies/_taxon.html.erb +0 -12
- data/app/views/spree/admin/taxonomies/edit.erb +0 -62
- data/app/views/spree/admin/taxonomies/get_children.json.erb +0 -9
- data/app/views/spree/admin/taxonomies/index.html.erb +0 -15
- data/app/views/spree/admin/taxonomies/new.html.erb +0 -22
- data/app/views/spree/admin/taxons/_form.html.erb +0 -44
- data/app/views/spree/admin/taxons/_taxon_table.html.erb +0 -23
- data/app/views/spree/admin/taxons/edit.html.erb +0 -21
- data/app/views/spree/admin/taxons/search.rabl +0 -5
- data/app/views/spree/admin/trackers/_form.html.erb +0 -34
- data/app/views/spree/admin/trackers/edit.html.erb +0 -20
- data/app/views/spree/admin/trackers/index.html.erb +0 -48
- data/app/views/spree/admin/trackers/new.html.erb +0 -20
- data/app/views/spree/admin/users/_form.html.erb +0 -37
- data/app/views/spree/admin/users/edit.html.erb +0 -28
- data/app/views/spree/admin/users/index.html.erb +0 -53
- data/app/views/spree/admin/users/new.html.erb +0 -23
- data/app/views/spree/admin/users/show.html.erb +0 -21
- data/app/views/spree/admin/variants/_autocomplete.js.erb +0 -30
- data/app/views/spree/admin/variants/_form.html.erb +0 -61
- data/app/views/spree/admin/variants/edit.html.erb +0 -15
- data/app/views/spree/admin/variants/index.html.erb +0 -78
- data/app/views/spree/admin/variants/new.html.erb +0 -9
- data/app/views/spree/admin/variants/new.js.erb +0 -3
- data/app/views/spree/admin/variants/search.rabl +0 -13
- data/app/views/spree/admin/zones/_country_member.html.erb +0 -5
- data/app/views/spree/admin/zones/_form.html.erb +0 -34
- data/app/views/spree/admin/zones/_member_type.html.erb +0 -19
- data/app/views/spree/admin/zones/_state_member.html.erb +0 -5
- data/app/views/spree/admin/zones/edit.html.erb +0 -23
- data/app/views/spree/admin/zones/index.html.erb +0 -53
- data/app/views/spree/admin/zones/new.html.erb +0 -21
- data/app/views/spree/checkout/_address.html.erb +0 -25
- data/app/views/spree/checkout/_confirm.html.erb +0 -12
- data/app/views/spree/checkout/_delivery.html.erb +0 -27
- data/app/views/spree/checkout/_payment.html.erb +0 -32
- data/app/views/spree/checkout/_summary.html.erb +0 -33
- data/app/views/spree/checkout/edit.html.erb +0 -37
- data/app/views/spree/checkout/payment/_check.html.erb +0 -0
- data/app/views/spree/checkout/payment/_gateway.html.erb +0 -26
- data/app/views/spree/checkout/registration.html.erb +0 -20
- data/app/views/spree/content/cvv.html.erb +0 -13
- data/app/views/spree/countries/index.js.erb +0 -1
- data/app/views/spree/home/index.html.erb +0 -10
- data/app/views/spree/layouts/admin.html.erb +0 -132
- data/app/views/spree/layouts/spree_application.html.erb +0 -35
- data/app/views/spree/orders/_adjustments.html.erb +0 -14
- data/app/views/spree/orders/_form.html.erb +0 -18
- data/app/views/spree/orders/_line_item.html.erb +0 -33
- data/app/views/spree/orders/edit.html.erb +0 -48
- data/app/views/spree/orders/show.html.erb +0 -22
- data/app/views/spree/products/_cart_form.html.erb +0 -57
- data/app/views/spree/products/_image.html.erb +0 -5
- data/app/views/spree/products/_properties.html.erb +0 -15
- data/app/views/spree/products/_taxons.html.erb +0 -14
- data/app/views/spree/products/_thumbnails.html.erb +0 -21
- data/app/views/spree/products/index.html.erb +0 -27
- data/app/views/spree/products/show.html.erb +0 -45
- data/app/views/spree/shared/_filters.html.erb +0 -28
- data/app/views/spree/shared/_footer.html.erb +0 -6
- data/app/views/spree/shared/_google_analytics.html.erb +0 -39
- data/app/views/spree/shared/_head.html.erb +0 -13
- data/app/views/spree/shared/_header.html.erb +0 -5
- data/app/views/spree/shared/_main_nav_bar.html.erb +0 -6
- data/app/views/spree/shared/_nav_bar.html.erb +0 -7
- data/app/views/spree/shared/_order_details.html.erb +0 -107
- data/app/views/spree/shared/_products.html.erb +0 -30
- data/app/views/spree/shared/_search.html.erb +0 -9
- data/app/views/spree/shared/_sidebar.html.erb +0 -3
- data/app/views/spree/shared/_taxonomies.html.erb +0 -6
- data/app/views/spree/shared/unauthorized.html.erb +0 -0
- data/app/views/spree/states/index.js.erb +0 -1
- data/app/views/spree/taxons/_taxon.html.erb +0 -4
- data/app/views/spree/taxons/show.html.erb +0 -19
- data/app/views/spree/test_mailer/test_email.text.erb +0 -4
- data/config/initializers/check_for_orphaned_preferences.rb +0 -9
- data/config/initializers/deprecation_checker.rb +0 -7
- data/config/initializers/form_builder.rb +0 -15
- data/config/initializers/rails_5868.rb +0 -8
- data/config/initializers/spree.rb +0 -6
- data/config/routes.rb +0 -188
- data/db/migrate/20130226054936_add_variant_id_index_to_spree_prices.rb +0 -5
- data/db/migrate/20130626232741_add_cvv_result_code_and_cvv_result_message_to_spree_payments.rb +0 -6
- data/db/migrate/20130628021056_add_unique_index_to_permalink_on_spree_products.rb +0 -5
- data/db/migrate/20130628022817_add_unique_index_to_orders_shipments_and_stock_transfers.rb +0 -6
- data/db/migrate/20130813140619_expand_order_number_size.rb +0 -9
- data/db/migrate/20131113035136_add_channel_to_spree_orders.rb +0 -5
- data/lib/spree/core/action_callbacks.rb +0 -26
- data/lib/spree/core/custom_fixtures.rb +0 -70
- data/lib/spree/core/middleware/redirect_legacy_product_url.rb +0 -18
- data/lib/spree/core/middleware/seo_assist.rb +0 -51
- data/lib/spree/core/preference_rescue.rb +0 -25
- data/lib/spree/core/scopes.rb +0 -65
- data/lib/spree/core/ssl_requirement.rb +0 -113
- data/lib/spree/core/store_helpers.rb +0 -13
- data/lib/spree/core/testing_support/authorization_helpers.rb +0 -33
- data/lib/spree/core/testing_support/controller_requests.rb +0 -67
- data/lib/spree/core/testing_support/factories/activator_factory.rb +0 -8
- data/lib/spree/core/testing_support/factories/adjustment_factory.rb +0 -16
- data/lib/spree/core/testing_support/factories/calculator_factory.rb +0 -9
- data/lib/spree/core/testing_support/factories/inventory_unit_factory.rb +0 -9
- data/lib/spree/core/testing_support/factories/line_item_factory.rb +0 -10
- data/lib/spree/core/testing_support/factories/mail_method_factory.rb +0 -6
- data/lib/spree/core/testing_support/factories/order_factory.rb +0 -32
- data/lib/spree/core/testing_support/factories/payment_factory.rb +0 -17
- data/lib/spree/core/testing_support/factories/payment_method_factory.rb +0 -18
- data/lib/spree/core/testing_support/factories/product_factory.rb +0 -46
- data/lib/spree/core/testing_support/factories/product_option_type_factory.rb +0 -6
- data/lib/spree/core/testing_support/factories/product_property_factory.rb +0 -6
- data/lib/spree/core/testing_support/factories/prototype_factory.rb +0 -6
- data/lib/spree/core/testing_support/factories/return_authorization_factory.rb +0 -10
- data/lib/spree/core/testing_support/factories/role_factory.rb +0 -11
- data/lib/spree/core/testing_support/factories/shipment_factory.rb +0 -11
- data/lib/spree/core/testing_support/factories/shipping_category_factory.rb +0 -7
- data/lib/spree/core/testing_support/factories/shipping_method_factory.rb +0 -23
- data/lib/spree/core/testing_support/factories/tax_category_factory.rb +0 -16
- data/lib/spree/core/testing_support/factories/tax_rate_factory.rb +0 -7
- data/lib/spree/core/testing_support/factories/taxon_factory.rb +0 -7
- data/lib/spree/core/testing_support/factories/taxonomy_factory.rb +0 -5
- data/lib/spree/core/testing_support/factories/user_factory.rb +0 -17
- data/lib/spree/core/testing_support/factories/variant_factory.rb +0 -24
- data/lib/spree/core/testing_support/factories/zone_factory.rb +0 -17
- data/lib/spree/core/testing_support/factories.rb +0 -11
- data/lib/spree/core/testing_support/fixtures.rb +0 -4
- data/lib/spree/core/testing_support/flash.rb +0 -29
- data/lib/spree/core/testing_support/preferences.rb +0 -32
- data/lib/spree/product_filters.rb +0 -197
- data/lib/spree/scopes/dynamic.rb +0 -33
- data/lib/tasks/rake_util.rb +0 -19
- data/lib/tasks/taxon.rake +0 -14
- data/vendor/assets/fonts/fontawesome-webfont.eot +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.svg +0 -255
- data/vendor/assets/fonts/fontawesome-webfont.ttf +0 -0
- data/vendor/assets/fonts/fontawesome-webfont.woff +0 -0
- data/vendor/assets/images/datepicker/cal.gif +0 -0
- data/vendor/assets/images/flags/ad.png +0 -0
- data/vendor/assets/images/flags/ae.png +0 -0
- data/vendor/assets/images/flags/af.png +0 -0
- data/vendor/assets/images/flags/ag.png +0 -0
- data/vendor/assets/images/flags/ai.png +0 -0
- data/vendor/assets/images/flags/al.png +0 -0
- data/vendor/assets/images/flags/am.png +0 -0
- data/vendor/assets/images/flags/an.png +0 -0
- data/vendor/assets/images/flags/ao.png +0 -0
- data/vendor/assets/images/flags/ar.png +0 -0
- data/vendor/assets/images/flags/as.png +0 -0
- data/vendor/assets/images/flags/at.png +0 -0
- data/vendor/assets/images/flags/au.png +0 -0
- data/vendor/assets/images/flags/aw.png +0 -0
- data/vendor/assets/images/flags/ax.png +0 -0
- data/vendor/assets/images/flags/az.png +0 -0
- data/vendor/assets/images/flags/ba.png +0 -0
- data/vendor/assets/images/flags/bb.png +0 -0
- data/vendor/assets/images/flags/bd.png +0 -0
- data/vendor/assets/images/flags/be.png +0 -0
- data/vendor/assets/images/flags/bf.png +0 -0
- data/vendor/assets/images/flags/bg.png +0 -0
- data/vendor/assets/images/flags/bh.png +0 -0
- data/vendor/assets/images/flags/bi.png +0 -0
- data/vendor/assets/images/flags/bj.png +0 -0
- data/vendor/assets/images/flags/bm.png +0 -0
- data/vendor/assets/images/flags/bn.png +0 -0
- data/vendor/assets/images/flags/bo.png +0 -0
- data/vendor/assets/images/flags/br.png +0 -0
- data/vendor/assets/images/flags/bs.png +0 -0
- data/vendor/assets/images/flags/bt.png +0 -0
- data/vendor/assets/images/flags/bv.png +0 -0
- data/vendor/assets/images/flags/bw.png +0 -0
- data/vendor/assets/images/flags/by.png +0 -0
- data/vendor/assets/images/flags/bz.png +0 -0
- data/vendor/assets/images/flags/ca.png +0 -0
- data/vendor/assets/images/flags/catalonia.png +0 -0
- data/vendor/assets/images/flags/cc.png +0 -0
- data/vendor/assets/images/flags/cd.png +0 -0
- data/vendor/assets/images/flags/cf.png +0 -0
- data/vendor/assets/images/flags/cg.png +0 -0
- data/vendor/assets/images/flags/ch.png +0 -0
- data/vendor/assets/images/flags/ci.png +0 -0
- data/vendor/assets/images/flags/ck.png +0 -0
- data/vendor/assets/images/flags/cl.png +0 -0
- data/vendor/assets/images/flags/cm.png +0 -0
- data/vendor/assets/images/flags/cn.png +0 -0
- data/vendor/assets/images/flags/co.png +0 -0
- data/vendor/assets/images/flags/cr.png +0 -0
- data/vendor/assets/images/flags/cs.png +0 -0
- data/vendor/assets/images/flags/cu.png +0 -0
- data/vendor/assets/images/flags/cv.png +0 -0
- data/vendor/assets/images/flags/cx.png +0 -0
- data/vendor/assets/images/flags/cy.png +0 -0
- data/vendor/assets/images/flags/cz.png +0 -0
- data/vendor/assets/images/flags/de.png +0 -0
- data/vendor/assets/images/flags/dj.png +0 -0
- data/vendor/assets/images/flags/dk.png +0 -0
- data/vendor/assets/images/flags/dm.png +0 -0
- data/vendor/assets/images/flags/do.png +0 -0
- data/vendor/assets/images/flags/dz.png +0 -0
- data/vendor/assets/images/flags/ec.png +0 -0
- data/vendor/assets/images/flags/ee.png +0 -0
- data/vendor/assets/images/flags/eg.png +0 -0
- data/vendor/assets/images/flags/eh.png +0 -0
- data/vendor/assets/images/flags/england.png +0 -0
- data/vendor/assets/images/flags/er.png +0 -0
- data/vendor/assets/images/flags/es.png +0 -0
- data/vendor/assets/images/flags/et.png +0 -0
- data/vendor/assets/images/flags/europeanunion.png +0 -0
- data/vendor/assets/images/flags/fam.png +0 -0
- data/vendor/assets/images/flags/fi.png +0 -0
- data/vendor/assets/images/flags/fj.png +0 -0
- data/vendor/assets/images/flags/fk.png +0 -0
- data/vendor/assets/images/flags/fm.png +0 -0
- data/vendor/assets/images/flags/fo.png +0 -0
- data/vendor/assets/images/flags/fr.png +0 -0
- data/vendor/assets/images/flags/ga.png +0 -0
- data/vendor/assets/images/flags/gb.png +0 -0
- data/vendor/assets/images/flags/gd.png +0 -0
- data/vendor/assets/images/flags/ge.png +0 -0
- data/vendor/assets/images/flags/gf.png +0 -0
- data/vendor/assets/images/flags/gh.png +0 -0
- data/vendor/assets/images/flags/gi.png +0 -0
- data/vendor/assets/images/flags/gl.png +0 -0
- data/vendor/assets/images/flags/gm.png +0 -0
- data/vendor/assets/images/flags/gn.png +0 -0
- data/vendor/assets/images/flags/gp.png +0 -0
- data/vendor/assets/images/flags/gq.png +0 -0
- data/vendor/assets/images/flags/gr.png +0 -0
- data/vendor/assets/images/flags/gs.png +0 -0
- data/vendor/assets/images/flags/gt.png +0 -0
- data/vendor/assets/images/flags/gu.png +0 -0
- data/vendor/assets/images/flags/gw.png +0 -0
- data/vendor/assets/images/flags/gy.png +0 -0
- data/vendor/assets/images/flags/hk.png +0 -0
- data/vendor/assets/images/flags/hm.png +0 -0
- data/vendor/assets/images/flags/hn.png +0 -0
- data/vendor/assets/images/flags/hr.png +0 -0
- data/vendor/assets/images/flags/ht.png +0 -0
- data/vendor/assets/images/flags/hu.png +0 -0
- data/vendor/assets/images/flags/id.png +0 -0
- data/vendor/assets/images/flags/ie.png +0 -0
- data/vendor/assets/images/flags/il.png +0 -0
- data/vendor/assets/images/flags/in.png +0 -0
- data/vendor/assets/images/flags/io.png +0 -0
- data/vendor/assets/images/flags/iq.png +0 -0
- data/vendor/assets/images/flags/ir.png +0 -0
- data/vendor/assets/images/flags/is.png +0 -0
- data/vendor/assets/images/flags/it.png +0 -0
- data/vendor/assets/images/flags/ja.png +0 -0
- data/vendor/assets/images/flags/jm.png +0 -0
- data/vendor/assets/images/flags/jo.png +0 -0
- data/vendor/assets/images/flags/ke.png +0 -0
- data/vendor/assets/images/flags/kg.png +0 -0
- data/vendor/assets/images/flags/kh.png +0 -0
- data/vendor/assets/images/flags/ki.png +0 -0
- data/vendor/assets/images/flags/km.png +0 -0
- data/vendor/assets/images/flags/kn.png +0 -0
- data/vendor/assets/images/flags/kp.png +0 -0
- data/vendor/assets/images/flags/kr.png +0 -0
- data/vendor/assets/images/flags/kw.png +0 -0
- data/vendor/assets/images/flags/ky.png +0 -0
- data/vendor/assets/images/flags/kz.png +0 -0
- data/vendor/assets/images/flags/la.png +0 -0
- data/vendor/assets/images/flags/lb.png +0 -0
- data/vendor/assets/images/flags/lc.png +0 -0
- data/vendor/assets/images/flags/li.png +0 -0
- data/vendor/assets/images/flags/lk.png +0 -0
- data/vendor/assets/images/flags/lr.png +0 -0
- data/vendor/assets/images/flags/ls.png +0 -0
- data/vendor/assets/images/flags/lt.png +0 -0
- data/vendor/assets/images/flags/lu.png +0 -0
- data/vendor/assets/images/flags/lv.png +0 -0
- data/vendor/assets/images/flags/ly.png +0 -0
- data/vendor/assets/images/flags/ma.png +0 -0
- data/vendor/assets/images/flags/mc.png +0 -0
- data/vendor/assets/images/flags/md.png +0 -0
- data/vendor/assets/images/flags/me.png +0 -0
- data/vendor/assets/images/flags/mg.png +0 -0
- data/vendor/assets/images/flags/mh.png +0 -0
- data/vendor/assets/images/flags/mk.png +0 -0
- data/vendor/assets/images/flags/ml.png +0 -0
- data/vendor/assets/images/flags/mm.png +0 -0
- data/vendor/assets/images/flags/mn.png +0 -0
- data/vendor/assets/images/flags/mo.png +0 -0
- data/vendor/assets/images/flags/mp.png +0 -0
- data/vendor/assets/images/flags/mq.png +0 -0
- data/vendor/assets/images/flags/mr.png +0 -0
- data/vendor/assets/images/flags/ms.png +0 -0
- data/vendor/assets/images/flags/mt.png +0 -0
- data/vendor/assets/images/flags/mu.png +0 -0
- data/vendor/assets/images/flags/mv.png +0 -0
- data/vendor/assets/images/flags/mw.png +0 -0
- data/vendor/assets/images/flags/mx.png +0 -0
- data/vendor/assets/images/flags/my.png +0 -0
- data/vendor/assets/images/flags/mz.png +0 -0
- data/vendor/assets/images/flags/na.png +0 -0
- data/vendor/assets/images/flags/nc.png +0 -0
- data/vendor/assets/images/flags/ne.png +0 -0
- data/vendor/assets/images/flags/nf.png +0 -0
- data/vendor/assets/images/flags/ng.png +0 -0
- data/vendor/assets/images/flags/ni.png +0 -0
- data/vendor/assets/images/flags/nl.png +0 -0
- data/vendor/assets/images/flags/no.png +0 -0
- data/vendor/assets/images/flags/np.png +0 -0
- data/vendor/assets/images/flags/nr.png +0 -0
- data/vendor/assets/images/flags/nu.png +0 -0
- data/vendor/assets/images/flags/nz.png +0 -0
- data/vendor/assets/images/flags/om.png +0 -0
- data/vendor/assets/images/flags/pa.png +0 -0
- data/vendor/assets/images/flags/pe.png +0 -0
- data/vendor/assets/images/flags/pf.png +0 -0
- data/vendor/assets/images/flags/pg.png +0 -0
- data/vendor/assets/images/flags/ph.png +0 -0
- data/vendor/assets/images/flags/pk.png +0 -0
- data/vendor/assets/images/flags/pl.png +0 -0
- data/vendor/assets/images/flags/pm.png +0 -0
- data/vendor/assets/images/flags/pn.png +0 -0
- data/vendor/assets/images/flags/pr.png +0 -0
- data/vendor/assets/images/flags/ps.png +0 -0
- data/vendor/assets/images/flags/pt.png +0 -0
- data/vendor/assets/images/flags/pw.png +0 -0
- data/vendor/assets/images/flags/py.png +0 -0
- data/vendor/assets/images/flags/qa.png +0 -0
- data/vendor/assets/images/flags/re.png +0 -0
- data/vendor/assets/images/flags/ro.png +0 -0
- data/vendor/assets/images/flags/rs.png +0 -0
- data/vendor/assets/images/flags/ru.png +0 -0
- data/vendor/assets/images/flags/rw.png +0 -0
- data/vendor/assets/images/flags/sa.png +0 -0
- data/vendor/assets/images/flags/sb.png +0 -0
- data/vendor/assets/images/flags/sc.png +0 -0
- data/vendor/assets/images/flags/scotland.png +0 -0
- data/vendor/assets/images/flags/sd.png +0 -0
- data/vendor/assets/images/flags/se.png +0 -0
- data/vendor/assets/images/flags/sg.png +0 -0
- data/vendor/assets/images/flags/sh.png +0 -0
- data/vendor/assets/images/flags/si.png +0 -0
- data/vendor/assets/images/flags/sj.png +0 -0
- data/vendor/assets/images/flags/sk.png +0 -0
- data/vendor/assets/images/flags/sl.png +0 -0
- data/vendor/assets/images/flags/sm.png +0 -0
- data/vendor/assets/images/flags/sn.png +0 -0
- data/vendor/assets/images/flags/so.png +0 -0
- data/vendor/assets/images/flags/sr.png +0 -0
- data/vendor/assets/images/flags/st.png +0 -0
- data/vendor/assets/images/flags/sv.png +0 -0
- data/vendor/assets/images/flags/sy.png +0 -0
- data/vendor/assets/images/flags/sz.png +0 -0
- data/vendor/assets/images/flags/tc.png +0 -0
- data/vendor/assets/images/flags/td.png +0 -0
- data/vendor/assets/images/flags/tf.png +0 -0
- data/vendor/assets/images/flags/tg.png +0 -0
- data/vendor/assets/images/flags/th.png +0 -0
- data/vendor/assets/images/flags/tj.png +0 -0
- data/vendor/assets/images/flags/tk.png +0 -0
- data/vendor/assets/images/flags/tl.png +0 -0
- data/vendor/assets/images/flags/tm.png +0 -0
- data/vendor/assets/images/flags/tn.png +0 -0
- data/vendor/assets/images/flags/to.png +0 -0
- data/vendor/assets/images/flags/tr.png +0 -0
- data/vendor/assets/images/flags/tt.png +0 -0
- data/vendor/assets/images/flags/tv.png +0 -0
- data/vendor/assets/images/flags/tw.png +0 -0
- data/vendor/assets/images/flags/tz.png +0 -0
- data/vendor/assets/images/flags/ua.png +0 -0
- data/vendor/assets/images/flags/ug.png +0 -0
- data/vendor/assets/images/flags/um.png +0 -0
- data/vendor/assets/images/flags/us.png +0 -0
- data/vendor/assets/images/flags/uy.png +0 -0
- data/vendor/assets/images/flags/uz.png +0 -0
- data/vendor/assets/images/flags/va.png +0 -0
- data/vendor/assets/images/flags/vc.png +0 -0
- data/vendor/assets/images/flags/ve.png +0 -0
- data/vendor/assets/images/flags/vg.png +0 -0
- data/vendor/assets/images/flags/vi.png +0 -0
- data/vendor/assets/images/flags/vn.png +0 -0
- data/vendor/assets/images/flags/vu.png +0 -0
- data/vendor/assets/images/flags/wales.png +0 -0
- data/vendor/assets/images/flags/wf.png +0 -0
- data/vendor/assets/images/flags/ws.png +0 -0
- data/vendor/assets/images/flags/ye.png +0 -0
- data/vendor/assets/images/flags/yt.png +0 -0
- data/vendor/assets/images/flags/za.png +0 -0
- data/vendor/assets/images/flags/zm.png +0 -0
- data/vendor/assets/images/flags/zw.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_0_eeeeee_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_55_ffffff_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_flat_75_ffffff_40x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_highlight-soft_100_f6f6f6_1x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_highlight-soft_25_0073ea_1x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-bg_highlight-soft_50_dddddd_1x100.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_0073ea_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_454545_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_666666_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_ff0084_256x240.png +0 -0
- data/vendor/assets/images/jquery-ui/ui-icons_ffffff_256x240.png +0 -0
- data/vendor/assets/images/jquery.formalize/button.png +0 -0
- data/vendor/assets/images/jquery.formalize/select_arrow.gif +0 -0
- data/vendor/assets/javascripts/css_browser_selector_dev.js +0 -156
- data/vendor/assets/javascripts/equalize.js +0 -41
- data/vendor/assets/javascripts/handlebars.js +0 -1920
- data/vendor/assets/javascripts/jquery.adaptivemenu.js +0 -60
- data/vendor/assets/javascripts/jquery.alerts/images/help.gif +0 -0
- data/vendor/assets/javascripts/jquery.alerts/images/important.gif +0 -0
- data/vendor/assets/javascripts/jquery.alerts/images/info.gif +0 -0
- data/vendor/assets/javascripts/jquery.alerts/images/title.gif +0 -0
- data/vendor/assets/javascripts/jquery.alerts/jquery.alerts.css.erb +0 -57
- data/vendor/assets/javascripts/jquery.alerts/jquery.alerts.js +0 -235
- data/vendor/assets/javascripts/jquery.alerts/jquery.alerts.spree.css +0 -29
- data/vendor/assets/javascripts/jquery.cookie.js +0 -41
- data/vendor/assets/javascripts/jquery.delayedobserver.js +0 -35
- data/vendor/assets/javascripts/jquery.formalize.min.js +0 -1
- data/vendor/assets/javascripts/jquery.horizontalNav.js +0 -141
- data/vendor/assets/javascripts/jquery.jstree/jquery.jstree.js +0 -4545
- data/vendor/assets/javascripts/jquery.jstree/themes/apple/bg.jpg +0 -0
- data/vendor/assets/javascripts/jquery.jstree/themes/apple/d.png +0 -0
- data/vendor/assets/javascripts/jquery.jstree/themes/apple/dot_for_ie.gif +0 -0
- data/vendor/assets/javascripts/jquery.jstree/themes/apple/style.css +0 -61
- data/vendor/assets/javascripts/jquery.jstree/themes/apple/throbber.gif +0 -0
- data/vendor/assets/javascripts/jquery.powertip.js +0 -796
- data/vendor/assets/javascripts/jquery.vAlign.js +0 -11
- data/vendor/assets/javascripts/jquery.validate/additional-methods.min.js +0 -12
- data/vendor/assets/javascripts/jquery.validate/jquery.validate.min.js +0 -12
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ar.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_bg.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ca.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_cn.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_cs.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_da.js +0 -22
- data/vendor/assets/javascripts/jquery.validate/localization/messages_de.js +0 -22
- data/vendor/assets/javascripts/jquery.validate/localization/messages_el.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_es.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_et.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_eu.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fa.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fi.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_fr.js +0 -47
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ge.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_he.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_hu.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_it.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ja.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ka.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_kk.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ko.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_lt.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_lv.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_my.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_nl.js +0 -35
- data/vendor/assets/javascripts/jquery.validate/localization/messages_no.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pl.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_BR.js +0 -26
- data/vendor/assets/javascripts/jquery.validate/localization/messages_pt_PT.js +0 -26
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ptbr.js +0 -30
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ptpt.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ro.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ru.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_se.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_si.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sk.js +0 -22
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sl.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_sv.js +0 -23
- data/vendor/assets/javascripts/jquery.validate/localization/messages_th.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_tr.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_tw.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_ua.js +0 -24
- data/vendor/assets/javascripts/jquery.validate/localization/messages_uk.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_vi.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zh.js +0 -25
- data/vendor/assets/javascripts/jquery.validate/localization/messages_zh_TW.js +0 -26
- data/vendor/assets/javascripts/jquery.validate/localization/methods_de.js +0 -12
- data/vendor/assets/javascripts/jquery.validate/localization/methods_nl.js +0 -9
- data/vendor/assets/javascripts/jquery.validate/localization/methods_pt.js +0 -9
- data/vendor/assets/javascripts/modernizr.js +0 -4
- data/vendor/assets/javascripts/responsive-tables.js +0 -42
- data/vendor/assets/javascripts/spin.js +0 -319
- data/vendor/assets/javascripts/trunk8.js +0 -233
- data/vendor/assets/stylesheets/font-awesome-ie7.css +0 -645
- data/vendor/assets/stylesheets/jquery-ui.datepicker.css.erb +0 -357
- data/vendor/assets/stylesheets/jquery.formalize.css.erb +0 -364
- data/vendor/assets/stylesheets/jquery.powertip.css +0 -85
- data/vendor/assets/stylesheets/responsive-tables.css +0 -21
@@ -1,23 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: SV (Swedish; Svenska)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Detta fält är obligatoriskt.",
|
8
|
-
maxlength: $.validator.format("Du får ange högst {0} tecken."),
|
9
|
-
minlength: $.validator.format("Du måste ange minst {0} tecken."),
|
10
|
-
rangelength: $.validator.format("Ange minst {0} och max {1} tecken."),
|
11
|
-
email: "Ange en korrekt e-postadress.",
|
12
|
-
url: "Ange en korrekt URL.",
|
13
|
-
date: "Ange ett korrekt datum.",
|
14
|
-
dateISO: "Ange ett korrekt datum (ÅÅÅÅ-MM-DD).",
|
15
|
-
number: "Ange ett korrekt nummer.",
|
16
|
-
digits: "Ange endast siffror.",
|
17
|
-
equalTo: "Ange samma värde igen.",
|
18
|
-
range: $.validator.format("Ange ett värde mellan {0} och {1}."),
|
19
|
-
max: $.validator.format("Ange ett värde som är mindre eller lika med {0}."),
|
20
|
-
min: $.validator.format("Ange ett värde som är större eller lika med {0}."),
|
21
|
-
creditcard: "Ange ett korrekt kreditkortsnummer."
|
22
|
-
});
|
23
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: TH (Thai; ไทย)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "โปรดระบุ",
|
8
|
-
remote: "โปรดแก้ไขให้ถูกต้อง",
|
9
|
-
email: "โปรดระบุที่อยู่อีเมล์ที่ถูกต้อง",
|
10
|
-
url: "โปรดระบุ URL ที่ถูกต้อง",
|
11
|
-
date: "โปรดระบุวันที่ ที่ถูกต้อง",
|
12
|
-
dateISO: "โปรดระบุวันที่ ที่ถูกต้อง (ระบบ ISO).",
|
13
|
-
number: "โปรดระบุทศนิยมที่ถูกต้อง",
|
14
|
-
digits: "โปรดระบุจำนวนเต็มที่ถูกต้อง",
|
15
|
-
creditcard: "โปรดระบุรหัสบัตรเครดิตที่ถูกต้อง",
|
16
|
-
equalTo: "โปรดระบุค่าเดิมอีกครั้ง",
|
17
|
-
accept: "โปรดระบุค่าที่มีส่วนขยายที่ถูกต้อง",
|
18
|
-
maxlength: $.validator.format("โปรดอย่าระบุค่าที่ยาวกว่า {0} อักขระ"),
|
19
|
-
minlength: $.validator.format("โปรดอย่าระบุค่าที่สั้นกว่า {0} อักขระ"),
|
20
|
-
rangelength: $.validator.format("โปรดอย่าระบุค่าความยาวระหว่าง {0} ถึง {1} อักขระ"),
|
21
|
-
range: $.validator.format("โปรดระบุค่าระหว่าง {0} และ {1}"),
|
22
|
-
max: $.validator.format("โปรดระบุค่าน้อยกว่าหรือเท่ากับ {0}"),
|
23
|
-
min: $.validator.format("โปรดระบุค่ามากกว่าหรือเท่ากับ {0}")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: TR (Turkish; Türkçe)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Bu alanın doldurulması zorunludur.",
|
8
|
-
remote: "Lütfen bu alanı düzeltin.",
|
9
|
-
email: "Lütfen geçerli bir e-posta adresi giriniz.",
|
10
|
-
url: "Lütfen geçerli bir web adresi (URL) giriniz.",
|
11
|
-
date: "Lütfen geçerli bir tarih giriniz.",
|
12
|
-
dateISO: "Lütfen geçerli bir tarih giriniz(ISO formatında)",
|
13
|
-
number: "Lütfen geçerli bir sayı giriniz.",
|
14
|
-
digits: "Lütfen sadece sayısal karakterler giriniz.",
|
15
|
-
creditcard: "Lütfen geçerli bir kredi kartı giriniz.",
|
16
|
-
equalTo: "Lütfen aynı değeri tekrar giriniz.",
|
17
|
-
accept: "Lütfen geçerli uzantıya sahip bir değer giriniz.",
|
18
|
-
maxlength: $.validator.format("Lütfen en fazla {0} karakter uzunluğunda bir değer giriniz."),
|
19
|
-
minlength: $.validator.format("Lütfen en az {0} karakter uzunluğunda bir değer giriniz."),
|
20
|
-
rangelength: $.validator.format("Lütfen en az {0} ve en fazla {1} uzunluğunda bir değer giriniz."),
|
21
|
-
range: $.validator.format("Lütfen {0} ile {1} arasında bir değer giriniz."),
|
22
|
-
max: $.validator.format("Lütfen {0} değerine eşit ya da daha küçük bir değer giriniz."),
|
23
|
-
min: $.validator.format("Lütfen {0} değerine eşit ya da daha büyük bir değer giriniz.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Language: TW (Taiwan - Traditional Chinese)
|
4
|
-
* Author: Mr.BB <Boris Yang>
|
5
|
-
*/
|
6
|
-
jQuery.extend(jQuery.validator.messages, {
|
7
|
-
required: "必填",
|
8
|
-
remote: "請修正此欄位",
|
9
|
-
email: "請輸入正確的電子信箱",
|
10
|
-
url: "請輸入合法的URL",
|
11
|
-
date: "請輸入合法的日期",
|
12
|
-
dateISO: "請輸入合法的日期 (ISO).",
|
13
|
-
number: "請輸入數字",
|
14
|
-
digits: "請輸入整數",
|
15
|
-
creditcard: "請輸入合法的信用卡號碼",
|
16
|
-
equalTo: "請重複輸入一次",
|
17
|
-
accept: "請輸入有效的後缀字串",
|
18
|
-
maxlength: jQuery.validator.format("請輸入長度不大於{0} 的字串"),
|
19
|
-
minlength: jQuery.validator.format("請輸入長度不小於 {0} 的字串"),
|
20
|
-
rangelength: jQuery.validator.format("請輸入長度介於 {0} 和 {1} 之間的字串"),
|
21
|
-
range: jQuery.validator.format("請輸入介於 {0} 和 {1} 之間的數值"),
|
22
|
-
max: jQuery.validator.format("請輸入不大於 {0} 的數值"),
|
23
|
-
min: jQuery.validator.format("請輸入不小於 {0} 的數值")
|
24
|
-
});
|
@@ -1,24 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Language: UA (Ukrainian)
|
4
|
-
* Author: maserg <maserg at gmail dot com>
|
5
|
-
*/
|
6
|
-
jQuery.extend(jQuery.validator.messages, {
|
7
|
-
required: "Це поле необхідно заповнити.",
|
8
|
-
remote: "Будь ласка, введіть правильне значення.",
|
9
|
-
email: "Будь ласка, введіть коректну адресу електронної пошти.",
|
10
|
-
url: "Будь ласка, введіть коректний URL.",
|
11
|
-
date: "Будь ласка, введіть коректну дату.",
|
12
|
-
dateISO: "Будь ласка, введіть коректну дату у форматі ISO.",
|
13
|
-
number: "Будь ласка, введіть число.",
|
14
|
-
digits: "Вводите потрібно лише цифри.",
|
15
|
-
creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
|
16
|
-
equalTo: "Будь ласка, введіть таке ж значення ще раз.",
|
17
|
-
accept: "Будь ласка, виберіть файл з правильним розширенням.",
|
18
|
-
maxlength: jQuery.validator.format("Будь ласка, введіть не більше {0} символів."),
|
19
|
-
minlength: jQuery.validator.format("Будь ласка, введіть не менше {0} символів."),
|
20
|
-
rangelength: jQuery.validator.format("Будь ласка, введіть значення довжиною від {0} до {1} символів."),
|
21
|
-
range: jQuery.validator.format("Будь ласка, введіть число від {0} до {1}."),
|
22
|
-
max: jQuery.validator.format("Будь ласка, введіть число, менше або рівно {0}."),
|
23
|
-
min: jQuery.validator.format("Будь ласка, введіть число, більше або рівно {0}.")
|
24
|
-
});
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: UK (Ukrainian; українська мова)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Це поле необхідно заповнити.",
|
8
|
-
remote: "Будь ласка, введіть правильне значення.",
|
9
|
-
email: "Будь ласка, введіть коректну адресу електронної пошти.",
|
10
|
-
url: "Будь ласка, введіть коректний URL.",
|
11
|
-
date: "Будь ласка, введіть коректну дату.",
|
12
|
-
dateISO: "Будь ласка, введіть коректну дату у форматі ISO.",
|
13
|
-
number: "Будь ласка, введіть число.",
|
14
|
-
digits: "Вводите потрібно лише цифри.",
|
15
|
-
creditcard: "Будь ласка, введіть правильний номер кредитної карти.",
|
16
|
-
equalTo: "Будь ласка, введіть таке ж значення ще раз.",
|
17
|
-
accept: "Будь ласка, виберіть файл з правильним розширенням.",
|
18
|
-
maxlength: $.validator.format("Будь ласка, введіть не більше {0} символів."),
|
19
|
-
minlength: $.validator.format("Будь ласка, введіть не менше {0} символів."),
|
20
|
-
rangelength: $.validator.format("Будь ласка, введіть значення довжиною від {0} до {1} символів."),
|
21
|
-
range: $.validator.format("Будь ласка, введіть число від {0} до {1}."),
|
22
|
-
max: $.validator.format("Будь ласка, введіть число, менше або рівно {0}."),
|
23
|
-
min: $.validator.format("Будь ласка, введіть число, більше або рівно {0}.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: VI (Vietnamese; Tiếng Việt)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "Hãy nhập.",
|
8
|
-
remote: "Hãy sửa cho đúng.",
|
9
|
-
email: "Hãy nhập email.",
|
10
|
-
url: "Hãy nhập URL.",
|
11
|
-
date: "Hãy nhập ngày.",
|
12
|
-
dateISO: "Hãy nhập ngày (ISO).",
|
13
|
-
number: "Hãy nhập số.",
|
14
|
-
digits: "Hãy nhập chữ số.",
|
15
|
-
creditcard: "Hãy nhập số thẻ tín dụng.",
|
16
|
-
equalTo: "Hãy nhập thêm lần nữa.",
|
17
|
-
accept: "Phần mở rộng không đúng.",
|
18
|
-
maxlength: $.format("Hãy nhập từ {0} kí tự trở xuống."),
|
19
|
-
minlength: $.format("Hãy nhập từ {0} kí tự trở lên."),
|
20
|
-
rangelength: $.format("Hãy nhập từ {0} đến {1} kí tự."),
|
21
|
-
range: $.format("Hãy nhập từ {0} đến {1}."),
|
22
|
-
max: $.format("Hãy nhập từ {0} trở xuống."),
|
23
|
-
min: $.format("Hãy nhập từ {1} trở lên.")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,25 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: ZH (Chinese, 中文 (Zhōngwén), 汉语, 漢語)
|
4
|
-
*/
|
5
|
-
(function ($) {
|
6
|
-
$.extend($.validator.messages, {
|
7
|
-
required: "必选字段",
|
8
|
-
remote: "请修正该字段",
|
9
|
-
email: "请输入正确格式的电子邮件",
|
10
|
-
url: "请输入合法的网址",
|
11
|
-
date: "请输入合法的日期",
|
12
|
-
dateISO: "请输入合法的日期 (ISO).",
|
13
|
-
number: "请输入合法的数字",
|
14
|
-
digits: "只能输入整数",
|
15
|
-
creditcard: "请输入合法的信用卡号",
|
16
|
-
equalTo: "请再次输入相同的值",
|
17
|
-
accept: "请输入拥有合法后缀名的字符串",
|
18
|
-
maxlength: $.validator.format("请输入一个长度最多是 {0} 的字符串"),
|
19
|
-
minlength: $.validator.format("请输入一个长度最少是 {0} 的字符串"),
|
20
|
-
rangelength: $.validator.format("请输入一个长度介于 {0} 和 {1} 之间的字符串"),
|
21
|
-
range: $.validator.format("请输入一个介于 {0} 和 {1} 之间的值"),
|
22
|
-
max: $.validator.format("请输入一个最大为 {0} 的值"),
|
23
|
-
min: $.validator.format("请输入一个最小为 {0} 的值")
|
24
|
-
});
|
25
|
-
}(jQuery));
|
@@ -1,26 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Translated default messages for the jQuery validation plugin.
|
3
|
-
* Locale: ZH (Chinese; 中文 (Zhōngwén), 汉语, 漢語)
|
4
|
-
* Region: TW (Taiwan)
|
5
|
-
*/
|
6
|
-
(function ($) {
|
7
|
-
$.extend($.validator.messages, {
|
8
|
-
required: "必填",
|
9
|
-
remote: "請修正此欄位",
|
10
|
-
email: "請輸入正確的電子信箱",
|
11
|
-
url: "請輸入合法的URL",
|
12
|
-
date: "請輸入合法的日期",
|
13
|
-
dateISO: "請輸入合法的日期 (ISO).",
|
14
|
-
number: "請輸入數字",
|
15
|
-
digits: "請輸入整數",
|
16
|
-
creditcard: "請輸入合法的信用卡號碼",
|
17
|
-
equalTo: "請重複輸入一次",
|
18
|
-
accept: "請輸入有效的後缀字串",
|
19
|
-
maxlength: $.validator.format("請輸入長度不大於{0} 的字串"),
|
20
|
-
minlength: $.validator.format("請輸入長度不小於 {0} 的字串"),
|
21
|
-
rangelength: $.validator.format("請輸入長度介於 {0} 和 {1} 之間的字串"),
|
22
|
-
range: $.validator.format("請輸入介於 {0} 和 {1} 之間的數值"),
|
23
|
-
max: $.validator.format("請輸入不大於 {0} 的數值"),
|
24
|
-
min: $.validator.format("請輸入不小於 {0} 的數值")
|
25
|
-
});
|
26
|
-
}(jQuery));
|
@@ -1,12 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Localized default methods for the jQuery validation plugin.
|
3
|
-
* Locale: DE
|
4
|
-
*/
|
5
|
-
jQuery.extend(jQuery.validator.methods, {
|
6
|
-
date: function(value, element) {
|
7
|
-
return this.optional(element) || /^\d\d?\.\d\d?\.\d\d\d?\d?$/.test(value);
|
8
|
-
},
|
9
|
-
number: function(value, element) {
|
10
|
-
return this.optional(element) || /^-?(?:\d+|\d{1,3}(?:\.\d{3})+)(?:,\d+)?$/.test(value);
|
11
|
-
}
|
12
|
-
});
|
@@ -1,9 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* Localized default methods for the jQuery validation plugin.
|
3
|
-
* Locale: NL
|
4
|
-
*/
|
5
|
-
jQuery.extend(jQuery.validator.methods, {
|
6
|
-
date: function(value, element) {
|
7
|
-
return this.optional(element) || /^\d\d?[\.\/\-]\d\d?[\.\/\-]\d\d\d?\d?$/.test(value);
|
8
|
-
}
|
9
|
-
});
|
@@ -1,4 +0,0 @@
|
|
1
|
-
/* Modernizr 2.6.2 (Custom Build) | MIT & BSD
|
2
|
-
* Build: http://modernizr.com/download/#-shiv-cssclasses-load
|
3
|
-
*/
|
4
|
-
;window.Modernizr=function(a,b,c){function u(a){j.cssText=a}function v(a,b){return u(prefixes.join(a+";")+(b||""))}function w(a,b){return typeof a===b}function x(a,b){return!!~(""+a).indexOf(b)}function y(a,b,d){for(var e in a){var f=b[a[e]];if(f!==c)return d===!1?a[e]:w(f,"function")?f.bind(d||b):f}return!1}var d="2.6.2",e={},f=!0,g=b.documentElement,h="modernizr",i=b.createElement(h),j=i.style,k,l={}.toString,m={},n={},o={},p=[],q=p.slice,r,s={}.hasOwnProperty,t;!w(s,"undefined")&&!w(s.call,"undefined")?t=function(a,b){return s.call(a,b)}:t=function(a,b){return b in a&&w(a.constructor.prototype[b],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(b){var c=this;if(typeof c!="function")throw new TypeError;var d=q.call(arguments,1),e=function(){if(this instanceof e){var a=function(){};a.prototype=c.prototype;var f=new a,g=c.apply(f,d.concat(q.call(arguments)));return Object(g)===g?g:f}return c.apply(b,d.concat(q.call(arguments)))};return e});for(var z in m)t(m,z)&&(r=z.toLowerCase(),e[r]=m[z](),p.push((e[r]?"":"no-")+r));return e.addTest=function(a,b){if(typeof a=="object")for(var d in a)t(a,d)&&e.addTest(d,a[d]);else{a=a.toLowerCase();if(e[a]!==c)return e;b=typeof b=="function"?b():b,typeof f!="undefined"&&f&&(g.className+=" "+(b?"":"no-")+a),e[a]=b}return e},u(""),i=k=null,function(a,b){function k(a,b){var c=a.createElement("p"),d=a.getElementsByTagName("head")[0]||a.documentElement;return c.innerHTML="x<style>"+b+"</style>",d.insertBefore(c.lastChild,d.firstChild)}function l(){var a=r.elements;return typeof a=="string"?a.split(" "):a}function m(a){var b=i[a[g]];return b||(b={},h++,a[g]=h,i[h]=b),b}function n(a,c,f){c||(c=b);if(j)return c.createElement(a);f||(f=m(c));var g;return f.cache[a]?g=f.cache[a].cloneNode():e.test(a)?g=(f.cache[a]=f.createElem(a)).cloneNode():g=f.createElem(a),g.canHaveChildren&&!d.test(a)?f.frag.appendChild(g):g}function o(a,c){a||(a=b);if(j)return a.createDocumentFragment();c=c||m(a);var d=c.frag.cloneNode(),e=0,f=l(),g=f.length;for(;e<g;e++)d.createElement(f[e]);return d}function p(a,b){b.cache||(b.cache={},b.createElem=a.createElement,b.createFrag=a.createDocumentFragment,b.frag=b.createFrag()),a.createElement=function(c){return r.shivMethods?n(c,a,b):b.createElem(c)},a.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+l().join().replace(/\w+/g,function(a){return b.createElem(a),b.frag.createElement(a),'c("'+a+'")'})+");return n}")(r,b.frag)}function q(a){a||(a=b);var c=m(a);return r.shivCSS&&!f&&!c.hasCSS&&(c.hasCSS=!!k(a,"article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}")),j||p(a,c),a}var c=a.html5||{},d=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,e=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,f,g="_html5shiv",h=0,i={},j;(function(){try{var a=b.createElement("a");a.innerHTML="<xyz></xyz>",f="hidden"in a,j=a.childNodes.length==1||function(){b.createElement("a");var a=b.createDocumentFragment();return typeof a.cloneNode=="undefined"||typeof a.createDocumentFragment=="undefined"||typeof a.createElement=="undefined"}()}catch(c){f=!0,j=!0}})();var r={elements:c.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:c.shivCSS!==!1,supportsUnknownElements:j,shivMethods:c.shivMethods!==!1,type:"default",shivDocument:q,createElement:n,createDocumentFragment:o};a.html5=r,q(b)}(this,b),e._version=d,g.className=g.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(f?" js "+p.join(" "):""),e}(this,this.document),function(a,b,c){function d(a){return"[object Function]"==o.call(a)}function e(a){return"string"==typeof a}function f(){}function g(a){return!a||"loaded"==a||"complete"==a||"uninitialized"==a}function h(){var a=p.shift();q=1,a?a.t?m(function(){("c"==a.t?B.injectCss:B.injectJs)(a.s,0,a.a,a.x,a.e,1)},0):(a(),h()):q=0}function i(a,c,d,e,f,i,j){function k(b){if(!o&&g(l.readyState)&&(u.r=o=1,!q&&h(),l.onload=l.onreadystatechange=null,b)){"img"!=a&&m(function(){t.removeChild(l)},50);for(var d in y[c])y[c].hasOwnProperty(d)&&y[c][d].onload()}}var j=j||B.errorTimeout,l=b.createElement(a),o=0,r=0,u={t:d,s:c,e:f,a:i,x:j};1===y[c]&&(r=1,y[c]=[]),"object"==a?l.data=c:(l.src=c,l.type=a),l.width=l.height="0",l.onerror=l.onload=l.onreadystatechange=function(){k.call(this,r)},p.splice(e,0,u),"img"!=a&&(r||2===y[c]?(t.insertBefore(l,s?null:n),m(k,j)):y[c].push(l))}function j(a,b,c,d,f){return q=0,b=b||"j",e(a)?i("c"==b?v:u,a,b,this.i++,c,d,f):(p.splice(this.i++,0,a),1==p.length&&h()),this}function k(){var a=B;return a.loader={load:j,i:0},a}var l=b.documentElement,m=a.setTimeout,n=b.getElementsByTagName("script")[0],o={}.toString,p=[],q=0,r="MozAppearance"in l.style,s=r&&!!b.createRange().compareNode,t=s?l:n.parentNode,l=a.opera&&"[object Opera]"==o.call(a.opera),l=!!b.attachEvent&&!l,u=r?"object":l?"script":"img",v=l?"script":u,w=Array.isArray||function(a){return"[object Array]"==o.call(a)},x=[],y={},z={timeout:function(a,b){return b.length&&(a.timeout=b[0]),a}},A,B;B=function(a){function b(a){var a=a.split("!"),b=x.length,c=a.pop(),d=a.length,c={url:c,origUrl:c,prefixes:a},e,f,g;for(f=0;f<d;f++)g=a[f].split("="),(e=z[g.shift()])&&(c=e(c,g));for(f=0;f<b;f++)c=x[f](c);return c}function g(a,e,f,g,h){var i=b(a),j=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(e&&(e=d(e)?e:e[a]||e[g]||e[a.split("/").pop().split("?")[0]]),i.instead?i.instead(a,e,f,g,h):(y[i.url]?i.noexec=!0:y[i.url]=1,f.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":c,i.noexec,i.attrs,i.timeout),(d(e)||d(j))&&f.load(function(){k(),e&&e(i.origUrl,h,g),j&&j(i.origUrl,h,g),y[i.url]=2})))}function h(a,b){function c(a,c){if(a){if(e(a))c||(j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}),g(a,j,b,0,h);else if(Object(a)===a)for(n in m=function(){var b=0,c;for(c in a)a.hasOwnProperty(c)&&b++;return b}(),a)a.hasOwnProperty(n)&&(!c&&!--m&&(d(j)?j=function(){var a=[].slice.call(arguments);k.apply(this,a),l()}:j[n]=function(a){return function(){var b=[].slice.call(arguments);a&&a.apply(this,b),l()}}(k[n])),g(a[n],j,b,n,h))}else!c&&l()}var h=!!a.test,i=a.load||a.both,j=a.callback||f,k=j,l=a.complete||f,m,n;c(h?a.yep:a.nope,!!i),i&&c(i)}var i,j,l=this.yepnope.loader;if(e(a))g(a,0,l,0);else if(w(a))for(i=0;i<a.length;i++)j=a[i],e(j)?g(j,0,l,0):w(j)?B(j):Object(j)===j&&h(j,l);else Object(a)===a&&h(a,l)},B.addPrefix=function(a,b){z[a]=b},B.addFilter=function(a){x.push(a)},B.errorTimeout=1e4,null==b.readyState&&b.addEventListener&&(b.readyState="loading",b.addEventListener("DOMContentLoaded",A=function(){b.removeEventListener("DOMContentLoaded",A,0),b.readyState="complete"},0)),a.yepnope=k(),a.yepnope.executeStack=h,a.yepnope.injectJs=function(a,c,d,e,i,j){var k=b.createElement("script"),l,o,e=e||B.errorTimeout;k.src=a;for(o in d)k.setAttribute(o,d[o]);c=j?h:c||f,k.onreadystatechange=k.onload=function(){!l&&g(k.readyState)&&(l=1,c(),k.onload=k.onreadystatechange=null)},m(function(){l||(l=1,c(1))},e),i?k.onload():n.parentNode.insertBefore(k,n)},a.yepnope.injectCss=function(a,c,d,e,g,i){var e=b.createElement("link"),j,c=i?h:c||f;e.href=a,e.rel="stylesheet",e.type="text/css";for(j in d)e.setAttribute(j,d[j]);g||(n.parentNode.insertBefore(e,n),m(c,0))}}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))};
|
@@ -1,42 +0,0 @@
|
|
1
|
-
$(document).ready(function() {
|
2
|
-
var switched = false;
|
3
|
-
var updateTables = function() {
|
4
|
-
if (($(window).width() < 767) && !switched ){
|
5
|
-
switched = true;
|
6
|
-
$("table.responsive").each(function(i, element) {
|
7
|
-
splitTable($(element));
|
8
|
-
});
|
9
|
-
return true;
|
10
|
-
}
|
11
|
-
else if (switched && ($(window).width() > 767)) {
|
12
|
-
switched = false;
|
13
|
-
$("table.responsive").each(function(i, element) {
|
14
|
-
unsplitTable($(element));
|
15
|
-
});
|
16
|
-
}
|
17
|
-
};
|
18
|
-
|
19
|
-
$(window).load(updateTables);
|
20
|
-
$(window).bind("resize", updateTables);
|
21
|
-
|
22
|
-
|
23
|
-
function splitTable(original)
|
24
|
-
{
|
25
|
-
original.wrap("<div class='table-wrapper' />");
|
26
|
-
|
27
|
-
var copy = original.clone();
|
28
|
-
copy.find("td:not(:first-child), th:not(:first-child)").css("display", "none");
|
29
|
-
copy.removeClass("responsive");
|
30
|
-
|
31
|
-
original.closest(".table-wrapper").append(copy);
|
32
|
-
copy.wrap("<div class='pinned' />");
|
33
|
-
original.wrap("<div class='scrollable' />");
|
34
|
-
}
|
35
|
-
|
36
|
-
function unsplitTable(original) {
|
37
|
-
original.closest(".table-wrapper").find(".pinned").remove();
|
38
|
-
original.unwrap();
|
39
|
-
original.unwrap();
|
40
|
-
}
|
41
|
-
|
42
|
-
});
|
@@ -1,319 +0,0 @@
|
|
1
|
-
//fgnass.github.com/spin.js#v1.2.6
|
2
|
-
!function(window, document, undefined) {
|
3
|
-
|
4
|
-
/**
|
5
|
-
* Copyright (c) 2011 Felix Gnass [fgnass at neteye dot de]
|
6
|
-
* Licensed under the MIT license
|
7
|
-
*/
|
8
|
-
|
9
|
-
var prefixes = ['webkit', 'Moz', 'ms', 'O'] /* Vendor prefixes */
|
10
|
-
, animations = {} /* Animation rules keyed by their name */
|
11
|
-
, useCssAnimations
|
12
|
-
|
13
|
-
/**
|
14
|
-
* Utility function to create elements. If no tag name is given,
|
15
|
-
* a DIV is created. Optionally properties can be passed.
|
16
|
-
*/
|
17
|
-
function createEl(tag, prop) {
|
18
|
-
var el = document.createElement(tag || 'div')
|
19
|
-
, n
|
20
|
-
|
21
|
-
for(n in prop) el[n] = prop[n]
|
22
|
-
return el
|
23
|
-
}
|
24
|
-
|
25
|
-
/**
|
26
|
-
* Appends children and returns the parent.
|
27
|
-
*/
|
28
|
-
function ins(parent /* child1, child2, ...*/) {
|
29
|
-
for (var i=1, n=arguments.length; i<n; i++)
|
30
|
-
parent.appendChild(arguments[i])
|
31
|
-
|
32
|
-
return parent
|
33
|
-
}
|
34
|
-
|
35
|
-
/**
|
36
|
-
* Insert a new stylesheet to hold the @keyframe or VML rules.
|
37
|
-
*/
|
38
|
-
var sheet = function() {
|
39
|
-
var el = createEl('style', {type : 'text/css'})
|
40
|
-
ins(document.getElementsByTagName('head')[0], el)
|
41
|
-
return el.sheet || el.styleSheet
|
42
|
-
}()
|
43
|
-
|
44
|
-
/**
|
45
|
-
* Creates an opacity keyframe animation rule and returns its name.
|
46
|
-
* Since most mobile Webkits have timing issues with animation-delay,
|
47
|
-
* we create separate rules for each line/segment.
|
48
|
-
*/
|
49
|
-
function addAnimation(alpha, trail, i, lines) {
|
50
|
-
var name = ['opacity', trail, ~~(alpha*100), i, lines].join('-')
|
51
|
-
, start = 0.01 + i/lines*100
|
52
|
-
, z = Math.max(1 - (1-alpha) / trail * (100-start), alpha)
|
53
|
-
, prefix = useCssAnimations.substring(0, useCssAnimations.indexOf('Animation')).toLowerCase()
|
54
|
-
, pre = prefix && '-'+prefix+'-' || ''
|
55
|
-
|
56
|
-
if (!animations[name]) {
|
57
|
-
sheet.insertRule(
|
58
|
-
'@' + pre + 'keyframes ' + name + '{' +
|
59
|
-
'0%{opacity:' + z + '}' +
|
60
|
-
start + '%{opacity:' + alpha + '}' +
|
61
|
-
(start+0.01) + '%{opacity:1}' +
|
62
|
-
(start+trail) % 100 + '%{opacity:' + alpha + '}' +
|
63
|
-
'100%{opacity:' + z + '}' +
|
64
|
-
'}', sheet.cssRules.length)
|
65
|
-
|
66
|
-
animations[name] = 1
|
67
|
-
}
|
68
|
-
return name
|
69
|
-
}
|
70
|
-
|
71
|
-
/**
|
72
|
-
* Tries various vendor prefixes and returns the first supported property.
|
73
|
-
**/
|
74
|
-
function vendor(el, prop) {
|
75
|
-
var s = el.style
|
76
|
-
, pp
|
77
|
-
, i
|
78
|
-
|
79
|
-
if(s[prop] !== undefined) return prop
|
80
|
-
prop = prop.charAt(0).toUpperCase() + prop.slice(1)
|
81
|
-
for(i=0; i<prefixes.length; i++) {
|
82
|
-
pp = prefixes[i]+prop
|
83
|
-
if(s[pp] !== undefined) return pp
|
84
|
-
}
|
85
|
-
}
|
86
|
-
|
87
|
-
/**
|
88
|
-
* Sets multiple style properties at once.
|
89
|
-
*/
|
90
|
-
function css(el, prop) {
|
91
|
-
for (var n in prop)
|
92
|
-
el.style[vendor(el, n)||n] = prop[n]
|
93
|
-
|
94
|
-
return el
|
95
|
-
}
|
96
|
-
|
97
|
-
/**
|
98
|
-
* Fills in default values.
|
99
|
-
*/
|
100
|
-
function merge(obj) {
|
101
|
-
for (var i=1; i < arguments.length; i++) {
|
102
|
-
var def = arguments[i]
|
103
|
-
for (var n in def)
|
104
|
-
if (obj[n] === undefined) obj[n] = def[n]
|
105
|
-
}
|
106
|
-
return obj
|
107
|
-
}
|
108
|
-
|
109
|
-
/**
|
110
|
-
* Returns the absolute page-offset of the given element.
|
111
|
-
*/
|
112
|
-
function pos(el) {
|
113
|
-
var o = { x:el.offsetLeft, y:el.offsetTop }
|
114
|
-
while((el = el.offsetParent))
|
115
|
-
o.x+=el.offsetLeft, o.y+=el.offsetTop
|
116
|
-
|
117
|
-
return o
|
118
|
-
}
|
119
|
-
|
120
|
-
var defaults = {
|
121
|
-
lines: 12, // The number of lines to draw
|
122
|
-
length: 7, // The length of each line
|
123
|
-
width: 5, // The line thickness
|
124
|
-
radius: 10, // The radius of the inner circle
|
125
|
-
rotate: 0, // Rotation offset
|
126
|
-
corners: 1, // Roundness (0..1)
|
127
|
-
color: '#000', // #rgb or #rrggbb
|
128
|
-
speed: 1, // Rounds per second
|
129
|
-
trail: 100, // Afterglow percentage
|
130
|
-
opacity: 1/4, // Opacity of the lines
|
131
|
-
fps: 20, // Frames per second when using setTimeout()
|
132
|
-
zIndex: 2e9, // Use a high z-index by default
|
133
|
-
className: 'spinner', // CSS class to assign to the element
|
134
|
-
top: 'auto', // center vertically
|
135
|
-
left: 'auto' // center horizontally
|
136
|
-
}
|
137
|
-
|
138
|
-
/** The constructor */
|
139
|
-
var Spinner = function Spinner(o) {
|
140
|
-
if (!this.spin) return new Spinner(o)
|
141
|
-
this.opts = merge(o || {}, Spinner.defaults, defaults)
|
142
|
-
}
|
143
|
-
|
144
|
-
Spinner.defaults = {}
|
145
|
-
|
146
|
-
merge(Spinner.prototype, {
|
147
|
-
spin: function(target) {
|
148
|
-
this.stop()
|
149
|
-
var self = this
|
150
|
-
, o = self.opts
|
151
|
-
, el = self.el = css(createEl(0, {className: o.className}), {position: 'relative', width: 0, zIndex: o.zIndex})
|
152
|
-
, mid = o.radius+o.length+o.width
|
153
|
-
, ep // element position
|
154
|
-
, tp // target position
|
155
|
-
|
156
|
-
if (target) {
|
157
|
-
target.insertBefore(el, target.firstChild||null)
|
158
|
-
tp = pos(target)
|
159
|
-
ep = pos(el)
|
160
|
-
css(el, {
|
161
|
-
left: (o.left == 'auto' ? tp.x-ep.x + (target.offsetWidth >> 1) : parseInt(o.left, 10) + mid) + 'px',
|
162
|
-
top: (o.top == 'auto' ? tp.y-ep.y + (target.offsetHeight >> 1) : parseInt(o.top, 10) + mid) + 'px'
|
163
|
-
})
|
164
|
-
}
|
165
|
-
|
166
|
-
el.setAttribute('aria-role', 'progressbar')
|
167
|
-
self.lines(el, self.opts)
|
168
|
-
|
169
|
-
if (!useCssAnimations) {
|
170
|
-
// No CSS animation support, use setTimeout() instead
|
171
|
-
var i = 0
|
172
|
-
, fps = o.fps
|
173
|
-
, f = fps/o.speed
|
174
|
-
, ostep = (1-o.opacity) / (f*o.trail / 100)
|
175
|
-
, astep = f/o.lines
|
176
|
-
|
177
|
-
;(function anim() {
|
178
|
-
i++;
|
179
|
-
for (var s=o.lines; s; s--) {
|
180
|
-
var alpha = Math.max(1-(i+s*astep)%f * ostep, o.opacity)
|
181
|
-
self.opacity(el, o.lines-s, alpha, o)
|
182
|
-
}
|
183
|
-
self.timeout = self.el && setTimeout(anim, ~~(1000/fps))
|
184
|
-
})()
|
185
|
-
}
|
186
|
-
return self
|
187
|
-
},
|
188
|
-
|
189
|
-
stop: function() {
|
190
|
-
var el = this.el
|
191
|
-
if (el) {
|
192
|
-
clearTimeout(this.timeout)
|
193
|
-
if (el.parentNode) el.parentNode.removeChild(el)
|
194
|
-
this.el = undefined
|
195
|
-
}
|
196
|
-
return this
|
197
|
-
},
|
198
|
-
|
199
|
-
lines: function(el, o) {
|
200
|
-
var i = 0
|
201
|
-
, seg
|
202
|
-
|
203
|
-
function fill(color, shadow) {
|
204
|
-
return css(createEl(), {
|
205
|
-
position: 'absolute',
|
206
|
-
width: (o.length+o.width) + 'px',
|
207
|
-
height: o.width + 'px',
|
208
|
-
background: color,
|
209
|
-
boxShadow: shadow,
|
210
|
-
transformOrigin: 'left',
|
211
|
-
transform: 'rotate(' + ~~(360/o.lines*i+o.rotate) + 'deg) translate(' + o.radius+'px' +',0)',
|
212
|
-
borderRadius: (o.corners * o.width>>1) + 'px'
|
213
|
-
})
|
214
|
-
}
|
215
|
-
|
216
|
-
for (; i < o.lines; i++) {
|
217
|
-
seg = css(createEl(), {
|
218
|
-
position: 'absolute',
|
219
|
-
top: 1+~(o.width/2) + 'px',
|
220
|
-
transform: o.hwaccel ? 'translate3d(0,0,0)' : '',
|
221
|
-
opacity: o.opacity,
|
222
|
-
animation: useCssAnimations && addAnimation(o.opacity, o.trail, i, o.lines) + ' ' + 1/o.speed + 's linear infinite'
|
223
|
-
})
|
224
|
-
|
225
|
-
if (o.shadow) ins(seg, css(fill('#000', '0 0 4px ' + '#000'), {top: 2+'px'}))
|
226
|
-
|
227
|
-
ins(el, ins(seg, fill(o.color, '0 0 1px rgba(0,0,0,.1)')))
|
228
|
-
}
|
229
|
-
return el
|
230
|
-
},
|
231
|
-
|
232
|
-
opacity: function(el, i, val) {
|
233
|
-
if (i < el.childNodes.length) el.childNodes[i].style.opacity = val
|
234
|
-
}
|
235
|
-
|
236
|
-
})
|
237
|
-
|
238
|
-
/////////////////////////////////////////////////////////////////////////
|
239
|
-
// VML rendering for IE
|
240
|
-
/////////////////////////////////////////////////////////////////////////
|
241
|
-
|
242
|
-
/**
|
243
|
-
* Check and init VML support
|
244
|
-
*/
|
245
|
-
;(function() {
|
246
|
-
|
247
|
-
function vml(tag, attr) {
|
248
|
-
return createEl('<' + tag + ' xmlns="urn:schemas-microsoft.com:vml" class="spin-vml">', attr)
|
249
|
-
}
|
250
|
-
|
251
|
-
var s = css(createEl('group'), {behavior: 'url(#default#VML)'})
|
252
|
-
|
253
|
-
if (!vendor(s, 'transform') && s.adj) {
|
254
|
-
|
255
|
-
// VML support detected. Insert CSS rule ...
|
256
|
-
sheet.addRule('.spin-vml', 'behavior:url(#default#VML)')
|
257
|
-
|
258
|
-
Spinner.prototype.lines = function(el, o) {
|
259
|
-
var r = o.length+o.width
|
260
|
-
, s = 2*r
|
261
|
-
|
262
|
-
function grp() {
|
263
|
-
return css(
|
264
|
-
vml('group', {
|
265
|
-
coordsize: s + ' ' + s,
|
266
|
-
coordorigin: -r + ' ' + -r
|
267
|
-
}),
|
268
|
-
{ width: s, height: s }
|
269
|
-
)
|
270
|
-
}
|
271
|
-
|
272
|
-
var margin = -(o.width+o.length)*2 + 'px'
|
273
|
-
, g = css(grp(), {position: 'absolute', top: margin, left: margin})
|
274
|
-
, i
|
275
|
-
|
276
|
-
function seg(i, dx, filter) {
|
277
|
-
ins(g,
|
278
|
-
ins(css(grp(), {rotation: 360 / o.lines * i + 'deg', left: ~~dx}),
|
279
|
-
ins(css(vml('roundrect', {arcsize: o.corners}), {
|
280
|
-
width: r,
|
281
|
-
height: o.width,
|
282
|
-
left: o.radius,
|
283
|
-
top: -o.width>>1,
|
284
|
-
filter: filter
|
285
|
-
}),
|
286
|
-
vml('fill', {color: o.color, opacity: o.opacity}),
|
287
|
-
vml('stroke', {opacity: 0}) // transparent stroke to fix color bleeding upon opacity change
|
288
|
-
)
|
289
|
-
)
|
290
|
-
)
|
291
|
-
}
|
292
|
-
|
293
|
-
if (o.shadow)
|
294
|
-
for (i = 1; i <= o.lines; i++)
|
295
|
-
seg(i, -2, 'progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)')
|
296
|
-
|
297
|
-
for (i = 1; i <= o.lines; i++) seg(i)
|
298
|
-
return ins(el, g)
|
299
|
-
}
|
300
|
-
|
301
|
-
Spinner.prototype.opacity = function(el, i, val, o) {
|
302
|
-
var c = el.firstChild
|
303
|
-
o = o.shadow && o.lines || 0
|
304
|
-
if (c && i+o < c.childNodes.length) {
|
305
|
-
c = c.childNodes[i+o]; c = c && c.firstChild; c = c && c.firstChild
|
306
|
-
if (c) c.opacity = val
|
307
|
-
}
|
308
|
-
}
|
309
|
-
}
|
310
|
-
else
|
311
|
-
useCssAnimations = vendor(s, 'animation')
|
312
|
-
})()
|
313
|
-
|
314
|
-
if (typeof define == 'function' && define.amd)
|
315
|
-
define(function() { return Spinner })
|
316
|
-
else
|
317
|
-
window.Spinner = Spinner
|
318
|
-
|
319
|
-
}(window, document)
|