summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-11-07 16:49:17 -0500
committerJules Laplace <jules@okfoc.us>2015-11-07 17:00:35 -0500
commitaa23fc23b5a8cf43d115bcf3953806e66dadf1c3 (patch)
treeeecb7095fcbb4d1c01661bae95fdad6dab2460dd /StoneIsland/www/js
parentebf29872c4e9108776cd5022450a7d6274ed5d5f (diff)
stub in account views..
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.js33
-rw-r--r--StoneIsland/www/js/lib/account/ProfileView.js5
-rw-r--r--StoneIsland/www/js/lib/account/ShippingView.js12
-rw-r--r--StoneIsland/www/js/lib/account/SignupView.js5
-rw-r--r--StoneIsland/www/js/lib/cart/CartBilling.js5
-rw-r--r--StoneIsland/www/js/lib/cart/CartShipping.js5
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