diff options
Diffstat (limited to 'StoneIsland/www/js')
| -rw-r--r-- | StoneIsland/www/js/lib/account/LoginView.js (renamed from StoneIsland/www/js/lib/nav/LoginView.js) | 0 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/account/PaymentView.js | 33 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/account/ProfileView.js | 5 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/account/ShippingView.js | 12 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/account/SignupView.js | 5 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartBilling.js | 5 | ||||
| -rw-r--r-- | StoneIsland/www/js/lib/cart/CartShipping.js | 5 |
7 files changed, 61 insertions, 4 deletions
diff --git a/StoneIsland/www/js/lib/nav/LoginView.js b/StoneIsland/www/js/lib/account/LoginView.js index 60f6263e..60f6263e 100644 --- a/StoneIsland/www/js/lib/nav/LoginView.js +++ b/StoneIsland/www/js/lib/account/LoginView.js diff --git a/StoneIsland/www/js/lib/account/PaymentView.js b/StoneIsland/www/js/lib/account/PaymentView.js new file mode 100644 index 00000000..a8c68267 --- /dev/null +++ b/StoneIsland/www/js/lib/account/PaymentView.js @@ -0,0 +1,33 @@ +var PaymentView = View.extend({ + + el: "#payment", + + events: { + }, + + initialize: function(){ + this.address = new AddressView () + }, + +}) + +var AddressView = View.extend({ + + template: $("#address_template").html(), + + events: { + }, + + initialize: function(){ + }, + + build: function(){ + }, + + deserialize: function(){ + }, + + serialize: function(){ + }, + +})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/account/ProfileView.js b/StoneIsland/www/js/lib/account/ProfileView.js new file mode 100644 index 00000000..93c61b33 --- /dev/null +++ b/StoneIsland/www/js/lib/account/ProfileView.js @@ -0,0 +1,5 @@ +var ProfileView = View.extend({ + + el: "#profile", + +})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/account/ShippingView.js b/StoneIsland/www/js/lib/account/ShippingView.js new file mode 100644 index 00000000..5bf80cfb --- /dev/null +++ b/StoneIsland/www/js/lib/account/ShippingView.js @@ -0,0 +1,12 @@ +var ShippingView = View.extend({ + + el: "#shipping", + + events: { + }, + + initialize: function(){ + this.address = new AddressView () + }, + +})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/account/SignupView.js b/StoneIsland/www/js/lib/account/SignupView.js new file mode 100644 index 00000000..395c0b00 --- /dev/null +++ b/StoneIsland/www/js/lib/account/SignupView.js @@ -0,0 +1,5 @@ +var SignupView = View.extend({ + + el: "#signup", + +})
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/cart/CartBilling.js b/StoneIsland/www/js/lib/cart/CartBilling.js index f3c9cbe2..447fae0f 100644 --- a/StoneIsland/www/js/lib/cart/CartBilling.js +++ b/StoneIsland/www/js/lib/cart/CartBilling.js @@ -1,11 +1,12 @@ var CartBilling = View.extend({ - el: "#billing", + el: "#cart_billing", events: { }, - + initialize: function(){ + this.address = new AddressView () }, })
\ No newline at end of file diff --git a/StoneIsland/www/js/lib/cart/CartShipping.js b/StoneIsland/www/js/lib/cart/CartShipping.js index beaf6bd2..32b25bb9 100644 --- a/StoneIsland/www/js/lib/cart/CartShipping.js +++ b/StoneIsland/www/js/lib/cart/CartShipping.js @@ -1,11 +1,12 @@ var CartShipping = View.extend({ - el: "#shipping", + el: "#cart_shipping", events: { }, - + initialize: function(){ + this.address = new AddressView () }, })
\ No newline at end of file |
