rails_marketplace 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -20
- data/README.rdoc +2 -2
- data/Rakefile +37 -37
- data/app/assets/javascripts/rails_marketplace/application.js +46 -46
- data/app/assets/javascripts/rails_marketplace/catalog.coffee +3 -3
- data/app/assets/javascripts/rails_marketplace/flash.js +6 -6
- data/app/assets/javascripts/rails_marketplace/footermanifest.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/autocomplete/countries.js +266 -266
- data/app/assets/javascripts/rails_marketplace/js/autocomplete/jquery.autocomplete.js +986 -986
- data/app/assets/javascripts/rails_marketplace/js/bootstrap.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/calendar/fullcalendar.min.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/chartjs/chart.min.js +13 -13
- data/app/assets/javascripts/rails_marketplace/js/colorpicker/bootstrap-colorpicker.min.js +1087 -1087
- data/app/assets/javascripts/rails_marketplace/js/colorpicker/docs.js +17 -17
- data/app/assets/javascripts/rails_marketplace/js/cropping/cropper.min.js +9 -9
- data/app/assets/javascripts/rails_marketplace/js/cropping/main.js +321 -321
- data/app/assets/javascripts/rails_marketplace/js/cropping/main2.js +160 -160
- data/app/assets/javascripts/rails_marketplace/js/custom.js +379 -379
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.bootstrap.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.html5.min.js +22 -22
- data/app/assets/javascripts/rails_marketplace/js/datatables/buttons.print.min.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.bootstrap.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.buttons.min.js +36 -36
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.fixedHeader.min.js +17 -17
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.keyTable.min.js +18 -18
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.responsive.min.js +25 -25
- data/app/assets/javascripts/rails_marketplace/js/datatables/dataTables.scroller.min.js +26 -26
- data/app/assets/javascripts/rails_marketplace/js/datatables/fixedHeader.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.css +333 -333
- data/app/assets/javascripts/rails_marketplace/js/datatables/jquery.dataTables.min.js +166 -166
- data/app/assets/javascripts/rails_marketplace/js/datatables/json/scroller-demo.json +2501 -2501
- data/app/assets/javascripts/rails_marketplace/js/datatables/jszip.min.js +14 -14
- data/app/assets/javascripts/rails_marketplace/js/datatables/pdfmake.min.js +21 -21
- data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/datatables/responsive.bootstrap.min.js +7 -7
- data/app/assets/javascripts/rails_marketplace/js/datatables/scroller.bootstrap.min.css +1 -1
- data/app/assets/javascripts/rails_marketplace/js/dropzone/dropzone.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/easypie/jquery.easypiechart.min.js +9 -9
- data/app/assets/javascripts/rails_marketplace/js/echart/echarts-all.js +35 -35
- data/app/assets/javascripts/rails_marketplace/js/echart/green.js +212 -212
- data/app/assets/javascripts/rails_marketplace/js/editor/bootstrap-wysiwyg.js +200 -200
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-apollo.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-basic.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-clj.js +18 -18
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-css.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-dart.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-erlang.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-go.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-hs.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lisp.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-llvm.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-lua.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-matlab.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-ml.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-mumps.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-n.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-pascal.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-proto.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-r.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-rd.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-scala.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-sql.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tcl.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-tex.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vb.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-vhdl.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-wiki.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-xq.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/lang-yaml.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/prettify.js +30 -30
- data/app/assets/javascripts/rails_marketplace/js/editor/external/google-code-prettify/run_prettify.js +34 -34
- data/app/assets/javascripts/rails_marketplace/js/editor/external/jquery.hotkeys.js +99 -99
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.orderBars.js +200 -200
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.pie.js +820 -820
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.resize.js +57 -57
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.stack.js +188 -188
- data/app/assets/javascripts/rails_marketplace/js/flot/jquery.flot.tooltip.min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/gauge/gauge.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/gauge/gauge_demo.js +21 -21
- data/app/assets/javascripts/rails_marketplace/js/icheck/icheck.min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/input_mask/jquery.inputmask.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/jquery.min.js +5 -5
- data/app/assets/javascripts/rails_marketplace/js/maps/gdp-data.js +184 -184
- data/app/assets/javascripts/rails_marketplace/js/maps/jquery-jvectormap-2.0.3.min.js +2 -2
- data/app/assets/javascripts/rails_marketplace/js/moment/moment.min.js +6 -6
- data/app/assets/javascripts/rails_marketplace/js/moris/example.js +127 -127
- data/app/assets/javascripts/rails_marketplace/js/moris/morris.min.js +7 -7
- data/app/assets/javascripts/rails_marketplace/js/moris/raphael-min.js +11 -11
- data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.buttons.js +132 -132
- data/app/assets/javascripts/rails_marketplace/js/notify/pnotify.nonblock.js +151 -151
- data/app/assets/javascripts/rails_marketplace/js/nprogress.js +476 -476
- data/app/assets/javascripts/rails_marketplace/js/pace/pace.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/parsley/parsley.min.js +8 -8
- data/app/assets/javascripts/rails_marketplace/js/progressbar/bootstrap-progressbar.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/select/select2.full.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/sidebar/classie.js +80 -80
- data/app/assets/javascripts/rails_marketplace/js/sidebar/component.css +569 -569
- data/app/assets/javascripts/rails_marketplace/js/sidebar/modernizr.custom.js +3 -3
- data/app/assets/javascripts/rails_marketplace/js/sidebar/sidebarEffects.js +62 -62
- data/app/assets/javascripts/rails_marketplace/js/skycons/skycons.min.js +1 -1
- data/app/assets/javascripts/rails_marketplace/js/sparkline/jquery.sparkline.min.js +4 -4
- data/app/assets/javascripts/rails_marketplace/js/textarea/autosize.min.js +5 -5
- data/app/assets/javascripts/rails_marketplace/less/custom.css +6355 -6355
- data/app/assets/javascripts/rails_marketplace/marketplace.js +17 -17
- data/app/assets/javascripts/rails_marketplace/welcome.coffee +3 -3
- data/app/assets/stylesheets/rails_marketplace/application.scss +30 -30
- data/app/assets/stylesheets/rails_marketplace/catalog.scss +131 -131
- data/app/assets/stylesheets/rails_marketplace/css/animate.min.css +11 -11
- data/app/assets/stylesheets/rails_marketplace/css/bootstrap.min.css +5 -5
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.css +1116 -1116
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.min.css +4 -4
- data/app/assets/stylesheets/rails_marketplace/css/calendar/fullcalendar.print.css +208 -208
- data/app/assets/stylesheets/rails_marketplace/css/colorpicker/bootstrap-colorpicker.min.css +8 -8
- data/app/assets/stylesheets/rails_marketplace/css/custom.css +5347 -5347
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_page.css +103 -103
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table.css +258 -258
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/demo_table_jui.css +500 -500
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables.css +221 -221
- data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css +244 -244
- data/app/assets/stylesheets/rails_marketplace/css/datatables/tools/css/dataTables.tableTools.css +336 -336
- data/app/assets/stylesheets/rails_marketplace/css/editor/index.css +42 -42
- data/app/assets/stylesheets/rails_marketplace/css/floatexamples.css +21 -21
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/_all.css +529 -529
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/aero.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/blue.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/flat.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/green.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/grey.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/orange.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/pink.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/purple.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/red.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/icheck/flat/yellow.css +52 -52
- data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.css +146 -146
- data/app/assets/stylesheets/rails_marketplace/css/ion.rangeSlider.skinFlat.css +106 -106
- data/app/assets/stylesheets/rails_marketplace/css/maps/jquery-jvectormap-2.0.3.css +135 -135
- data/app/assets/stylesheets/rails_marketplace/css/normalize.css +421 -421
- data/app/assets/stylesheets/rails_marketplace/css/nprogress.css +74 -74
- data/app/assets/stylesheets/rails_marketplace/css/progressbar/bootstrap-progressbar-3.3.0.css +161 -161
- data/app/assets/stylesheets/rails_marketplace/css/select/select2.min.css +403 -403
- data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.css +2086 -2086
- data/app/assets/stylesheets/rails_marketplace/fonts/css/font-awesome.min.css +4 -4
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/FontAwesome.otf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.eot +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.svg +654 -654
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.ttf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/fonts/fontawesome-webfont.woff2 +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.eot +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.svg +287 -287
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/stylesheets/rails_marketplace/fonts/less/animated.less +34 -34
- data/app/assets/stylesheets/rails_marketplace/fonts/less/bordered-pulled.less +25 -25
- data/app/assets/stylesheets/rails_marketplace/fonts/less/core.less +12 -12
- data/app/assets/stylesheets/rails_marketplace/fonts/less/fixed-width.less +6 -6
- data/app/assets/stylesheets/rails_marketplace/fonts/less/font-awesome.less +17 -17
- data/app/assets/stylesheets/rails_marketplace/fonts/less/icons.less +697 -697
- data/app/assets/stylesheets/rails_marketplace/fonts/less/larger.less +13 -13
- data/app/assets/stylesheets/rails_marketplace/fonts/less/list.less +19 -19
- data/app/assets/stylesheets/rails_marketplace/fonts/less/mixins.less +26 -26
- data/app/assets/stylesheets/rails_marketplace/fonts/less/path.less +15 -15
- data/app/assets/stylesheets/rails_marketplace/fonts/less/rotated-flipped.less +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/less/spinning.less +29 -29
- data/app/assets/stylesheets/rails_marketplace/fonts/less/stacked.less +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/less/variables.less +708 -708
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_animated.scss +34 -34
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_bordered-pulled.scss +25 -25
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_core.scss +12 -12
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_fixed-width.scss +6 -6
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_icons.scss +697 -697
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_larger.scss +13 -13
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_list.scss +19 -19
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_mixins.scss +26 -26
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_path.scss +15 -15
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_rotated-flipped.scss +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_spinning.scss +29 -29
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_stacked.scss +20 -20
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/_variables.scss +708 -708
- data/app/assets/stylesheets/rails_marketplace/fonts/scss/font-awesome.scss +17 -17
- data/app/assets/stylesheets/rails_marketplace/images/loading.gif +0 -0
- data/app/assets/stylesheets/rails_marketplace/marketplace.scss +19 -19
- data/app/assets/stylesheets/rails_marketplace/pace.css +76 -76
- data/app/assets/stylesheets/rails_marketplace/welcome.scss +3 -3
- data/app/assets/stylesheets/scaffold.css +56 -56
- data/app/controllers/rails_marketplace/admin_controller.rb +150 -150
- data/app/controllers/rails_marketplace/application_controller.rb +4 -4
- data/app/controllers/rails_marketplace/catalog_controller.rb +171 -171
- data/app/controllers/rails_marketplace/seller_controller.rb +180 -180
- data/app/helpers/rails_marketplace/admin_helper.rb +16 -16
- data/app/helpers/rails_marketplace/application_helper.rb +4 -4
- data/app/helpers/rails_marketplace/catalog_helper.rb +4 -4
- data/app/helpers/rails_marketplace/plainpage_helper.rb +4 -4
- data/app/helpers/rails_marketplace/seller_helper.rb +15 -15
- data/app/models/rails_marketplace/admin.rb +9 -9
- data/app/models/rails_marketplace/admin_setting.rb +13 -13
- data/app/models/rails_marketplace/cart.rb +48 -48
- data/app/models/rails_marketplace/cart_product.rb +6 -6
- data/app/models/rails_marketplace/category.rb +21 -21
- data/app/models/rails_marketplace/category_product.rb +5 -5
- data/app/models/rails_marketplace/customer.rb +5 -5
- data/app/models/rails_marketplace/order.rb +21 -21
- data/app/models/rails_marketplace/order_product.rb +6 -6
- data/app/models/rails_marketplace/product.rb +33 -33
- data/app/models/rails_marketplace/seller.rb +12 -12
- data/app/models/rails_marketplace/seller_setting.rb +5 -5
- data/app/views/layouts/rails_marketplace/application.html.erb +37 -37
- data/app/views/layouts/rails_marketplace/seller_central.html.erb +58 -58
- data/app/views/layouts/rails_marketplace/super_admin.html.erb +58 -58
- data/app/views/rails_marketplace/admin/add_category.html.erb +63 -63
- data/app/views/rails_marketplace/admin/categories.html.erb +50 -50
- data/app/views/rails_marketplace/admin/category_products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/dashboard.html.erb +49 -49
- data/app/views/rails_marketplace/admin/edit_category.html.erb +63 -63
- data/app/views/rails_marketplace/admin/login_form.html.erb +19 -19
- data/app/views/rails_marketplace/admin/products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/seller_products.html.erb +54 -54
- data/app/views/rails_marketplace/admin/sellers.html.erb +48 -48
- data/app/views/rails_marketplace/admin/settings_form.html.erb +38 -38
- data/app/views/rails_marketplace/admin/signup_form.html.erb +24 -24
- data/app/views/rails_marketplace/catalog/cart.html.erb +80 -80
- data/app/views/rails_marketplace/catalog/category_products.html.erb +52 -52
- data/app/views/rails_marketplace/catalog/checkout.html.erb +207 -207
- data/app/views/rails_marketplace/catalog/checkout_success.html.erb +14 -14
- data/app/views/rails_marketplace/catalog/index.html.erb +0 -0
- data/app/views/rails_marketplace/catalog/product_detail.html.erb +87 -87
- data/app/views/rails_marketplace/partials/_admin_sidenav.html.erb +80 -80
- data/app/views/rails_marketplace/partials/_admin_topnav.html.erb +111 -111
- data/app/views/rails_marketplace/partials/_footer.html.erb +19 -19
- data/app/views/rails_marketplace/partials/_menu.html.erb +41 -41
- data/app/views/rails_marketplace/partials/_sidenav.html.erb +77 -77
- data/app/views/rails_marketplace/partials/_topnav.html.erb +105 -105
- data/app/views/rails_marketplace/seller/add_bulk_products.html.erb +0 -0
- data/app/views/rails_marketplace/seller/add_product.html.erb +66 -66
- data/app/views/rails_marketplace/seller/dashboard.html.erb +50 -50
- data/app/views/rails_marketplace/seller/edit_product.html.erb +68 -68
- data/app/views/rails_marketplace/seller/login_form.html.erb +36 -36
- data/app/views/rails_marketplace/seller/order_details.html.erb +69 -69
- data/app/views/rails_marketplace/seller/orders.html.erb +68 -68
- data/app/views/rails_marketplace/seller/products.html.erb +55 -55
- data/app/views/rails_marketplace/seller/settings_general.html.erb +64 -64
- data/app/views/rails_marketplace/seller/settings_payment.html.erb +34 -34
- data/app/views/rails_marketplace/seller/settings_shipping.html.erb +34 -34
- data/app/views/rails_marketplace/seller/settings_tax.html.erb +34 -34
- data/app/views/rails_marketplace/seller/signup_form.html.erb +27 -27
- data/app/views/rails_marketplace/seller/step_two.html.erb +16 -16
- data/app/views/rails_marketplace/shared/_admin_error_messages.html.erb +11 -11
- data/app/views/rails_marketplace/shared/_product_error_messages.html.erb +11 -11
- data/app/views/rails_marketplace/shared/_seller_error_messages.html.erb +11 -11
- data/config/routes.rb +58 -58
- data/db/migrate/20161013194852_create_sellers.rb +13 -13
- data/db/migrate/20161013195006_create_customers.rb +13 -13
- data/db/migrate/20161013195758_create_orders.rb +8 -8
- data/db/migrate/20161014013032_create_category_products.rb +10 -10
- data/db/migrate/20161014013058_create_order_products.rb +13 -13
- data/db/migrate/20161017185755_create_admins.rb +12 -12
- data/db/migrate/20161017232347_create_products.rb +14 -14
- data/db/migrate/20161019012043_add_reference_product_seller.rb +5 -5
- data/db/migrate/20161019013502_change_data_type_images_files.rb +6 -6
- data/db/migrate/20161019022020_add_reference_order_customers.rb +5 -5
- data/db/migrate/20161109191644_create_categories.rb +15 -15
- data/db/migrate/20161110021043_create_friendly_id_slugs.rb +15 -15
- data/db/migrate/20161110021131_add_slug_to_category.rb +6 -6
- data/db/migrate/20161110024118_add_slug_to_product.rb +6 -6
- data/db/migrate/20161111001446_create_carts.rb +8 -8
- data/db/migrate/20161111004451_create_cart_products.rb +12 -12
- data/db/migrate/20161115013956_add_currency_format_to_price.rb +6 -6
- data/db/migrate/20161115015227_monetize_product.rb +5 -5
- data/db/migrate/20161115032905_add_stripe_key_to_admin.rb +6 -6
- data/db/migrate/20161124015608_add_order_fields.rb +16 -16
- data/db/migrate/20161207193917_add_seller_to_orders.rb +6 -6
- data/db/migrate/20161208012601_add_price_to_cart_products.rb +6 -6
- data/db/migrate/20161208013402_add_money_to_cart_products.rb +6 -6
- data/db/migrate/20170217183953_create_seller_settings.rb +29 -29
- data/db/migrate/20170218003202_create_admin_settings.rb +24 -24
- data/db/migrate/20170224230449_create_stripe_managed_accounts.rb +9 -9
- data/db/migrate/20170224233736_add_stripe_to_admin_settings.rb +9 -9
- data/db/migrate/20170224235259_add_id_to_settings.rb +6 -6
- data/db/migrate/20170225002939_delete_stripe_accounts.rb +8 -8
- data/db/migrate/20170225003252_add_stripe_account_id_to_seller_settings.rb +5 -5
- data/lib/rails_marketplace.rb +4 -4
- data/lib/rails_marketplace/engine.rb +9 -9
- data/lib/rails_marketplace/version.rb +3 -3
- data/lib/tasks/rails_marketplace_tasks.rake +4 -4
- data/spec/controllers/rails_marketplace/catalog_controller_spec.rb +75 -75
- data/spec/dummy/README.rdoc +28 -28
- data/spec/dummy/Rakefile +6 -6
- data/spec/dummy/app/assets/javascripts/application.js +13 -13
- data/spec/dummy/app/assets/stylesheets/application.css +15 -15
- data/spec/dummy/app/controllers/application_controller.rb +5 -5
- data/spec/dummy/app/helpers/application_helper.rb +2 -2
- data/spec/dummy/app/views/layouts/application.html.erb +14 -14
- data/spec/dummy/bin/bundle +3 -3
- data/spec/dummy/bin/rails +4 -4
- data/spec/dummy/bin/rake +4 -4
- data/spec/dummy/bin/setup +29 -29
- data/spec/dummy/config.ru +4 -4
- data/spec/dummy/config/application.rb +32 -32
- data/spec/dummy/config/boot.rb +5 -5
- data/spec/dummy/config/database.yml +25 -25
- data/spec/dummy/config/environment.rb +5 -5
- data/spec/dummy/config/environments/development.rb +41 -41
- data/spec/dummy/config/environments/production.rb +79 -79
- data/spec/dummy/config/environments/test.rb +42 -42
- data/spec/dummy/config/initializers/assets.rb +11 -11
- data/spec/dummy/config/initializers/backtrace_silencers.rb +7 -7
- data/spec/dummy/config/initializers/cookies_serializer.rb +3 -3
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +4 -4
- data/spec/dummy/config/initializers/inflections.rb +16 -16
- data/spec/dummy/config/initializers/mime_types.rb +4 -4
- data/spec/dummy/config/initializers/session_store.rb +3 -3
- data/spec/dummy/config/initializers/wrap_parameters.rb +14 -14
- data/spec/dummy/config/locales/en.yml +23 -23
- data/spec/dummy/config/routes.rb +4 -4
- data/spec/dummy/config/secrets.yml +22 -22
- data/spec/dummy/db/schema.rb +194 -194
- data/spec/dummy/log/development.log +889 -889
- data/spec/dummy/log/test.log +1229 -1229
- data/spec/dummy/public/404.html +67 -67
- data/spec/dummy/public/422.html +67 -67
- data/spec/dummy/public/500.html +66 -66
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/helpers/rails_marketplace/catalog_helper_spec.rb +17 -17
- data/spec/routing/rails_marketplace/catalog_routing_spec.rb +44 -44
- data/spec/spec_helper.rb +44 -44
- data/spec/views/rails_marketplace/catalog/edit.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/index.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/new.html.erb_spec.rb +15 -15
- data/spec/views/rails_marketplace/catalog/show.html.erb_spec.rb +12 -12
- metadata +37 -38
@@ -1,221 +1,221 @@
|
|
1
|
-
|
2
|
-
/*
|
3
|
-
* Table
|
4
|
-
*/
|
5
|
-
table.dataTable {
|
6
|
-
margin: 0 auto;
|
7
|
-
clear: both;
|
8
|
-
width: 100%;
|
9
|
-
}
|
10
|
-
|
11
|
-
table.dataTable thead th {
|
12
|
-
padding: 3px 18px 3px 10px;
|
13
|
-
border-bottom: 1px solid black;
|
14
|
-
font-weight: bold;
|
15
|
-
cursor: pointer;
|
16
|
-
*cursor: hand;
|
17
|
-
}
|
18
|
-
|
19
|
-
table.dataTable tfoot th {
|
20
|
-
padding: 3px 18px 3px 10px;
|
21
|
-
border-top: 1px solid black;
|
22
|
-
font-weight: bold;
|
23
|
-
}
|
24
|
-
|
25
|
-
table.dataTable td {
|
26
|
-
padding: 3px 10px;
|
27
|
-
}
|
28
|
-
|
29
|
-
table.dataTable td.center,
|
30
|
-
table.dataTable td.dataTables_empty {
|
31
|
-
text-align: center;
|
32
|
-
}
|
33
|
-
|
34
|
-
table.dataTable tr.odd { background-color: #E2E4FF; }
|
35
|
-
table.dataTable tr.even { background-color: white; }
|
36
|
-
|
37
|
-
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
|
38
|
-
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
|
39
|
-
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
|
40
|
-
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
|
41
|
-
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
|
42
|
-
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
|
43
|
-
|
44
|
-
|
45
|
-
/*
|
46
|
-
* Table wrapper
|
47
|
-
*/
|
48
|
-
.dataTables_wrapper {
|
49
|
-
position: relative;
|
50
|
-
clear: both;
|
51
|
-
*zoom: 1;
|
52
|
-
}
|
53
|
-
|
54
|
-
|
55
|
-
/*
|
56
|
-
* Page length menu
|
57
|
-
*/
|
58
|
-
.dataTables_length {
|
59
|
-
float: left;
|
60
|
-
}
|
61
|
-
|
62
|
-
|
63
|
-
/*
|
64
|
-
* Filter
|
65
|
-
*/
|
66
|
-
.dataTables_filter {
|
67
|
-
float: right;
|
68
|
-
text-align: right;
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
/*
|
73
|
-
* Table information
|
74
|
-
*/
|
75
|
-
.dataTables_info {
|
76
|
-
clear: both;
|
77
|
-
float: left;
|
78
|
-
}
|
79
|
-
|
80
|
-
|
81
|
-
/*
|
82
|
-
* Pagination
|
83
|
-
*/
|
84
|
-
.dataTables_paginate {
|
85
|
-
float: right;
|
86
|
-
text-align: right;
|
87
|
-
}
|
88
|
-
|
89
|
-
/* Two button pagination - previous / next */
|
90
|
-
.paginate_disabled_previous,
|
91
|
-
.paginate_enabled_previous,
|
92
|
-
.paginate_disabled_next,
|
93
|
-
.paginate_enabled_next {
|
94
|
-
height: 19px;
|
95
|
-
float: left;
|
96
|
-
cursor: pointer;
|
97
|
-
*cursor: hand;
|
98
|
-
color: #111 !important;
|
99
|
-
}
|
100
|
-
.paginate_disabled_previous:hover,
|
101
|
-
.paginate_enabled_previous:hover,
|
102
|
-
.paginate_disabled_next:hover,
|
103
|
-
.paginate_enabled_next:hover {
|
104
|
-
text-decoration: none !important;
|
105
|
-
}
|
106
|
-
.paginate_disabled_previous:active,
|
107
|
-
.paginate_enabled_previous:active,
|
108
|
-
.paginate_disabled_next:active,
|
109
|
-
.paginate_enabled_next:active {
|
110
|
-
outline: none;
|
111
|
-
}
|
112
|
-
|
113
|
-
.paginate_disabled_previous,
|
114
|
-
.paginate_disabled_next {
|
115
|
-
color: #666 !important;
|
116
|
-
}
|
117
|
-
.paginate_disabled_previous,
|
118
|
-
.paginate_enabled_previous {
|
119
|
-
padding-left: 23px;
|
120
|
-
}
|
121
|
-
.paginate_disabled_next,
|
122
|
-
.paginate_enabled_next {
|
123
|
-
padding-right: 23px;
|
124
|
-
margin-left: 10px;
|
125
|
-
}
|
126
|
-
|
127
|
-
.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
|
128
|
-
.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
|
129
|
-
.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
|
130
|
-
|
131
|
-
.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
|
132
|
-
.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
|
133
|
-
.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
|
134
|
-
|
135
|
-
/* Full number pagination */
|
136
|
-
.paging_full_numbers {
|
137
|
-
height: 22px;
|
138
|
-
line-height: 22px;
|
139
|
-
}
|
140
|
-
.paging_full_numbers a:active {
|
141
|
-
outline: none
|
142
|
-
}
|
143
|
-
.paging_full_numbers a:hover {
|
144
|
-
text-decoration: none;
|
145
|
-
}
|
146
|
-
|
147
|
-
.paging_full_numbers a.paginate_button,
|
148
|
-
.paging_full_numbers a.paginate_active {
|
149
|
-
border: 1px solid #aaa;
|
150
|
-
-webkit-border-radius: 5px;
|
151
|
-
-moz-border-radius: 5px;
|
152
|
-
border-radius: 5px;
|
153
|
-
padding: 2px 5px;
|
154
|
-
margin: 0 3px;
|
155
|
-
cursor: pointer;
|
156
|
-
*cursor: hand;
|
157
|
-
color: #333 !important;
|
158
|
-
}
|
159
|
-
|
160
|
-
.paging_full_numbers a.paginate_button {
|
161
|
-
background-color: #ddd;
|
162
|
-
}
|
163
|
-
|
164
|
-
.paging_full_numbers a.paginate_button:hover {
|
165
|
-
background-color: #ccc;
|
166
|
-
text-decoration: none !important;
|
167
|
-
}
|
168
|
-
|
169
|
-
.paging_full_numbers a.paginate_active {
|
170
|
-
background-color: #99B3FF;
|
171
|
-
}
|
172
|
-
|
173
|
-
|
174
|
-
/*
|
175
|
-
* Processing indicator
|
176
|
-
*/
|
177
|
-
.dataTables_processing {
|
178
|
-
position: absolute;
|
179
|
-
top: 50%;
|
180
|
-
left: 50%;
|
181
|
-
width: 250px;
|
182
|
-
height: 30px;
|
183
|
-
margin-left: -125px;
|
184
|
-
margin-top: -15px;
|
185
|
-
padding: 14px 0 2px 0;
|
186
|
-
border: 1px solid #ddd;
|
187
|
-
text-align: center;
|
188
|
-
color: #999;
|
189
|
-
font-size: 14px;
|
190
|
-
background-color: white;
|
191
|
-
}
|
192
|
-
|
193
|
-
|
194
|
-
/*
|
195
|
-
* Sorting
|
196
|
-
*/
|
197
|
-
.sorting { background: url('../images/sort_both.png') no-repeat center right; }
|
198
|
-
.sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
|
199
|
-
.sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
|
200
|
-
|
201
|
-
.sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
|
202
|
-
.sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }
|
203
|
-
|
204
|
-
table.dataTable thead th:active,
|
205
|
-
table.dataTable thead td:active {
|
206
|
-
outline: none;
|
207
|
-
}
|
208
|
-
|
209
|
-
|
210
|
-
/*
|
211
|
-
* Scrolling
|
212
|
-
*/
|
213
|
-
.dataTables_scroll {
|
214
|
-
clear: both;
|
215
|
-
}
|
216
|
-
|
217
|
-
.dataTables_scrollBody {
|
218
|
-
*margin-top: -1px;
|
219
|
-
-webkit-overflow-scrolling: touch;
|
220
|
-
}
|
221
|
-
|
1
|
+
|
2
|
+
/*
|
3
|
+
* Table
|
4
|
+
*/
|
5
|
+
table.dataTable {
|
6
|
+
margin: 0 auto;
|
7
|
+
clear: both;
|
8
|
+
width: 100%;
|
9
|
+
}
|
10
|
+
|
11
|
+
table.dataTable thead th {
|
12
|
+
padding: 3px 18px 3px 10px;
|
13
|
+
border-bottom: 1px solid black;
|
14
|
+
font-weight: bold;
|
15
|
+
cursor: pointer;
|
16
|
+
*cursor: hand;
|
17
|
+
}
|
18
|
+
|
19
|
+
table.dataTable tfoot th {
|
20
|
+
padding: 3px 18px 3px 10px;
|
21
|
+
border-top: 1px solid black;
|
22
|
+
font-weight: bold;
|
23
|
+
}
|
24
|
+
|
25
|
+
table.dataTable td {
|
26
|
+
padding: 3px 10px;
|
27
|
+
}
|
28
|
+
|
29
|
+
table.dataTable td.center,
|
30
|
+
table.dataTable td.dataTables_empty {
|
31
|
+
text-align: center;
|
32
|
+
}
|
33
|
+
|
34
|
+
table.dataTable tr.odd { background-color: #E2E4FF; }
|
35
|
+
table.dataTable tr.even { background-color: white; }
|
36
|
+
|
37
|
+
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
|
38
|
+
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
|
39
|
+
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
|
40
|
+
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
|
41
|
+
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
|
42
|
+
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
|
43
|
+
|
44
|
+
|
45
|
+
/*
|
46
|
+
* Table wrapper
|
47
|
+
*/
|
48
|
+
.dataTables_wrapper {
|
49
|
+
position: relative;
|
50
|
+
clear: both;
|
51
|
+
*zoom: 1;
|
52
|
+
}
|
53
|
+
|
54
|
+
|
55
|
+
/*
|
56
|
+
* Page length menu
|
57
|
+
*/
|
58
|
+
.dataTables_length {
|
59
|
+
float: left;
|
60
|
+
}
|
61
|
+
|
62
|
+
|
63
|
+
/*
|
64
|
+
* Filter
|
65
|
+
*/
|
66
|
+
.dataTables_filter {
|
67
|
+
float: right;
|
68
|
+
text-align: right;
|
69
|
+
}
|
70
|
+
|
71
|
+
|
72
|
+
/*
|
73
|
+
* Table information
|
74
|
+
*/
|
75
|
+
.dataTables_info {
|
76
|
+
clear: both;
|
77
|
+
float: left;
|
78
|
+
}
|
79
|
+
|
80
|
+
|
81
|
+
/*
|
82
|
+
* Pagination
|
83
|
+
*/
|
84
|
+
.dataTables_paginate {
|
85
|
+
float: right;
|
86
|
+
text-align: right;
|
87
|
+
}
|
88
|
+
|
89
|
+
/* Two button pagination - previous / next */
|
90
|
+
.paginate_disabled_previous,
|
91
|
+
.paginate_enabled_previous,
|
92
|
+
.paginate_disabled_next,
|
93
|
+
.paginate_enabled_next {
|
94
|
+
height: 19px;
|
95
|
+
float: left;
|
96
|
+
cursor: pointer;
|
97
|
+
*cursor: hand;
|
98
|
+
color: #111 !important;
|
99
|
+
}
|
100
|
+
.paginate_disabled_previous:hover,
|
101
|
+
.paginate_enabled_previous:hover,
|
102
|
+
.paginate_disabled_next:hover,
|
103
|
+
.paginate_enabled_next:hover {
|
104
|
+
text-decoration: none !important;
|
105
|
+
}
|
106
|
+
.paginate_disabled_previous:active,
|
107
|
+
.paginate_enabled_previous:active,
|
108
|
+
.paginate_disabled_next:active,
|
109
|
+
.paginate_enabled_next:active {
|
110
|
+
outline: none;
|
111
|
+
}
|
112
|
+
|
113
|
+
.paginate_disabled_previous,
|
114
|
+
.paginate_disabled_next {
|
115
|
+
color: #666 !important;
|
116
|
+
}
|
117
|
+
.paginate_disabled_previous,
|
118
|
+
.paginate_enabled_previous {
|
119
|
+
padding-left: 23px;
|
120
|
+
}
|
121
|
+
.paginate_disabled_next,
|
122
|
+
.paginate_enabled_next {
|
123
|
+
padding-right: 23px;
|
124
|
+
margin-left: 10px;
|
125
|
+
}
|
126
|
+
|
127
|
+
.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
|
128
|
+
.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
|
129
|
+
.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
|
130
|
+
|
131
|
+
.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
|
132
|
+
.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
|
133
|
+
.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
|
134
|
+
|
135
|
+
/* Full number pagination */
|
136
|
+
.paging_full_numbers {
|
137
|
+
height: 22px;
|
138
|
+
line-height: 22px;
|
139
|
+
}
|
140
|
+
.paging_full_numbers a:active {
|
141
|
+
outline: none
|
142
|
+
}
|
143
|
+
.paging_full_numbers a:hover {
|
144
|
+
text-decoration: none;
|
145
|
+
}
|
146
|
+
|
147
|
+
.paging_full_numbers a.paginate_button,
|
148
|
+
.paging_full_numbers a.paginate_active {
|
149
|
+
border: 1px solid #aaa;
|
150
|
+
-webkit-border-radius: 5px;
|
151
|
+
-moz-border-radius: 5px;
|
152
|
+
border-radius: 5px;
|
153
|
+
padding: 2px 5px;
|
154
|
+
margin: 0 3px;
|
155
|
+
cursor: pointer;
|
156
|
+
*cursor: hand;
|
157
|
+
color: #333 !important;
|
158
|
+
}
|
159
|
+
|
160
|
+
.paging_full_numbers a.paginate_button {
|
161
|
+
background-color: #ddd;
|
162
|
+
}
|
163
|
+
|
164
|
+
.paging_full_numbers a.paginate_button:hover {
|
165
|
+
background-color: #ccc;
|
166
|
+
text-decoration: none !important;
|
167
|
+
}
|
168
|
+
|
169
|
+
.paging_full_numbers a.paginate_active {
|
170
|
+
background-color: #99B3FF;
|
171
|
+
}
|
172
|
+
|
173
|
+
|
174
|
+
/*
|
175
|
+
* Processing indicator
|
176
|
+
*/
|
177
|
+
.dataTables_processing {
|
178
|
+
position: absolute;
|
179
|
+
top: 50%;
|
180
|
+
left: 50%;
|
181
|
+
width: 250px;
|
182
|
+
height: 30px;
|
183
|
+
margin-left: -125px;
|
184
|
+
margin-top: -15px;
|
185
|
+
padding: 14px 0 2px 0;
|
186
|
+
border: 1px solid #ddd;
|
187
|
+
text-align: center;
|
188
|
+
color: #999;
|
189
|
+
font-size: 14px;
|
190
|
+
background-color: white;
|
191
|
+
}
|
192
|
+
|
193
|
+
|
194
|
+
/*
|
195
|
+
* Sorting
|
196
|
+
*/
|
197
|
+
.sorting { background: url('../images/sort_both.png') no-repeat center right; }
|
198
|
+
.sorting_asc { background: url('../images/sort_asc.png') no-repeat center right; }
|
199
|
+
.sorting_desc { background: url('../images/sort_desc.png') no-repeat center right; }
|
200
|
+
|
201
|
+
.sorting_asc_disabled { background: url('../images/sort_asc_disabled.png') no-repeat center right; }
|
202
|
+
.sorting_desc_disabled { background: url('../images/sort_desc_disabled.png') no-repeat center right; }
|
203
|
+
|
204
|
+
table.dataTable thead th:active,
|
205
|
+
table.dataTable thead td:active {
|
206
|
+
outline: none;
|
207
|
+
}
|
208
|
+
|
209
|
+
|
210
|
+
/*
|
211
|
+
* Scrolling
|
212
|
+
*/
|
213
|
+
.dataTables_scroll {
|
214
|
+
clear: both;
|
215
|
+
}
|
216
|
+
|
217
|
+
.dataTables_scrollBody {
|
218
|
+
*margin-top: -1px;
|
219
|
+
-webkit-overflow-scrolling: touch;
|
220
|
+
}
|
221
|
+
|
data/app/assets/stylesheets/rails_marketplace/css/datatables/css/jquery.dataTables_themeroller.css
CHANGED
@@ -1,244 +1,244 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
/*
|
4
|
-
* Table
|
5
|
-
*/
|
6
|
-
table.dataTable {
|
7
|
-
margin: 0 auto;
|
8
|
-
clear: both;
|
9
|
-
width: 100%;
|
10
|
-
border-collapse: collapse;
|
11
|
-
}
|
12
|
-
|
13
|
-
table.dataTable thead th {
|
14
|
-
padding: 3px 0px 3px 10px;
|
15
|
-
cursor: pointer;
|
16
|
-
*cursor: hand;
|
17
|
-
}
|
18
|
-
|
19
|
-
table.dataTable tfoot th {
|
20
|
-
padding: 3px 10px;
|
21
|
-
}
|
22
|
-
|
23
|
-
table.dataTable td {
|
24
|
-
padding: 3px 10px;
|
25
|
-
}
|
26
|
-
|
27
|
-
table.dataTable td.center,
|
28
|
-
table.dataTable td.dataTables_empty {
|
29
|
-
text-align: center;
|
30
|
-
}
|
31
|
-
|
32
|
-
table.dataTable tr.odd { background-color: #E2E4FF; }
|
33
|
-
table.dataTable tr.even { background-color: white; }
|
34
|
-
|
35
|
-
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
|
36
|
-
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
|
37
|
-
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
|
38
|
-
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
|
39
|
-
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
|
40
|
-
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
|
41
|
-
|
42
|
-
|
43
|
-
/*
|
44
|
-
* Table wrapper
|
45
|
-
*/
|
46
|
-
.dataTables_wrapper {
|
47
|
-
position: relative;
|
48
|
-
clear: both;
|
49
|
-
*zoom: 1;
|
50
|
-
}
|
51
|
-
.dataTables_wrapper .ui-widget-header {
|
52
|
-
font-weight: normal;
|
53
|
-
}
|
54
|
-
.dataTables_wrapper .ui-toolbar {
|
55
|
-
padding: 5px;
|
56
|
-
}
|
57
|
-
|
58
|
-
|
59
|
-
/*
|
60
|
-
* Page length menu
|
61
|
-
*/
|
62
|
-
.dataTables_length {
|
63
|
-
float: left;
|
64
|
-
}
|
65
|
-
|
66
|
-
|
67
|
-
/*
|
68
|
-
* Filter
|
69
|
-
*/
|
70
|
-
.dataTables_filter {
|
71
|
-
float: right;
|
72
|
-
text-align: right;
|
73
|
-
}
|
74
|
-
|
75
|
-
|
76
|
-
/*
|
77
|
-
* Table information
|
78
|
-
*/
|
79
|
-
.dataTables_info {
|
80
|
-
padding-top: 3px;
|
81
|
-
clear: both;
|
82
|
-
float: left;
|
83
|
-
}
|
84
|
-
|
85
|
-
|
86
|
-
/*
|
87
|
-
* Pagination
|
88
|
-
*/
|
89
|
-
.dataTables_paginate {
|
90
|
-
float: right;
|
91
|
-
text-align: right;
|
92
|
-
}
|
93
|
-
|
94
|
-
.dataTables_paginate .ui-button {
|
95
|
-
margin-right: -0.1em !important;
|
96
|
-
}
|
97
|
-
|
98
|
-
.paging_two_button .ui-button {
|
99
|
-
float: left;
|
100
|
-
cursor: pointer;
|
101
|
-
* cursor: hand;
|
102
|
-
}
|
103
|
-
|
104
|
-
.paging_full_numbers .ui-button {
|
105
|
-
padding: 2px 6px;
|
106
|
-
margin: 0;
|
107
|
-
cursor: pointer;
|
108
|
-
* cursor: hand;
|
109
|
-
color: #333 !important;
|
110
|
-
}
|
111
|
-
|
112
|
-
/* Two button pagination - previous / next */
|
113
|
-
.paginate_disabled_previous,
|
114
|
-
.paginate_enabled_previous,
|
115
|
-
.paginate_disabled_next,
|
116
|
-
.paginate_enabled_next {
|
117
|
-
height: 19px;
|
118
|
-
float: left;
|
119
|
-
cursor: pointer;
|
120
|
-
*cursor: hand;
|
121
|
-
color: #111 !important;
|
122
|
-
}
|
123
|
-
.paginate_disabled_previous:hover,
|
124
|
-
.paginate_enabled_previous:hover,
|
125
|
-
.paginate_disabled_next:hover,
|
126
|
-
.paginate_enabled_next:hover {
|
127
|
-
text-decoration: none !important;
|
128
|
-
}
|
129
|
-
.paginate_disabled_previous:active,
|
130
|
-
.paginate_enabled_previous:active,
|
131
|
-
.paginate_disabled_next:active,
|
132
|
-
.paginate_enabled_next:active {
|
133
|
-
outline: none;
|
134
|
-
}
|
135
|
-
|
136
|
-
.paginate_disabled_previous,
|
137
|
-
.paginate_disabled_next {
|
138
|
-
color: #666 !important;
|
139
|
-
}
|
140
|
-
.paginate_disabled_previous,
|
141
|
-
.paginate_enabled_previous {
|
142
|
-
padding-left: 23px;
|
143
|
-
}
|
144
|
-
.paginate_disabled_next,
|
145
|
-
.paginate_enabled_next {
|
146
|
-
padding-right: 23px;
|
147
|
-
margin-left: 10px;
|
148
|
-
}
|
149
|
-
|
150
|
-
.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
|
151
|
-
.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
|
152
|
-
.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
|
153
|
-
|
154
|
-
.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
|
155
|
-
.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
|
156
|
-
.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
|
157
|
-
|
158
|
-
/* Full number pagination */
|
159
|
-
.paging_full_numbers a:active {
|
160
|
-
outline: none
|
161
|
-
}
|
162
|
-
.paging_full_numbers a:hover {
|
163
|
-
text-decoration: none;
|
164
|
-
}
|
165
|
-
|
166
|
-
.paging_full_numbers a.paginate_button,
|
167
|
-
.paging_full_numbers a.paginate_active {
|
168
|
-
border: 1px solid #aaa;
|
169
|
-
-webkit-border-radius: 5px;
|
170
|
-
-moz-border-radius: 5px;
|
171
|
-
border-radius: 5px;
|
172
|
-
padding: 2px 5px;
|
173
|
-
margin: 0 3px;
|
174
|
-
cursor: pointer;
|
175
|
-
*cursor: hand;
|
176
|
-
color: #333 !important;
|
177
|
-
}
|
178
|
-
|
179
|
-
.paging_full_numbers a.paginate_button {
|
180
|
-
background-color: #ddd;
|
181
|
-
}
|
182
|
-
|
183
|
-
.paging_full_numbers a.paginate_button:hover {
|
184
|
-
background-color: #ccc;
|
185
|
-
text-decoration: none !important;
|
186
|
-
}
|
187
|
-
|
188
|
-
.paging_full_numbers a.paginate_active {
|
189
|
-
background-color: #99B3FF;
|
190
|
-
}
|
191
|
-
|
192
|
-
|
193
|
-
/*
|
194
|
-
* Processing indicator
|
195
|
-
*/
|
196
|
-
.dataTables_processing {
|
197
|
-
position: absolute;
|
198
|
-
top: 50%;
|
199
|
-
left: 50%;
|
200
|
-
width: 250px;
|
201
|
-
height: 30px;
|
202
|
-
margin-left: -125px;
|
203
|
-
margin-top: -15px;
|
204
|
-
padding: 14px 0 2px 0;
|
205
|
-
border: 1px solid #ddd;
|
206
|
-
text-align: center;
|
207
|
-
color: #999;
|
208
|
-
font-size: 14px;
|
209
|
-
background-color: white;
|
210
|
-
}
|
211
|
-
|
212
|
-
|
213
|
-
/*
|
214
|
-
* Sorting
|
215
|
-
*/
|
216
|
-
table.dataTable thead th div.DataTables_sort_wrapper {
|
217
|
-
position: relative;
|
218
|
-
padding-right: 20px;
|
219
|
-
}
|
220
|
-
|
221
|
-
table.dataTable thead th div.DataTables_sort_wrapper span {
|
222
|
-
position: absolute;
|
223
|
-
top: 50%;
|
224
|
-
margin-top: -8px;
|
225
|
-
right: 0;
|
226
|
-
}
|
227
|
-
|
228
|
-
table.dataTable th:active {
|
229
|
-
outline: none;
|
230
|
-
}
|
231
|
-
|
232
|
-
|
233
|
-
/*
|
234
|
-
* Scrolling
|
235
|
-
*/
|
236
|
-
.dataTables_scroll {
|
237
|
-
clear: both;
|
238
|
-
}
|
239
|
-
|
240
|
-
.dataTables_scrollBody {
|
241
|
-
*margin-top: -1px;
|
242
|
-
-webkit-overflow-scrolling: touch;
|
243
|
-
}
|
244
|
-
|
1
|
+
|
2
|
+
|
3
|
+
/*
|
4
|
+
* Table
|
5
|
+
*/
|
6
|
+
table.dataTable {
|
7
|
+
margin: 0 auto;
|
8
|
+
clear: both;
|
9
|
+
width: 100%;
|
10
|
+
border-collapse: collapse;
|
11
|
+
}
|
12
|
+
|
13
|
+
table.dataTable thead th {
|
14
|
+
padding: 3px 0px 3px 10px;
|
15
|
+
cursor: pointer;
|
16
|
+
*cursor: hand;
|
17
|
+
}
|
18
|
+
|
19
|
+
table.dataTable tfoot th {
|
20
|
+
padding: 3px 10px;
|
21
|
+
}
|
22
|
+
|
23
|
+
table.dataTable td {
|
24
|
+
padding: 3px 10px;
|
25
|
+
}
|
26
|
+
|
27
|
+
table.dataTable td.center,
|
28
|
+
table.dataTable td.dataTables_empty {
|
29
|
+
text-align: center;
|
30
|
+
}
|
31
|
+
|
32
|
+
table.dataTable tr.odd { background-color: #E2E4FF; }
|
33
|
+
table.dataTable tr.even { background-color: white; }
|
34
|
+
|
35
|
+
table.dataTable tr.odd td.sorting_1 { background-color: #D3D6FF; }
|
36
|
+
table.dataTable tr.odd td.sorting_2 { background-color: #DADCFF; }
|
37
|
+
table.dataTable tr.odd td.sorting_3 { background-color: #E0E2FF; }
|
38
|
+
table.dataTable tr.even td.sorting_1 { background-color: #EAEBFF; }
|
39
|
+
table.dataTable tr.even td.sorting_2 { background-color: #F2F3FF; }
|
40
|
+
table.dataTable tr.even td.sorting_3 { background-color: #F9F9FF; }
|
41
|
+
|
42
|
+
|
43
|
+
/*
|
44
|
+
* Table wrapper
|
45
|
+
*/
|
46
|
+
.dataTables_wrapper {
|
47
|
+
position: relative;
|
48
|
+
clear: both;
|
49
|
+
*zoom: 1;
|
50
|
+
}
|
51
|
+
.dataTables_wrapper .ui-widget-header {
|
52
|
+
font-weight: normal;
|
53
|
+
}
|
54
|
+
.dataTables_wrapper .ui-toolbar {
|
55
|
+
padding: 5px;
|
56
|
+
}
|
57
|
+
|
58
|
+
|
59
|
+
/*
|
60
|
+
* Page length menu
|
61
|
+
*/
|
62
|
+
.dataTables_length {
|
63
|
+
float: left;
|
64
|
+
}
|
65
|
+
|
66
|
+
|
67
|
+
/*
|
68
|
+
* Filter
|
69
|
+
*/
|
70
|
+
.dataTables_filter {
|
71
|
+
float: right;
|
72
|
+
text-align: right;
|
73
|
+
}
|
74
|
+
|
75
|
+
|
76
|
+
/*
|
77
|
+
* Table information
|
78
|
+
*/
|
79
|
+
.dataTables_info {
|
80
|
+
padding-top: 3px;
|
81
|
+
clear: both;
|
82
|
+
float: left;
|
83
|
+
}
|
84
|
+
|
85
|
+
|
86
|
+
/*
|
87
|
+
* Pagination
|
88
|
+
*/
|
89
|
+
.dataTables_paginate {
|
90
|
+
float: right;
|
91
|
+
text-align: right;
|
92
|
+
}
|
93
|
+
|
94
|
+
.dataTables_paginate .ui-button {
|
95
|
+
margin-right: -0.1em !important;
|
96
|
+
}
|
97
|
+
|
98
|
+
.paging_two_button .ui-button {
|
99
|
+
float: left;
|
100
|
+
cursor: pointer;
|
101
|
+
* cursor: hand;
|
102
|
+
}
|
103
|
+
|
104
|
+
.paging_full_numbers .ui-button {
|
105
|
+
padding: 2px 6px;
|
106
|
+
margin: 0;
|
107
|
+
cursor: pointer;
|
108
|
+
* cursor: hand;
|
109
|
+
color: #333 !important;
|
110
|
+
}
|
111
|
+
|
112
|
+
/* Two button pagination - previous / next */
|
113
|
+
.paginate_disabled_previous,
|
114
|
+
.paginate_enabled_previous,
|
115
|
+
.paginate_disabled_next,
|
116
|
+
.paginate_enabled_next {
|
117
|
+
height: 19px;
|
118
|
+
float: left;
|
119
|
+
cursor: pointer;
|
120
|
+
*cursor: hand;
|
121
|
+
color: #111 !important;
|
122
|
+
}
|
123
|
+
.paginate_disabled_previous:hover,
|
124
|
+
.paginate_enabled_previous:hover,
|
125
|
+
.paginate_disabled_next:hover,
|
126
|
+
.paginate_enabled_next:hover {
|
127
|
+
text-decoration: none !important;
|
128
|
+
}
|
129
|
+
.paginate_disabled_previous:active,
|
130
|
+
.paginate_enabled_previous:active,
|
131
|
+
.paginate_disabled_next:active,
|
132
|
+
.paginate_enabled_next:active {
|
133
|
+
outline: none;
|
134
|
+
}
|
135
|
+
|
136
|
+
.paginate_disabled_previous,
|
137
|
+
.paginate_disabled_next {
|
138
|
+
color: #666 !important;
|
139
|
+
}
|
140
|
+
.paginate_disabled_previous,
|
141
|
+
.paginate_enabled_previous {
|
142
|
+
padding-left: 23px;
|
143
|
+
}
|
144
|
+
.paginate_disabled_next,
|
145
|
+
.paginate_enabled_next {
|
146
|
+
padding-right: 23px;
|
147
|
+
margin-left: 10px;
|
148
|
+
}
|
149
|
+
|
150
|
+
.paginate_enabled_previous { background: url('../images/back_enabled.png') no-repeat top left; }
|
151
|
+
.paginate_enabled_previous:hover { background: url('../images/back_enabled_hover.png') no-repeat top left; }
|
152
|
+
.paginate_disabled_previous { background: url('../images/back_disabled.png') no-repeat top left; }
|
153
|
+
|
154
|
+
.paginate_enabled_next { background: url('../images/forward_enabled.png') no-repeat top right; }
|
155
|
+
.paginate_enabled_next:hover { background: url('../images/forward_enabled_hover.png') no-repeat top right; }
|
156
|
+
.paginate_disabled_next { background: url('../images/forward_disabled.png') no-repeat top right; }
|
157
|
+
|
158
|
+
/* Full number pagination */
|
159
|
+
.paging_full_numbers a:active {
|
160
|
+
outline: none
|
161
|
+
}
|
162
|
+
.paging_full_numbers a:hover {
|
163
|
+
text-decoration: none;
|
164
|
+
}
|
165
|
+
|
166
|
+
.paging_full_numbers a.paginate_button,
|
167
|
+
.paging_full_numbers a.paginate_active {
|
168
|
+
border: 1px solid #aaa;
|
169
|
+
-webkit-border-radius: 5px;
|
170
|
+
-moz-border-radius: 5px;
|
171
|
+
border-radius: 5px;
|
172
|
+
padding: 2px 5px;
|
173
|
+
margin: 0 3px;
|
174
|
+
cursor: pointer;
|
175
|
+
*cursor: hand;
|
176
|
+
color: #333 !important;
|
177
|
+
}
|
178
|
+
|
179
|
+
.paging_full_numbers a.paginate_button {
|
180
|
+
background-color: #ddd;
|
181
|
+
}
|
182
|
+
|
183
|
+
.paging_full_numbers a.paginate_button:hover {
|
184
|
+
background-color: #ccc;
|
185
|
+
text-decoration: none !important;
|
186
|
+
}
|
187
|
+
|
188
|
+
.paging_full_numbers a.paginate_active {
|
189
|
+
background-color: #99B3FF;
|
190
|
+
}
|
191
|
+
|
192
|
+
|
193
|
+
/*
|
194
|
+
* Processing indicator
|
195
|
+
*/
|
196
|
+
.dataTables_processing {
|
197
|
+
position: absolute;
|
198
|
+
top: 50%;
|
199
|
+
left: 50%;
|
200
|
+
width: 250px;
|
201
|
+
height: 30px;
|
202
|
+
margin-left: -125px;
|
203
|
+
margin-top: -15px;
|
204
|
+
padding: 14px 0 2px 0;
|
205
|
+
border: 1px solid #ddd;
|
206
|
+
text-align: center;
|
207
|
+
color: #999;
|
208
|
+
font-size: 14px;
|
209
|
+
background-color: white;
|
210
|
+
}
|
211
|
+
|
212
|
+
|
213
|
+
/*
|
214
|
+
* Sorting
|
215
|
+
*/
|
216
|
+
table.dataTable thead th div.DataTables_sort_wrapper {
|
217
|
+
position: relative;
|
218
|
+
padding-right: 20px;
|
219
|
+
}
|
220
|
+
|
221
|
+
table.dataTable thead th div.DataTables_sort_wrapper span {
|
222
|
+
position: absolute;
|
223
|
+
top: 50%;
|
224
|
+
margin-top: -8px;
|
225
|
+
right: 0;
|
226
|
+
}
|
227
|
+
|
228
|
+
table.dataTable th:active {
|
229
|
+
outline: none;
|
230
|
+
}
|
231
|
+
|
232
|
+
|
233
|
+
/*
|
234
|
+
* Scrolling
|
235
|
+
*/
|
236
|
+
.dataTables_scroll {
|
237
|
+
clear: both;
|
238
|
+
}
|
239
|
+
|
240
|
+
.dataTables_scrollBody {
|
241
|
+
*margin-top: -1px;
|
242
|
+
-webkit-overflow-scrolling: touch;
|
243
|
+
}
|
244
|
+
|