opensteam 0.9.2 → 0.9.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +53 -0
- data/README.rdoc +19 -10
- data/generators/opensteam/opensteam_generator.rb +27 -3
- data/generators/opensteam/templates/app/controllers/admin/configurations_controller.rb +85 -0
- data/generators/opensteam/templates/app/controllers/admin/inventories_controller.rb +1 -1
- data/generators/opensteam/templates/app/controllers/admin/invoices_controller.rb +35 -4
- data/generators/opensteam/templates/app/controllers/admin/orders_controller.rb +5 -4
- data/generators/opensteam/templates/app/controllers/admin/shipments_controller.rb +6 -3
- data/generators/opensteam/templates/app/controllers/admin/shipping_rate_groups_controller.rb +76 -0
- data/generators/opensteam/templates/app/controllers/admin/tax_groups_controller.rb +124 -0
- data/generators/opensteam/templates/app/controllers/admin/tax_rules_controller.rb +19 -0
- data/generators/opensteam/templates/app/controllers/admin/tax_zones_controller.rb +118 -0
- data/generators/opensteam/templates/app/controllers/admin/users_controller.rb +1 -1
- data/generators/opensteam/templates/app/controllers/admin_controller.rb +20 -0
- data/generators/opensteam/templates/app/controllers/carts_controller.rb +118 -0
- data/generators/opensteam/templates/app/controllers/checkout_controller.rb +119 -79
- data/generators/opensteam/templates/app/controllers/profile_controller.rb +2 -4
- data/generators/opensteam/templates/app/controllers/searches_controller.rb +1 -1
- data/generators/opensteam/templates/app/controllers/user_sessions_controller.rb +2 -1
- data/generators/opensteam/templates/app/controllers/users_controller.rb +10 -3
- data/generators/opensteam/templates/app/helpers/admin_helper.rb +15 -1
- data/generators/opensteam/templates/app/helpers/checkout_helper.rb +38 -0
- data/generators/opensteam/templates/app/helpers/webshop_helper.rb +6 -1
- data/generators/opensteam/templates/app/models/zone.rb +18 -0
- data/generators/opensteam/templates/app/views/admin/_menu.html.erb +18 -0
- data/generators/opensteam/templates/app/views/admin/catalog.html.erb +2 -3
- data/generators/opensteam/templates/app/views/admin/configurations/edit.html.erb +20 -0
- data/generators/opensteam/templates/app/views/admin/configurations/index.html.erb +22 -0
- data/generators/opensteam/templates/app/views/admin/configurations/new.html.erb +19 -0
- data/generators/opensteam/templates/app/views/admin/configurations/show.html.erb +13 -0
- data/generators/opensteam/templates/app/views/admin/filters/_filter.html.erb +1 -1
- data/generators/opensteam/templates/app/views/admin/index.html.erb +0 -19
- data/generators/opensteam/templates/app/views/admin/inventories/edit.html.erb +10 -6
- data/generators/opensteam/templates/app/views/admin/inventories/new.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/inventories/show.html.erb +10 -6
- data/generators/opensteam/templates/app/views/admin/invoices/_invoice.html.erb +1 -0
- data/generators/opensteam/templates/app/views/admin/invoices/_invoice_fields.html.erb +52 -0
- data/generators/opensteam/templates/app/views/admin/invoices/new.html.erb +9 -37
- data/generators/opensteam/templates/app/views/admin/invoices/show.html.erb +10 -36
- data/generators/opensteam/templates/app/views/admin/invoices/show.pdf.prawn +59 -0
- data/generators/opensteam/templates/app/views/admin/order_config.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/order_items/_item_entry.html.erb +9 -0
- data/generators/opensteam/templates/app/views/admin/order_items/_items_table.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/orders/_order.html.erb +9 -9
- data/generators/opensteam/templates/app/views/admin/orders/_orders.html.erb +1 -1
- data/generators/opensteam/templates/app/views/admin/orders/show.html.erb +25 -9
- data/generators/opensteam/templates/app/views/admin/payment_types.html.erb +27 -0
- data/generators/opensteam/templates/app/views/admin/payments/_credit_card_payment.html.erb +26 -0
- data/generators/opensteam/templates/app/views/admin/payments/_credit_card_payment_info.html.erb +15 -0
- data/generators/opensteam/templates/app/views/admin/payments/_direct_debit_payment.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/shipments/new.html.erb +45 -30
- data/generators/opensteam/templates/app/views/admin/shipments/show.html.erb +3 -3
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/_payment_addition.html.erb +12 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/_rate.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/edit.html.erb +63 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/index.html.erb +28 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/new.html.erb +60 -0
- data/generators/opensteam/templates/app/views/admin/shipping_rate_groups/show.html.erb +13 -0
- data/generators/opensteam/templates/app/views/admin/system.html.erb +5 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_attributes.html.erb +11 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_tax_groups.html.erb +17 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_tax_groups_row.html.erb +12 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/_tax_rule.html.erb +14 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/edit.html.erb +26 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/index.html.erb +8 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/new.html.erb +27 -0
- data/generators/opensteam/templates/app/views/admin/tax_groups/show.html.erb +28 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/_attributes.html.erb +18 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/_tax_zone_row.html.erb +13 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/_tax_zones.html.erb +11 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/edit.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/index.html.erb +16 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/new.html.erb +14 -0
- data/generators/opensteam/templates/app/views/admin/tax_zones/show.html.erb +15 -0
- data/generators/opensteam/templates/app/views/admin/users.html.erb +0 -1
- data/generators/opensteam/templates/app/views/admin/users/show.html.erb +10 -0
- data/generators/opensteam/templates/app/views/administration_mailer/order_customer.erb +1 -1
- data/generators/opensteam/templates/app/views/carts/_cart.html.erb +7 -0
- data/generators/opensteam/templates/app/views/carts/_cart_content.html.erb +45 -0
- data/generators/opensteam/templates/app/views/carts/create.rjs +3 -0
- data/generators/opensteam/templates/app/views/{cart → carts}/index.html.erb +0 -0
- data/generators/opensteam/templates/app/views/carts/update.rjs +11 -0
- data/generators/opensteam/templates/app/views/checkout/_address.html.erb +42 -0
- data/generators/opensteam/templates/app/views/checkout/_customer.html.erb +31 -0
- data/generators/opensteam/templates/app/views/checkout/_edit_checkout.html.erb +42 -0
- data/generators/opensteam/templates/app/views/checkout/_new_checkout.html.erb +44 -0
- data/generators/opensteam/templates/app/views/checkout/_shipping_buttons.html.erb +8 -0
- data/generators/opensteam/templates/app/views/checkout/edit.html.erb +7 -0
- data/generators/opensteam/templates/app/views/checkout/new.html.erb +11 -0
- data/generators/opensteam/templates/app/views/checkout/outro.html.erb +1 -4
- data/generators/opensteam/templates/app/views/checkout/show.html.erb +63 -0
- data/generators/opensteam/templates/app/views/common/_header_admin.html.erb +5 -0
- data/generators/opensteam/templates/app/views/layouts/admin.html.erb +28 -12
- data/generators/opensteam/templates/app/views/layouts/profile.html.erb +2 -2
- data/generators/opensteam/templates/app/views/layouts/webshop.html.erb +5 -4
- data/generators/opensteam/templates/app/views/payment/_advance_payment_payment.html.erb +1 -0
- data/generators/opensteam/templates/app/views/payment/_credit_card_payment.html.erb +37 -0
- data/generators/opensteam/templates/app/views/payment/_credit_card_payment_confirmation.html.erb +20 -0
- data/generators/opensteam/templates/app/views/payment/_direct_debit_payment.html.erb +5 -0
- data/generators/opensteam/templates/app/views/payment/_direct_debit_payment_confirmation.html.erb +5 -0
- data/generators/opensteam/templates/app/views/profile/index.html.erb +1 -1
- data/generators/opensteam/templates/app/views/profile/infos/edit.html.erb +20 -12
- data/generators/opensteam/templates/app/views/profile/infos/edit_password.html.erb +16 -12
- data/generators/opensteam/templates/app/views/profile/orders/_order.html.erb +1 -1
- data/generators/opensteam/templates/app/views/profile/orders/show.html.erb +10 -7
- data/generators/opensteam/templates/app/views/webshop/_inventory_content.html.erb +1 -0
- data/generators/opensteam/templates/app/views/webshop/show.html.erb +3 -1
- data/generators/opensteam/templates/config/initializers/init_states.rb +13 -24
- data/generators/opensteam/templates/config/initializers/opensteam.rb +41 -0
- data/generators/opensteam/templates/config/initializers/opensteam_model_tables.rb +49 -10
- data/generators/opensteam/templates/config/initializers/opensteam_security.rb +8 -0
- data/generators/opensteam/templates/config/initializers/payment_process.rb +37 -0
- data/generators/opensteam/templates/db/migrate/20080609095723_create_addresses.rb +8 -2
- data/generators/opensteam/templates/db/migrate/20080609095726_create_inventories.rb +6 -3
- data/generators/opensteam/templates/db/migrate/20080609095728_create_order_items.rb +12 -1
- data/generators/opensteam/templates/db/migrate/20080609095729_create_orders.rb +8 -12
- data/generators/opensteam/templates/db/migrate/20080609095730_create_payment_types.rb +2 -0
- data/generators/opensteam/templates/db/migrate/20080714131513_create_invoices.rb +2 -1
- data/generators/opensteam/templates/db/migrate/20080714131650_create_shipments.rb +3 -1
- data/generators/opensteam/templates/db/migrate/20080808075247_create_containers.rb +30 -0
- data/generators/opensteam/templates/db/migrate/20080808083011_create_container_items.rb +25 -0
- data/generators/opensteam/templates/db/migrate/20080812102727_create_tax_zones.rb +16 -0
- data/generators/opensteam/templates/db/migrate/20080812102858_create_tax_rules.rb +15 -0
- data/generators/opensteam/templates/db/migrate/20080812102956_create_tax_groups.rb +14 -0
- data/generators/opensteam/templates/db/migrate/20080831181436_create_configurations.rb +15 -0
- data/generators/opensteam/templates/db/migrate/20080903131506_create_payments.rb +22 -0
- data/generators/opensteam/templates/db/migrate/20080904133625_create_payment_transactions.rb +24 -0
- data/generators/opensteam/templates/db/migrate/20080916102341_create_zones.rb +19 -0
- data/generators/opensteam/templates/db/migrate/20080916134340_create_region_shipping_rates.rb +18 -0
- data/generators/opensteam/templates/db/migrate/20080916134523_create_shipping_rate_groups.rb +18 -0
- data/generators/opensteam/templates/db/migrate/20080916135226_create_shipping_payment_additions.rb +20 -0
- data/generators/opensteam/templates/db/migrate/20080916135228_init_opensteam_config.rb +60 -0
- data/generators/opensteam/templates/public/images/opensteam_black.jpg +0 -0
- data/generators/opensteam/templates/public/images/pdf.png +0 -0
- data/generators/opensteam/templates/public/images/shader.png +0 -0
- data/generators/opensteam/templates/public/index.html +1 -0
- data/generators/opensteam/templates/public/javascripts/opensteam.js +21 -21
- data/generators/opensteam/templates/public/stylesheets/opensteam_admin.css +291 -0
- data/generators/opensteam/templates/public/stylesheets/opensteam_white.css +47 -11
- data/generators/opensteam/templates/tasks/opensteam.rake +2 -12
- data/generators/opensteam/templates/test/fixtures/addresses.yml +26 -0
- data/generators/opensteam/templates/test/fixtures/configurations.yml +29 -0
- data/generators/opensteam/templates/test/fixtures/inventories.yml +32 -15
- data/generators/opensteam/templates/test/fixtures/profiles.yml +21 -0
- data/generators/opensteam/templates/test/fixtures/region_shipping_rates.yml +33 -0
- data/generators/opensteam/templates/test/fixtures/shipping_payment_additions.yml +91 -0
- data/generators/opensteam/templates/test/fixtures/shipping_rate_groups.yml +25 -0
- data/generators/opensteam/templates/test/fixtures/tax_groups.yml +13 -0
- data/generators/opensteam/templates/test/fixtures/tax_rules.yml +29 -0
- data/generators/opensteam/templates/test/fixtures/tax_zones.yml +33 -0
- data/generators/opensteam/templates/test/fixtures/users.yml +26 -0
- data/generators/opensteam/templates/test/fixtures/zones.yml +2707 -0
- data/generators/opensteam/templates/test/functional/carts_controller_test.rb +103 -0
- data/generators/opensteam/templates/test/test_helper.rb +38 -0
- data/generators/opensteam/templates/test/unit/container_test.rb +71 -0
- data/generators/opensteam/templates/test/unit/order_test.rb +93 -0
- data/generators/opensteam/templates/test/unit/payment_test.rb +220 -0
- data/generators/opensteam/templates/test/unit/product_test.rb +158 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/.gitignore +3 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/MIT-LICENSE +20 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/README +12 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/Rakefile +22 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/init.rb +6 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto.rb +13 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto/action_controller.rb +47 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto/template_handler/base.rb +75 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/lib/prawnto/template_handler/raw.rb +54 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/tasks/prawnto_tasks.rake +4 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/action_controller_test.rb +36 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/base_template_handler_test.rb +58 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/raw_template_handler_test.rb +163 -0
- data/generators/opensteam/templates/vendor/plugins/prawnto/test/template_handler_test_mocks.rb +83 -0
- data/generators/opensteam_product/templates/views/admin/_attributes.html.erb +8 -3
- data/generators/opensteam_product/templates/views/admin/_inventories.html.erb +2 -0
- data/lib/opensteam.rb +0 -1
- data/lib/opensteam/base.rb +2 -1
- data/lib/opensteam/checkout.rb +3 -12
- data/lib/opensteam/config.rb +50 -2
- data/lib/opensteam/container.rb +196 -0
- data/lib/opensteam/extension_base.rb +19 -1
- data/lib/opensteam/finder.rb +1 -1
- data/lib/opensteam/helpers/config_table_helper.rb +18 -6
- data/lib/opensteam/initializer.rb +24 -4
- data/lib/opensteam/inventory_base.rb +6 -1
- data/lib/opensteam/invoice_base.rb +12 -13
- data/lib/opensteam/money.rb +230 -0
- data/lib/opensteam/order_base.rb +122 -48
- data/lib/opensteam/payment.rb +225 -0
- data/lib/opensteam/payment/advance_payment.rb +34 -0
- data/lib/opensteam/payment/credit_card_payment.rb +217 -0
- data/lib/opensteam/payment/direct_debit_payment.rb +53 -0
- data/lib/opensteam/product_base.rb +48 -12
- data/lib/opensteam/security.rb +54 -0
- data/lib/opensteam/shipment_base.rb +214 -6
- data/lib/opensteam/shopping_cart.rb +20 -300
- data/lib/opensteam/state_logic.rb +5 -3
- data/lib/opensteam/state_machine.rb +8 -3
- data/lib/opensteam/user_base.rb +48 -6
- data/lib/opensteam/version.rb +1 -1
- metadata +122 -16
- data/generators/opensteam/templates/app/controllers/cart_controller.rb +0 -94
- data/generators/opensteam/templates/app/views/admin/orders/_event.html.erb +0 -5
- data/generators/opensteam/templates/app/views/admin/orders/_order_item.html.erb +0 -10
- data/generators/opensteam/templates/app/views/cart/_cart.html.erb +0 -8
- data/generators/opensteam/templates/app/views/cart/_cart_content.html.erb +0 -20
- data/generators/opensteam/templates/app/views/cart/update.rjs +0 -1
- data/generators/opensteam/templates/app/views/checkout/payment.html.erb +0 -8
- data/generators/opensteam/templates/app/views/checkout/shipping.html.erb +0 -45
- data/generators/opensteam/templates/app/views/checkout/show_cart.html.erb +0 -13
- data/generators/opensteam/templates/app/views/checkout/update_cart_content.rjs +0 -2
- data/generators/opensteam/templates/app/views/profile/orders/_order_item.html.erb +0 -10
- data/generators/opensteam/templates/db/migrate/20080609095725_create_dummy_users.rb +0 -21
- data/lib/opensteam/cart_base.rb +0 -227
@@ -0,0 +1,60 @@
|
|
1
|
+
require 'active_record/fixtures'
|
2
|
+
|
3
|
+
class InitOpensteamConfig < ActiveRecord::Migration
|
4
|
+
def self.up
|
5
|
+
|
6
|
+
# create profile
|
7
|
+
Opensteam::UserBase::Profile.create( :name => "Admin", :description => "Admin Profile" )
|
8
|
+
Opensteam::UserBase::Profile.create( :name => "Guest", :description => "Guest Profile" )
|
9
|
+
Opensteam::UserBase::Profile.create( :name => "Customer", :description => "Customer Profile" )
|
10
|
+
|
11
|
+
# create admin user
|
12
|
+
Opensteam::UserBase::User.create(
|
13
|
+
:firstname => 'admin',
|
14
|
+
:lastname => 'admin',
|
15
|
+
:email => 'admin@host.com',
|
16
|
+
:password => 'opensteam',
|
17
|
+
:password_confirmation => 'opensteam'
|
18
|
+
) do |admin|
|
19
|
+
admin.profile = Opensteam::UserBase::Profile.find_by_name("Admin")
|
20
|
+
end
|
21
|
+
|
22
|
+
# load zones
|
23
|
+
Fixtures.create_fixtures('test/fixtures', "zones" )
|
24
|
+
|
25
|
+
# load tax_groups, tax_zones, tax_rules
|
26
|
+
[ 'tax_groups', 'tax_zones', 'tax_rules' ].each do |fixture_file|
|
27
|
+
Fixtures.create_fixtures( 'text/fixtures', fixture_file )
|
28
|
+
end
|
29
|
+
|
30
|
+
# load shipping rate fixtures
|
31
|
+
[ 'region_shipping_rates', 'shipping_payment_additions', 'shipping_rate_groups' ].each do |fixture_file|
|
32
|
+
Fixtures.create_fixtures( 'text/fixtures', fixture_file )
|
33
|
+
end
|
34
|
+
|
35
|
+
# init configuration
|
36
|
+
Opensteam::Config[ :shipping_strategy ] = 'per_order'
|
37
|
+
Opensteam::Config[ :shipping_rate_group_default] = 'Default Shipping Rate'
|
38
|
+
Opensteam::Config[ :product_shipping_rate_group_default] = 'Default Shipping Rate'
|
39
|
+
Opensteam::Config[ :default_country ] = 'Austria'
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
|
44
|
+
end
|
45
|
+
|
46
|
+
def self.down
|
47
|
+
[ "Admin", "Guest", "Customer" ].each do |profile|
|
48
|
+
Opensteam::UserBase::Profile.find_by_name( profile ).destroy rescue nil
|
49
|
+
end
|
50
|
+
|
51
|
+
Opensteam::UserBase::User.find_by_email( "admin@host.com" ).destroy rescue nil
|
52
|
+
|
53
|
+
Zone.delete_all
|
54
|
+
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
|
59
|
+
end
|
60
|
+
|
Binary file
|
Binary file
|
Binary file
|
@@ -216,6 +216,7 @@
|
|
216
216
|
<li><a href="http://www.opensteam.net/">openSteam Homepage</a></li>
|
217
217
|
<li><a href="http://blog.opensteam.net/">openSteam weblog</a></li>
|
218
218
|
<li><a href="http://www.rubyforge.org/projects/opensteam/">@rubyforge</a></li>
|
219
|
+
<li><a href="http://www.diamonddogs.cc">diamonddogs</a></li>
|
219
220
|
</ul>
|
220
221
|
</li>
|
221
222
|
|
@@ -1,30 +1,30 @@
|
|
1
1
|
function toggle_admin_display(name) {
|
2
|
-
|
2
|
+
var els = getElementsByClassName("sub_content_box") ;
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
4
|
+
for(var i=0;i< els.length ; i++)
|
5
|
+
{
|
6
|
+
els[i].style.display = "none" ;
|
7
|
+
}
|
8
8
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
9
|
+
var el = document.getElementById(name) ;
|
10
|
+
if( el.style.display == "none" )
|
11
|
+
{
|
12
|
+
el.style.display = "" ;
|
13
|
+
}
|
14
|
+
else
|
15
|
+
{
|
16
|
+
el.style.display = "none" ;
|
17
|
+
}
|
18
18
|
}
|
19
19
|
|
20
20
|
|
21
21
|
function getElementsByClassName(classname, node) {
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
22
|
+
if(!node) node = document.getElementsByTagName("body")[0];
|
23
|
+
var a = [];
|
24
|
+
var re = new RegExp('\\b' + classname + '\\b');
|
25
|
+
var els = node.getElementsByTagName("*");
|
26
|
+
for(var i=0,j=els.length; i<j; i++)
|
27
|
+
if(re.test(els[i].className))a.push(els[i]);
|
28
|
+
return a;
|
29
29
|
}
|
30
30
|
|
@@ -0,0 +1,291 @@
|
|
1
|
+
|
2
|
+
html {
|
3
|
+
height:100%;
|
4
|
+
}
|
5
|
+
|
6
|
+
body {
|
7
|
+
background-color: #ccc ;
|
8
|
+
|
9
|
+
font-family:Verdana, Arial ;
|
10
|
+
font-size:9pt ;
|
11
|
+
color:#bbb;
|
12
|
+
margin:0;
|
13
|
+
padding:0;
|
14
|
+
height:100%;
|
15
|
+
|
16
|
+
}
|
17
|
+
|
18
|
+
div#sub_menu {
|
19
|
+
background-color: #ccc ;
|
20
|
+
padding:3px ;
|
21
|
+
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
}
|
26
|
+
|
27
|
+
|
28
|
+
.flash_error {
|
29
|
+
background-image:url(./../images/shader.png);
|
30
|
+
height:100%;
|
31
|
+
width:100%;
|
32
|
+
position:absolute;
|
33
|
+
top:0px;
|
34
|
+
left:0px;
|
35
|
+
z-index:999;
|
36
|
+
}
|
37
|
+
|
38
|
+
|
39
|
+
.sub_menu {
|
40
|
+
display: inline;
|
41
|
+
list-style-type: none;
|
42
|
+
padding-right: 20px;
|
43
|
+
margin:0 ;
|
44
|
+
padding:0 ;
|
45
|
+
|
46
|
+
}
|
47
|
+
|
48
|
+
.sub_content_box {
|
49
|
+
border-left: 1px solid black ;
|
50
|
+
padding: 10px ;
|
51
|
+
margin-top: 10px ;
|
52
|
+
}
|
53
|
+
|
54
|
+
.sub_menu li {
|
55
|
+
display: inline ;
|
56
|
+
height:40px ;
|
57
|
+
float:left ;
|
58
|
+
padding-left: 5px ;
|
59
|
+
padding-right: 5px ;
|
60
|
+
}
|
61
|
+
|
62
|
+
.sub_menu li#current {
|
63
|
+
background-color: #eee ;
|
64
|
+
}
|
65
|
+
|
66
|
+
.sub_menu li:hover {
|
67
|
+
background-color: #eee ;
|
68
|
+
}
|
69
|
+
|
70
|
+
|
71
|
+
h1, h2 {
|
72
|
+
color: #888;
|
73
|
+
font-family: "Helvetica";
|
74
|
+
font-size: 18px;
|
75
|
+
padding:4px;
|
76
|
+
text-transform:uppercase;
|
77
|
+
}
|
78
|
+
|
79
|
+
div.header_with_links {
|
80
|
+
background-color:#777;
|
81
|
+
text-align:right;
|
82
|
+
padding:5px ;
|
83
|
+
width:50%;
|
84
|
+
}
|
85
|
+
|
86
|
+
.header_with_links a {
|
87
|
+
border:1px solid white;
|
88
|
+
padding:2px ;
|
89
|
+
color:white;
|
90
|
+
margin-right:3px ;
|
91
|
+
background-color: #999 ;
|
92
|
+
}
|
93
|
+
|
94
|
+
.header_with_links h3 {
|
95
|
+
text-align:left;
|
96
|
+
padding:0 ;
|
97
|
+
margin:0 ;
|
98
|
+
|
99
|
+
}
|
100
|
+
|
101
|
+
|
102
|
+
|
103
|
+
h3 {
|
104
|
+
color: #ccc ;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
.addresses div {
|
110
|
+
border-left: 1px solid #ccc ;
|
111
|
+
padding:10px ;
|
112
|
+
}
|
113
|
+
|
114
|
+
|
115
|
+
.sub_content {
|
116
|
+
float:left ;
|
117
|
+
padding: 5px ;
|
118
|
+
}
|
119
|
+
|
120
|
+
#content_box {
|
121
|
+
height:80%;
|
122
|
+
}
|
123
|
+
|
124
|
+
#header {
|
125
|
+
width:100%;
|
126
|
+
height:82px ;
|
127
|
+
background-color:#222;
|
128
|
+
}
|
129
|
+
|
130
|
+
#sidebar {
|
131
|
+
background-color:#222;
|
132
|
+
height:100%;
|
133
|
+
}
|
134
|
+
|
135
|
+
#page {
|
136
|
+
height:100%;
|
137
|
+
}
|
138
|
+
|
139
|
+
a { color: #555;}
|
140
|
+
a:hover { color: #689;}
|
141
|
+
|
142
|
+
#sidebar a { color: #aaa; }
|
143
|
+
|
144
|
+
#content {
|
145
|
+
background-color:#ccc;
|
146
|
+
width:80%;
|
147
|
+
height:auto;
|
148
|
+
margin:0 ;
|
149
|
+
padding:0;
|
150
|
+
color:#555 ;
|
151
|
+
}
|
152
|
+
|
153
|
+
#page_sub_content {
|
154
|
+
background-color: #eee ;
|
155
|
+
padding:5px ;
|
156
|
+
margin-top:30px ;
|
157
|
+
padding-left: 30px ;
|
158
|
+
}
|
159
|
+
|
160
|
+
|
161
|
+
#sidebar {
|
162
|
+
}
|
163
|
+
|
164
|
+
|
165
|
+
#footer {
|
166
|
+
color: #555 ;
|
167
|
+
padding-left: 14px ;
|
168
|
+
border-top: 1px solid black;
|
169
|
+
clear:both;
|
170
|
+
}
|
171
|
+
|
172
|
+
|
173
|
+
.top_header_link {
|
174
|
+
position:absolute;
|
175
|
+
top:5px;
|
176
|
+
right:5px;
|
177
|
+
}
|
178
|
+
.top_header_link a {
|
179
|
+
background-color: #555 ;
|
180
|
+
border:1px solid #ccc ;
|
181
|
+
color: white ;
|
182
|
+
|
183
|
+
}
|
184
|
+
|
185
|
+
.order_show {
|
186
|
+
background-color: #eee ;
|
187
|
+
padding:10px ;
|
188
|
+
}
|
189
|
+
.osteam_configured_table_div {
|
190
|
+
width:100%;
|
191
|
+
}
|
192
|
+
|
193
|
+
.osteam_configured_table_div table {
|
194
|
+
width:100%;
|
195
|
+
border-collapse: collapse ;
|
196
|
+
border-spacing: 1px;
|
197
|
+
font-size:8pt;
|
198
|
+
color: #222;
|
199
|
+
}
|
200
|
+
|
201
|
+
|
202
|
+
.osteam_configured_table_div table th a {
|
203
|
+
width:100%;
|
204
|
+
color:black;
|
205
|
+
text-decoration:none;
|
206
|
+
}
|
207
|
+
|
208
|
+
.osteam_configured_table_div table td {
|
209
|
+
padding-left: 10px ;
|
210
|
+
padding-right: 5px ;
|
211
|
+
}
|
212
|
+
|
213
|
+
.osteam_configured_table_div table th a:hover {
|
214
|
+
background-color:#eee;
|
215
|
+
}
|
216
|
+
|
217
|
+
|
218
|
+
.even { background-color: #ecf3fe; }
|
219
|
+
.odd { background-color: #fff; }
|
220
|
+
|
221
|
+
|
222
|
+
|
223
|
+
input {
|
224
|
+
}
|
225
|
+
|
226
|
+
fieldset {
|
227
|
+
border:0px ;
|
228
|
+
}
|
229
|
+
|
230
|
+
fieldset label {
|
231
|
+
float: left ;
|
232
|
+
width: 100px ;
|
233
|
+
}
|
234
|
+
|
235
|
+
|
236
|
+
.fieldWithErrors {
|
237
|
+
padding: 2px;
|
238
|
+
background-color: red;
|
239
|
+
display: table;
|
240
|
+
}
|
241
|
+
|
242
|
+
#errorExplanation {
|
243
|
+
width: 400px;
|
244
|
+
border: 1px solid red;
|
245
|
+
padding: 7px;
|
246
|
+
padding-bottom: 12px;
|
247
|
+
margin-bottom: 20px;
|
248
|
+
background-color: #f0f0f0;
|
249
|
+
}
|
250
|
+
|
251
|
+
#errorExplanation h2 {
|
252
|
+
text-align: left;
|
253
|
+
font-weight: bold;
|
254
|
+
padding: 5px 5px 5px 15px;
|
255
|
+
font-size: 12px;
|
256
|
+
margin: -7px;
|
257
|
+
background-color: #c00;
|
258
|
+
color: #fff;
|
259
|
+
}
|
260
|
+
|
261
|
+
#errorExplanation p {
|
262
|
+
color: #333;
|
263
|
+
margin-bottom: 0;
|
264
|
+
padding: 5px;
|
265
|
+
}
|
266
|
+
|
267
|
+
#errorExplanation ul li {
|
268
|
+
font-size: 12px;
|
269
|
+
list-style: square;
|
270
|
+
}
|
271
|
+
|
272
|
+
div.uploadStatus {
|
273
|
+
margin: 5px;
|
274
|
+
}
|
275
|
+
|
276
|
+
div.progressBar {
|
277
|
+
margin: 5px;
|
278
|
+
}
|
279
|
+
|
280
|
+
div.progressBar div.border {
|
281
|
+
background-color: #fff;
|
282
|
+
border: 1px solid gray;
|
283
|
+
width: 100%;
|
284
|
+
}
|
285
|
+
|
286
|
+
div.progressBar div.background {
|
287
|
+
background-color: #333;
|
288
|
+
height: 18px;
|
289
|
+
width: 0%;
|
290
|
+
}
|
291
|
+
|
@@ -19,6 +19,17 @@ body {
|
|
19
19
|
}
|
20
20
|
|
21
21
|
|
22
|
+
|
23
|
+
#indicator_center_big {
|
24
|
+
position:absolute ;
|
25
|
+
z-index:9999;
|
26
|
+
top:50% ;
|
27
|
+
left:50% ;
|
28
|
+
border:1px solid #AAA ;
|
29
|
+
padding: 50px ;
|
30
|
+
}
|
31
|
+
|
32
|
+
|
22
33
|
#header {
|
23
34
|
padding-left:30px;
|
24
35
|
padding-top:30px;
|
@@ -31,27 +42,23 @@ body {
|
|
31
42
|
clear:both;
|
32
43
|
}
|
33
44
|
|
34
|
-
|
45
|
+
.sub_content {
|
35
46
|
padding:10px;
|
36
|
-
float:left
|
37
|
-
;
|
47
|
+
float:left ;
|
38
48
|
}
|
39
49
|
|
40
|
-
|
41
|
-
|
50
|
+
.addresses div {
|
51
|
+
border-left: 1px solid #ccc ;
|
52
|
+
padding:10px ;
|
42
53
|
}
|
43
54
|
|
55
|
+
|
44
56
|
#content_box div .fieldWithErrors {
|
45
57
|
clear:both;
|
46
58
|
padding:3px ;
|
47
59
|
}
|
48
60
|
|
49
61
|
|
50
|
-
#content_box div div {
|
51
|
-
border:none;
|
52
|
-
padding:10px;
|
53
|
-
clear:both;
|
54
|
-
}
|
55
62
|
|
56
63
|
#sidebar {
|
57
64
|
}
|
@@ -71,13 +78,29 @@ body {
|
|
71
78
|
padding:20px;
|
72
79
|
height:100%;
|
73
80
|
background-color:#eee;
|
74
|
-
width:
|
81
|
+
width:40%;
|
82
|
+
font-size:11px ;
|
75
83
|
}
|
76
84
|
|
77
85
|
.cart_item {
|
78
86
|
clear:both;
|
79
87
|
}
|
80
88
|
|
89
|
+
|
90
|
+
.order_show {
|
91
|
+
background-color: #eee ;
|
92
|
+
padding:10px ;
|
93
|
+
}
|
94
|
+
|
95
|
+
|
96
|
+
#cart table td,th {
|
97
|
+
border-right: 1px solid #aaa ;
|
98
|
+
padding-left: 2px ;
|
99
|
+
padding-right: 2px ;
|
100
|
+
|
101
|
+
}
|
102
|
+
|
103
|
+
|
81
104
|
.configured_table table {
|
82
105
|
border-collapse: collapse ;
|
83
106
|
border-spacing: 1px;
|
@@ -110,6 +133,19 @@ body {
|
|
110
133
|
|
111
134
|
|
112
135
|
|
136
|
+
input {
|
137
|
+
}
|
138
|
+
|
139
|
+
fieldset {
|
140
|
+
border:0px ;
|
141
|
+
}
|
142
|
+
|
143
|
+
fieldset label {
|
144
|
+
float: left ;
|
145
|
+
width: 100px ;
|
146
|
+
}
|
147
|
+
|
148
|
+
|
113
149
|
.fieldWithErrors {
|
114
150
|
padding: 2px;
|
115
151
|
background-color: red;
|