From 63b7855bf0ee49865a803cf3966f358f2ea402a4 Mon Sep 17 00:00:00 2001 From: Mark Moffat Date: Sun, 22 Dec 2019 09:22:25 +1030 Subject: [PATCH] Removing old themes --- views/themes/Material/cart.hbs | 101 -------- views/themes/Material/checkout.hbs | 5 - views/themes/Material/front-menu.hbs | 24 -- views/themes/Material/index.hbs | 70 ------ views/themes/Material/index.js | 5 - views/themes/Material/index.min.js | 1 - views/themes/Material/page.hbs | 8 - views/themes/Material/pay.hbs | 69 ------ views/themes/Material/payment_complete.hbs | 21 -- views/themes/Material/product.hbs | 102 --------- views/themes/Material/shipping-form.hbs | 36 --- views/themes/Material/style.css | 247 -------------------- views/themes/Material/style.min.css | 1 - views/themes/Mono/cart.hbs | 101 -------- views/themes/Mono/checkout.hbs | 5 - views/themes/Mono/front-menu.hbs | 24 -- views/themes/Mono/index.hbs | 70 ------ views/themes/Mono/index.js | 4 - views/themes/Mono/index.min.js | 1 - views/themes/Mono/page.hbs | 8 - views/themes/Mono/pay.hbs | 69 ------ views/themes/Mono/payment_complete.hbs | 21 -- views/themes/Mono/product.hbs | 102 --------- views/themes/Mono/shipping-form.hbs | 36 --- views/themes/Mono/style.css | 253 --------------------- views/themes/Mono/style.min.css | 1 - 26 files changed, 1385 deletions(-) delete mode 100644 views/themes/Material/cart.hbs delete mode 100644 views/themes/Material/checkout.hbs delete mode 100644 views/themes/Material/front-menu.hbs delete mode 100644 views/themes/Material/index.hbs delete mode 100644 views/themes/Material/index.js delete mode 100644 views/themes/Material/index.min.js delete mode 100644 views/themes/Material/page.hbs delete mode 100644 views/themes/Material/pay.hbs delete mode 100644 views/themes/Material/payment_complete.hbs delete mode 100644 views/themes/Material/product.hbs delete mode 100644 views/themes/Material/shipping-form.hbs delete mode 100644 views/themes/Material/style.css delete mode 100644 views/themes/Material/style.min.css delete mode 100644 views/themes/Mono/cart.hbs delete mode 100644 views/themes/Mono/checkout.hbs delete mode 100644 views/themes/Mono/front-menu.hbs delete mode 100644 views/themes/Mono/index.hbs delete mode 100644 views/themes/Mono/index.js delete mode 100644 views/themes/Mono/index.min.js delete mode 100644 views/themes/Mono/page.hbs delete mode 100644 views/themes/Mono/pay.hbs delete mode 100644 views/themes/Mono/payment_complete.hbs delete mode 100644 views/themes/Mono/product.hbs delete mode 100644 views/themes/Mono/shipping-form.hbs delete mode 100644 views/themes/Mono/style.css delete mode 100644 views/themes/Mono/style.min.css diff --git a/views/themes/Material/cart.hbs b/views/themes/Material/cart.hbs deleted file mode 100644 index 3802fc6..0000000 --- a/views/themes/Material/cart.hbs +++ /dev/null @@ -1,101 +0,0 @@ -
-
- {{#if pageCloseBtn}} -
-
- -
-
- {{/if}} -
-
- {{ @root.__ "Cart contents" }} - {{#each @root.session.cart}} -
-
- {{#if productImage}} - {{this.title}} product image {{else}} - {{this.title}} product image {{/if}} -
-
-

- {{this.title}} -

-

-   - {{#each this.options}} - {{#if @last}} - {{@key}}: {{this}} - {{else}} - {{@key}}: {{this}} / - {{/if}} - {{/each}} -

-

-

- - - -
- -
- - - - - - -
-

-
-
- {{currencySymbol ../config.currencySymbol}}{{formatAmount this.totalItemPrice}} -
-
- {{/each}} - {{#if @root.session.cart}} -
-
- {{#ifCond @root.session.shippingCostApplied '===' true}} -
- {{ @root.__ "Shipping" }} - {{currencySymbol config.currencySymbol}}{{formatAmount @root.config.flatShipping}} -
- {{else}} -
- {{ @root.__ "Shipping" }} - FREE -
- {{/ifCond}} -
- Total: - {{currencySymbol config.currencySymbol}}{{formatAmount @root.session.totalCartAmount}} -
-
-
- {{else}} -
-
- Cart empty -
-
- {{/if}} -
-
-
- {{#if @root.session.cart}} -
- -
- {{#ifCond page '!=' 'pay'}} -
- {{#ifCond @root.page '==' 'checkout'}} - {{ @root.__ "Pay now" }} - {{else}} - Checkout - {{/ifCond}} -
- {{/ifCond}} {{/if}} -
-
-
diff --git a/views/themes/Material/checkout.hbs b/views/themes/Material/checkout.hbs deleted file mode 100644 index 77f2977..0000000 --- a/views/themes/Material/checkout.hbs +++ /dev/null @@ -1,5 +0,0 @@ -
-
- {{> themes/Material/cart}} -
-
\ No newline at end of file diff --git a/views/themes/Material/front-menu.hbs b/views/themes/Material/front-menu.hbs deleted file mode 100644 index 46843d2..0000000 --- a/views/themes/Material/front-menu.hbs +++ /dev/null @@ -1,24 +0,0 @@ - \ No newline at end of file diff --git a/views/themes/Material/index.hbs b/views/themes/Material/index.hbs deleted file mode 100644 index 090f88e..0000000 --- a/views/themes/Material/index.hbs +++ /dev/null @@ -1,70 +0,0 @@ -{{> themes/Material/front-menu}} -
- {{#if filtered}} -
- {{#ifCond @root.paginateUrl '==' 'category'}} -

{{ @root.__ "Category" }}: {{@root.searchTerm}}

- {{else}} -

{{ @root.__ "Search results" }}: {{@root.searchTerm}}

- {{/ifCond}} -
- {{/if}} -
- {{#ifCond results.length '==' 0}} -
-

{{ @root.__ "No products found" }}

-
- {{/ifCond}} - {{#each results}} -
-
- {{#if productPermalink}} - - {{else}} - -
- {{#if productImage}} - ... - {{else}} - ... - {{/if}} -
-

- {{this.productTitle}} -

-
- {{/if}} -

- {{currencySymbol ../config.currencySymbol}}{{formatAmount productPrice}} -

-

- {{ @root.__ "Add to cart" }} -

-
-
- {{/each}} -
-
- - - - - -
-
-
-
-
\ No newline at end of file diff --git a/views/themes/Material/index.js b/views/themes/Material/index.js deleted file mode 100644 index ab7839b..0000000 --- a/views/themes/Material/index.js +++ /dev/null @@ -1,5 +0,0 @@ -/* eslint-disable prefer-arrow-callback, no-var, no-tabs */ -$(document).ready(function (){ - $('.materialboxed').materialbox(); - $('select').formSelect(); -}); diff --git a/views/themes/Material/index.min.js b/views/themes/Material/index.min.js deleted file mode 100644 index 7f81199..0000000 --- a/views/themes/Material/index.min.js +++ /dev/null @@ -1 +0,0 @@ -$(document).ready(function(){$(".materialboxed").materialbox(),$("select").formSelect()}); \ No newline at end of file diff --git a/views/themes/Material/page.hbs b/views/themes/Material/page.hbs deleted file mode 100644 index 9465c8e..0000000 --- a/views/themes/Material/page.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{{> themes/Material/front-menu}} -
-
-
- {{{page.pageContent}}} -
-
-
\ No newline at end of file diff --git a/views/themes/Material/pay.hbs b/views/themes/Material/pay.hbs deleted file mode 100644 index 73b3c80..0000000 --- a/views/themes/Material/pay.hbs +++ /dev/null @@ -1,69 +0,0 @@ -
-
- {{#if paymentMessage}} -

{{paymentMessage}}

- {{/if}} -
-
-
-
- {{ @root.__ "Customer details" }} - {{#unless session.customer}} -

{{ @root.__ "Existing customer" }}

-
- -
-
- -
- -
- -
- {{/unless}} - {{#if session.customer}} -
- -
- {{/if}} -
- {{> themes/Material/shipping-form}} - {{#if session.customer}} - {{#ifCond config.paymentGateway '==' 'paypal'}} - {{> payments/paypal}} - {{/ifCond}} - {{/if}} - {{#unless session.customer}} -
-

{{ @root.__ "Enter a password to create an account for next time" }}

-
- -
-
- - {{/unless}} -
- {{#if session.customer}} - {{#ifCond config.paymentGateway '==' 'stripe'}} - {{> partials/payments/stripe}} - {{/ifCond}} - {{#ifCond config.paymentGateway '==' 'authorizenet'}} - {{> partials/payments/authorizenet}} - {{/ifCond}} - {{#ifCond config.paymentGateway '==' 'adyen'}} - {{> partials/payments/adyen}} - {{/ifCond}} - {{/if}} -
-
-
-
-
- {{> themes/Material/cart}} -
-
-
\ No newline at end of file diff --git a/views/themes/Material/payment_complete.hbs b/views/themes/Material/payment_complete.hbs deleted file mode 100644 index dbffd91..0000000 --- a/views/themes/Material/payment_complete.hbs +++ /dev/null @@ -1,21 +0,0 @@ -
-
-
- {{#ifCond result.orderStatus '==' 'Paid'}} -

{{ @root.__ "Your payment has been successfully processed" }}

- {{else}} -

{{ @root.__ "Your payment has failed. Please try again or contact us." }}

- {{/ifCond}} - {{#if result}} -
-

{{ @root.__ "Order ID" }}: {{result._id}}

-

{{ @root.__ "Payment ID" }}: {{result.orderPaymentId}}

-
- {{/if}} - {{#ifCond result.orderStatus '==' 'Paid'}} -

{{ @root.__ "Please retain the details above as a reference of payment." }}

- {{/ifCond}} - Home -
-
-
diff --git a/views/themes/Material/product.hbs b/views/themes/Material/product.hbs deleted file mode 100644 index 2a17e95..0000000 --- a/views/themes/Material/product.hbs +++ /dev/null @@ -1,102 +0,0 @@ -{{> themes/Material/front-menu}} -
-
-
-
-

{{result.productTitle}}

-

{{currencySymbol config.currencySymbol}}{{result.productPrice}}

- {{#if productOptions}} -

{{ @root.__ "Options" }}

-
- {{#each productOptions}} - {{#ifCond this.optType '==' "select"}} - {{../this.optName}} - - {{/ifCond}} - {{#ifCond this.optType '==' "radio"}} - {{#each ../this.optOptions}} - {{../this.optName}} -
- -
- {{/each}} - {{/ifCond}} - {{#ifCond this.optType '==' "checkbox"}} -
- -
- {{/ifCond}} - {{/each}} -
- {{/if}} - {{#if config.trackStock}} - {{#ifCond result.productStock '==' 0}} -
-

- Out of stock -

-
- {{/ifCond}} - {{/if}} -
-

{{ @root.__ "Quantity" }}

-
- - - -
- -
- - - -
-
- {{#if result.productComment}} -
- {{ @root.__ "Leave a comment?" }} - -
- {{/if}} -
- -
-
- {{{productDescription}}} -
-
-
-
- {{#if result.productImage}} -
-
- ... -
-
- {{else}} -
- ... -
- {{/if}} - {{#ifCond images.length '>' 1}} -
- {{#each images}} -
- -
- {{/each}} -
- {{/ifCond}} -
-
-
- \ No newline at end of file diff --git a/views/themes/Material/shipping-form.hbs b/views/themes/Material/shipping-form.hbs deleted file mode 100644 index 2487179..0000000 --- a/views/themes/Material/shipping-form.hbs +++ /dev/null @@ -1,36 +0,0 @@ -
- -
-
- -
-
- -
-
- -
-
- -
-
- - -
-
- -
-
- -
-
- -
-
- -
\ No newline at end of file diff --git a/views/themes/Material/style.css b/views/themes/Material/style.css deleted file mode 100644 index 0af7525..0000000 --- a/views/themes/Material/style.css +++ /dev/null @@ -1,247 +0,0 @@ -@import "https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css"; - -a { - color: #1565c0; -} - -.row .col { - padding: 0; -} - -fieldset { - border: none; -} - -.select-wrapper{ - padding: 0.35em 0.75em 0.625em; -} - -.pagelayout-wrapper{ - padding-top: 30px; - padding-bottom: 30px; -} - -.search-bar-input, #frm_search, .search-bar-input .btn{ - padding-top: 10px; - height: 45px; -} - -#frm_search{ - color: #000; -} - -input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]){ - border-bottom: 1px solid #1565c0; - -webkit-box-shadow: 0 1px 0 0 #1565c0; - box-shadow: 0 1px 0 0 #1565c0; -} - -input:not([type]):focus:not([readonly])+label, input[type=text]:not(.browser-default):focus:not([readonly])+label, input[type=password]:not(.browser-default):focus:not([readonly])+label, input[type=email]:not(.browser-default):focus:not([readonly])+label, input[type=url]:not(.browser-default):focus:not([readonly])+label, input[type=time]:not(.browser-default):focus:not([readonly])+label, input[type=date]:not(.browser-default):focus:not([readonly])+label, input[type=datetime]:not(.browser-default):focus:not([readonly])+label, input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label, input[type=tel]:not(.browser-default):focus:not([readonly])+label, input[type=number]:not(.browser-default):focus:not([readonly])+label, input[type=search]:not(.browser-default):focus:not([readonly])+label, textarea.materialize-textarea:focus:not([readonly])+label { - color: #1565c0; -} - -.searchMenuLocation-side { - padding-right: 0; -} - -.productsWrapper{ - padding-right: 10px; - padding-left: 10px; -} - -.cart-body{ - padding: 0; -} - -.searchBarWrapper{ - padding-right: 0; - padding-left: 0; -} - -.content-body { - margin-bottom: 100px; -} - -.footer{ - padding-top: 0; -} - -.footer h4{ - padding-top: 25px; - font-size: 20px; -} - -.product-price { - padding-bottom: 0; -} - -.title-image-container { - height: auto; - margin-right: 20px; - margin-left: 20px; -} - -.thumbnail-image{ - padding: 20px; -} - -.image-next{ - right: 5px; -} - -.image-prev{ - left: 5px; -} - -.navbar{ - -webkit-box-shadow: none; -} - -.navbarMenuWrapper{ - background-color: #f5f5f5; -} - -.navbarMenu>ul>li>a:hover{ - color: #1565c0 !important; -} - -.navbarMenu{ - padding-right: 0; - padding-left: 0; -} - -.navbarMenu ul li{ - margin-bottom: 5px; -} - -.navbarMenu ul li a{ - color: #000; - font-size: 18px; -} - -.product_wrapper>a:hover{ - color: #1565c0 !important; -} - -.navbar-static-top, .navbar-header, #navbar>.navbar-nav, #navbar>.navbar-nav>li>a{ - margin-bottom: 0; - height: 100px !important; -} - -#navbar>.navbar-nav>li>a{ - padding-top: 35px; -} - -#pager{ - margin-bottom: 20px; -} - -.pagination>li>a{ - color: #000; - background-color: #fff !important; -} - -.pagination>li>a:hover{ - color: #000; -} - -.pag-active a{ - color: #1565c0 !important; -} - -.navbar-brand{ - color: #1565c0 !important; - letter-spacing: 4px; - padding-left: 20px !important; - padding-top: 20px !important; - height: 100px !important; - font-size: 55px !important; -} - -.navbar-brand-image, .navbar-brand{ - height: 80px; - padding-left: 10px; - padding-top: 10px; -} - -.navbar-default .badge { - background-color: #1565c0; -} - -.pushy-link, #empty-cart{ - border-color: #1565c0; - background-color: #1565c0; -} - -.pushy-link:hover, .pushy-link:focus, .pushy-link:active, .pushy-link:active:hover, -#empty-cart:hover, #empty-cart:focus, #empty-cart:active, #empty-cart:active:hover{ - border-color: #1565c0; - background-color: #1565c0; -} - -.navActive>a{ - color: #000; - margin-bottom: 0px; - border-bottom: 5px solid #1565c0; -} - -.navbar-static-top, #navbar, .navbar-header, #navbar>.navbar-nav, #navbar>.navbar-nav>li>a { - background-color: #fff; -} - -.navbar-default .navbar-nav>li>a { - color: #838b8f; - font-size: 20px; -} - -.body_text{ - padding-top: 30px !important; -} - -.product-option-text { - padding-top: 15px; - padding-bottom: 0; -} - -@media only screen and (max-width: 768px){ - .navbar-default .navbar-brand { - padding-top: 10px; - } - - .navbar-default .navbar-nav>li>a{ - font-size: 16px; - } - - .searchBarWrapper{ - padding-top: 10px; - } - - .navbarMenuWrapper{ - padding-left: 0px; - padding-right: 0px; - } - - .navbarMenuOuter{ - padding-left: 0; - padding-right: 0; - } - - .navActive>a { - color: #fff !important; - } - - .navbarMenu { - padding-right: 7.5px; - padding-left: 7.5px; - } - - .navActive>a{ - color: white !important; - background-color: #1565c0; - border-bottom: none; - } - - .footer { - padding-top: 10px; - } -} \ No newline at end of file diff --git a/views/themes/Material/style.min.css b/views/themes/Material/style.min.css deleted file mode 100644 index 05b8316..0000000 --- a/views/themes/Material/style.min.css +++ /dev/null @@ -1 +0,0 @@ -@import url(https://cdnjs.cloudflare.com/ajax/libs/materialize/0.100.2/css/materialize.min.css);a{color:#1565c0}.row .col{padding:0}fieldset{border:none}.select-wrapper{padding:.35em .75em .625em}.pagelayout-wrapper{padding-top:30px;padding-bottom:30px}#frm_search,.search-bar-input,.search-bar-input .btn{padding-top:10px;height:45px}#frm_search{color:#000}input:not([type]):focus:not([readonly]),input[type=date]:not(.browser-default):focus:not([readonly]),input[type=datetime-local]:not(.browser-default):focus:not([readonly]),input[type=datetime]:not(.browser-default):focus:not([readonly]),input[type=email]:not(.browser-default):focus:not([readonly]),input[type=number]:not(.browser-default):focus:not([readonly]),input[type=password]:not(.browser-default):focus:not([readonly]),input[type=search]:not(.browser-default):focus:not([readonly]),input[type=tel]:not(.browser-default):focus:not([readonly]),input[type=text]:not(.browser-default):focus:not([readonly]),input[type=time]:not(.browser-default):focus:not([readonly]),input[type=url]:not(.browser-default):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #1565c0;-webkit-box-shadow:0 1px 0 0 #1565c0;box-shadow:0 1px 0 0 #1565c0}input:not([type]):focus:not([readonly])+label,input[type=date]:not(.browser-default):focus:not([readonly])+label,input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label,input[type=datetime]:not(.browser-default):focus:not([readonly])+label,input[type=email]:not(.browser-default):focus:not([readonly])+label,input[type=number]:not(.browser-default):focus:not([readonly])+label,input[type=password]:not(.browser-default):focus:not([readonly])+label,input[type=search]:not(.browser-default):focus:not([readonly])+label,input[type=tel]:not(.browser-default):focus:not([readonly])+label,input[type=text]:not(.browser-default):focus:not([readonly])+label,input[type=time]:not(.browser-default):focus:not([readonly])+label,input[type=url]:not(.browser-default):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#1565c0}.searchMenuLocation-side{padding-right:0}.productsWrapper{padding-right:10px;padding-left:10px}.cart-body{padding:0}.searchBarWrapper{padding-right:0;padding-left:0}.content-body{margin-bottom:100px}.footer{padding-top:0}.footer h4{padding-top:25px;font-size:20px}.product-price{padding-bottom:0}.title-image-container{height:auto;margin-right:20px;margin-left:20px}.thumbnail-image{padding:20px}.image-next{right:5px}.image-prev{left:5px}.navbar{-webkit-box-shadow:none}.navbarMenuWrapper{background-color:#f5f5f5}.navbarMenu>ul>li>a:hover{color:#1565c0!important}.navbarMenu{padding-right:0;padding-left:0}.navbarMenu ul li{margin-bottom:5px}.navbarMenu ul li a{color:#000;font-size:18px}.product_wrapper>a:hover{color:#1565c0!important}#navbar>.navbar-nav,#navbar>.navbar-nav>li>a,.navbar-header,.navbar-static-top{margin-bottom:0;height:100px!important}#navbar>.navbar-nav>li>a{padding-top:35px}#pager{margin-bottom:20px}.pagination>li>a{color:#000;background-color:#fff!important}.pagination>li>a:hover{color:#000}.pag-active a{color:#1565c0!important}.navbar-brand{color:#1565c0!important;letter-spacing:4px;padding-left:20px!important;padding-top:20px!important;height:100px!important;font-size:55px!important}.navbar-brand,.navbar-brand-image{height:80px;padding-left:10px;padding-top:10px}.navbar-default .badge{background-color:#1565c0}#empty-cart,.pushy-link{border-color:#1565c0;background-color:#1565c0}#empty-cart:active,#empty-cart:active:hover,#empty-cart:focus,#empty-cart:hover,.pushy-link:active,.pushy-link:active:hover,.pushy-link:focus,.pushy-link:hover{border-color:#1565c0;background-color:#1565c0}.navActive>a{color:#000;margin-bottom:0;border-bottom:5px solid #1565c0}#navbar,#navbar>.navbar-nav,#navbar>.navbar-nav>li>a,.navbar-header,.navbar-static-top{background-color:#fff}.navbar-default .navbar-nav>li>a{color:#838b8f;font-size:20px}.body_text{padding-top:30px!important}.product-option-text{padding-top:15px;padding-bottom:0}@media only screen and (max-width:768px){.navbar-default .navbar-brand{padding-top:10px}.navbar-default .navbar-nav>li>a{font-size:16px}.searchBarWrapper{padding-top:10px}.navbarMenuWrapper{padding-left:0;padding-right:0}.navbarMenuOuter{padding-left:0;padding-right:0}.navActive>a{color:#fff!important}.navbarMenu{padding-right:7.5px;padding-left:7.5px}.navActive>a{color:#fff!important;background-color:#1565c0;border-bottom:none}.footer{padding-top:10px}} \ No newline at end of file diff --git a/views/themes/Mono/cart.hbs b/views/themes/Mono/cart.hbs deleted file mode 100644 index b0c2854..0000000 --- a/views/themes/Mono/cart.hbs +++ /dev/null @@ -1,101 +0,0 @@ -
-
- {{#if pageCloseBtn}} -
-
- -
-
- {{/if}} -
-
- {{ @root.__ "Cart contents" }} - {{#each @root.session.cart}} -
-
- {{#if productImage}} - {{this.title}} product image {{else}} - {{this.title}} product image {{/if}} -
-
-

- {{this.title}} -

-

-   - {{#each this.options}} - {{#if @last}} - {{@key}}: {{this}} - {{else}} - {{@key}}: {{this}} / - {{/if}} - {{/each}} -

-

-

- - - -
- -
- - - - - - -
-

-
-
- {{currencySymbol ../config.currencySymbol}}{{formatAmount this.totalItemPrice}} -
-
- {{/each}} - {{#if @root.session.cart}} -
-
- {{#ifCond @root.session.shippingCostApplied '===' true}} -
- {{ @root.__ "Shipping" }} - {{currencySymbol config.currencySymbol}}{{formatAmount @root.config.flatShipping}} -
- {{else}} -
- {{ @root.__ "Shipping" }} - FREE -
- {{/ifCond}} -
- Total: - {{currencySymbol config.currencySymbol}}{{formatAmount @root.session.totalCartAmount}} -
-
-
- {{else}} -
-
- Cart empty -
-
- {{/if}} -
-
-
- {{#if @root.session.cart}} -
- -
- {{#ifCond page '!=' 'pay'}} -
- {{#ifCond @root.page '==' 'checkout'}} - {{ @root.__ "Pay now" }} - {{else}} - Checkout - {{/ifCond}} -
- {{/ifCond}} {{/if}} -
-
-
diff --git a/views/themes/Mono/checkout.hbs b/views/themes/Mono/checkout.hbs deleted file mode 100644 index e5ac8bf..0000000 --- a/views/themes/Mono/checkout.hbs +++ /dev/null @@ -1,5 +0,0 @@ -
-
- {{> themes/Mono/cart}} -
-
\ No newline at end of file diff --git a/views/themes/Mono/front-menu.hbs b/views/themes/Mono/front-menu.hbs deleted file mode 100644 index 6bdc989..0000000 --- a/views/themes/Mono/front-menu.hbs +++ /dev/null @@ -1,24 +0,0 @@ - \ No newline at end of file diff --git a/views/themes/Mono/index.hbs b/views/themes/Mono/index.hbs deleted file mode 100644 index 9616da9..0000000 --- a/views/themes/Mono/index.hbs +++ /dev/null @@ -1,70 +0,0 @@ -{{> themes/Mono/front-menu}} -
- {{#if filtered}} -
- {{#ifCond @root.paginateUrl '==' 'category'}} -

{{ @root.__ "Category" }}: {{@root.searchTerm}}

- {{else}} -

{{ @root.__ "Search results" }}: {{@root.searchTerm}}

- {{/ifCond}} -
- {{/if}} -
- {{#ifCond results.length '==' 0}} -
-

{{ @root.__ "No products found" }}

-
- {{/ifCond}} - {{#each results}} -
-
- {{#if productPermalink}} - - {{else}} - -
- {{#if productImage}} - ... - {{else}} - ... - {{/if}} -
-

- {{this.productTitle}} -

-
- {{/if}} -

- {{currencySymbol ../config.currencySymbol}}{{formatAmount productPrice}} -

-

- {{ @root.__ "Add to cart" }} -

-
-
- {{/each}} -
-
- - - - - -
-
-
-
-
\ No newline at end of file diff --git a/views/themes/Mono/index.js b/views/themes/Mono/index.js deleted file mode 100644 index 83ee526..0000000 --- a/views/themes/Mono/index.js +++ /dev/null @@ -1,4 +0,0 @@ -/* eslint-disable prefer-arrow-callback, no-var, no-tabs */ -$(document).ready(function (){ - $('select').formSelect(); -}); diff --git a/views/themes/Mono/index.min.js b/views/themes/Mono/index.min.js deleted file mode 100644 index 2de9783..0000000 --- a/views/themes/Mono/index.min.js +++ /dev/null @@ -1 +0,0 @@ -$(document).ready(function(){$("select").formSelect()}); \ No newline at end of file diff --git a/views/themes/Mono/page.hbs b/views/themes/Mono/page.hbs deleted file mode 100644 index 2db9643..0000000 --- a/views/themes/Mono/page.hbs +++ /dev/null @@ -1,8 +0,0 @@ -{{> themes/Mono/front-menu}} -
-
-
- {{{page.pageContent}}} -
-
-
\ No newline at end of file diff --git a/views/themes/Mono/pay.hbs b/views/themes/Mono/pay.hbs deleted file mode 100644 index abb5278..0000000 --- a/views/themes/Mono/pay.hbs +++ /dev/null @@ -1,69 +0,0 @@ -
-
- {{#if paymentMessage}} -

{{paymentMessage}}

- {{/if}} -
-
-
-
- {{ @root.__ "Customer details" }} - {{#unless session.customer}} -

{{ @root.__ "Existing customer" }}

-
- -
-
- -
- -
- -
- {{/unless}} - {{#if session.customer}} -
- -
- {{/if}} -
- {{> themes/Mono/shipping-form}} - {{#if session.customer}} - {{#ifCond config.paymentGateway '==' 'paypal'}} - {{> partials/payments/paypal}} - {{/ifCond}} - {{/if}} - {{#unless session.customer}} -
-

{{ @root.__ "Enter a password to create an account for next time" }}

-
- -
-
- - {{/unless}} -
- {{#if session.customer}} - {{#ifCond config.paymentGateway '==' 'stripe'}} - {{> partials/payments/stripe}} - {{/ifCond}} - {{#ifCond config.paymentGateway '==' 'authorizenet'}} - {{> partials/payments/authorizenet}} - {{/ifCond}} - {{#ifCond config.paymentGateway '==' 'adyen'}} - {{> partials/payments/adyen}} - {{/ifCond}} - {{/if}} -
-
-
-
-
- {{> themes/Mono/cart}} -
-
-
diff --git a/views/themes/Mono/payment_complete.hbs b/views/themes/Mono/payment_complete.hbs deleted file mode 100644 index 2ee7e7d..0000000 --- a/views/themes/Mono/payment_complete.hbs +++ /dev/null @@ -1,21 +0,0 @@ -
-
-
- {{#ifCond result.orderStatus '==' 'Paid'}} -

{{ @root.__ "Your payment has been successfully processed" }}

- {{else}} -

{{ @root.__ "Your payment has failed. Please try again or contact us." }}

- {{/ifCond}} - {{#if result}} -
-

{{ @root.__ "Order ID" }}: {{result._id}}

-

{{ @root.__ "Payment ID" }}: {{result.orderPaymentId}}

-
- {{/if}} - {{#ifCond result.orderStatus '==' 'Paid'}} -

{{ @root.__ "Please retain the details above as a reference of payment." }}

- {{/ifCond}} - Home -
-
-
diff --git a/views/themes/Mono/product.hbs b/views/themes/Mono/product.hbs deleted file mode 100644 index a0b78e3..0000000 --- a/views/themes/Mono/product.hbs +++ /dev/null @@ -1,102 +0,0 @@ -{{> themes/Mono/front-menu}} -
-
-
-
-

{{result.productTitle}}

-

{{currencySymbol config.currencySymbol}}{{result.productPrice}}

- {{#if productOptions}} -

{{ @root.__ "Options" }}

-
- {{#each productOptions}} - {{#ifCond this.optType '==' "select"}} - {{../this.optName}} - - {{/ifCond}} - {{#ifCond this.optType '==' "radio"}} - {{#each ../this.optOptions}} - {{../this.optName}} -
- -
- {{/each}} - {{/ifCond}} - {{#ifCond this.optType '==' "checkbox"}} -
- -
- {{/ifCond}} - {{/each}} -
- {{/if}} - {{#if config.trackStock}} - {{#ifCond result.productStock '==' 0}} -
-

- Out of stock -

-
- {{/ifCond}} - {{/if}} -
-

{{ @root.__ "Quantity" }}

-
- - - -
- -
- - - -
-
- {{#if result.productComment}} -
- {{ @root.__ "Leave a comment?" }} - -
- {{/if}} -
- -
-
- {{{productDescription}}} -
-
-
-
- {{#if result.productImage}} -
-
- ... -
-
- {{else}} -
- ... -
- {{/if}} - {{#ifCond images.length '>' 1}} -
- {{#each images}} -
- -
- {{/each}} -
- {{/ifCond}} -
-
-
- \ No newline at end of file diff --git a/views/themes/Mono/shipping-form.hbs b/views/themes/Mono/shipping-form.hbs deleted file mode 100644 index 2487179..0000000 --- a/views/themes/Mono/shipping-form.hbs +++ /dev/null @@ -1,36 +0,0 @@ -
- -
-
- -
-
- -
-
- -
-
- -
-
- - -
-
- -
-
- -
-
- -
-
- -
\ No newline at end of file diff --git a/views/themes/Mono/style.css b/views/themes/Mono/style.css deleted file mode 100644 index 7c0e437..0000000 --- a/views/themes/Mono/style.css +++ /dev/null @@ -1,253 +0,0 @@ -@import "https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css"; - -a { - color: #000; -} - -.row .col { - padding: 0; -} - -fieldset { - border: none; -} - -.select-wrapper{ - padding: 0.35em 0.75em 0.625em; -} - -.pagelayout-wrapper{ - padding-top: 30px; - padding-bottom: 30px; -} - -.search-bar-input, #frm_search, .search-bar-input .btn{ - padding-top: 10px; - height: 45px; -} - -#frm_search{ - color: #000; - padding-left: 10px; -} - -input:not([type]):focus:not([readonly]), input[type=text]:not(.browser-default):focus:not([readonly]), input[type=password]:not(.browser-default):focus:not([readonly]), input[type=email]:not(.browser-default):focus:not([readonly]), input[type=url]:not(.browser-default):focus:not([readonly]), input[type=time]:not(.browser-default):focus:not([readonly]), input[type=date]:not(.browser-default):focus:not([readonly]), input[type=datetime]:not(.browser-default):focus:not([readonly]), input[type=datetime-local]:not(.browser-default):focus:not([readonly]), input[type=tel]:not(.browser-default):focus:not([readonly]), input[type=number]:not(.browser-default):focus:not([readonly]), input[type=search]:not(.browser-default):focus:not([readonly]), textarea.materialize-textarea:focus:not([readonly]){ - border-bottom: 1px solid #000; - -webkit-box-shadow: 0 1px 0 0 #000; - box-shadow: 0 1px 0 0 #000; -} - -input:not([type]):focus:not([readonly])+label, input[type=text]:not(.browser-default):focus:not([readonly])+label, input[type=password]:not(.browser-default):focus:not([readonly])+label, input[type=email]:not(.browser-default):focus:not([readonly])+label, input[type=url]:not(.browser-default):focus:not([readonly])+label, input[type=time]:not(.browser-default):focus:not([readonly])+label, input[type=date]:not(.browser-default):focus:not([readonly])+label, input[type=datetime]:not(.browser-default):focus:not([readonly])+label, input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label, input[type=tel]:not(.browser-default):focus:not([readonly])+label, input[type=number]:not(.browser-default):focus:not([readonly])+label, input[type=search]:not(.browser-default):focus:not([readonly])+label, textarea.materialize-textarea:focus:not([readonly])+label { - color: #000; -} - -.searchMenuLocation-side { - padding-right: 0; -} - -.productsWrapper{ - padding-right: 10px; - padding-left: 10px; -} - -.cart-body{ - padding: 0; -} - -.searchBarWrapper{ - padding-right: 0; - padding-left: 0; -} - -.content-body { - margin-bottom: 100px; -} - -.footer{ - padding-top: 0; -} - -.footer h4{ - padding-top: 25px; - font-size: 20px; -} - -.product-price { - padding-bottom: 0; -} - -.title-image-container { - height: auto; - margin-right: 20px; - margin-left: 20px; -} - -.thumbnail-image{ - padding: 20px; -} - -.image-next{ - right: 5px; -} - -.image-prev{ - left: 5px; -} - -.navbar{ - -webkit-box-shadow: none; -} - -.navbarMenuWrapper{ - background-color: #f5f5f5; -} - -.navbarMenu>ul>li>a:hover{ - color: #000 !important; -} - -.navbarMenu{ - padding-right: 0; - padding-left: 0; -} - -.navbarMenu ul li{ - width: 100%; - margin-bottom: 5px; -} - -.navbarMenu ul li a{ - color: #000; - font-size: 18px; -} - -.product_wrapper>a:hover{ - color: #000 !important; -} - -.navbar-static-top, .navbar-header, #navbar>.navbar-nav, #navbar>.navbar-nav>li>a{ - margin-bottom: 0; - height: 100px !important; -} - -#navbar>.navbar-nav>li>a{ - padding-top: 35px; -} - -#pager{ - margin-bottom: 20px; -} - -.pagination>li>a{ - color: #000; - background-color: #fff !important; -} - -.pagination>li>a:hover{ - color: #000; -} - -.pag-active a{ - color: #000 !important; -} - -.navbar-brand{ - color: #000 !important; - letter-spacing: 4px; - padding-left: 20px !important; - padding-top: 20px !important; - height: 100px !important; - font-size: 55px !important; -} - -.navbar-brand-image, .navbar-brand{ - height: 80px; - padding-left: 10px; - padding-top: 10px; -} - -.navbar-default .badge { - background-color: #000; -} - -#btn_search{ - margin-top: 15px; -} - -.pushy-link, #empty-cart{ - border-color: #000; - background-color: #000; -} - -.pushy-link:hover, .pushy-link:focus, .pushy-link:active, .pushy-link:active:hover, -#empty-cart:hover, #empty-cart:focus, #empty-cart:active, #empty-cart:active:hover{ - border-color: #000; - background-color: #000; -} - -.navActive>a{ - color: #000; - margin-bottom: 0px; - border-left: 5px solid #000; -} - -.navbar-static-top, #navbar, .navbar-header, #navbar>.navbar-nav, #navbar>.navbar-nav>li>a { - background-color: #fff; -} - -.navbar-default .navbar-nav>li>a { - color: #838b8f; - font-size: 20px; -} - -.body_text{ - padding-top: 30px !important; -} - -.product-option-text { - padding-top: 15px; - padding-bottom: 0; -} - -@media only screen and (max-width: 768px){ - .navbar-default .navbar-brand { - padding-top: 10px; - } - - .navbar-default .navbar-nav>li>a{ - font-size: 16px; - } - - .searchBarWrapper{ - padding-top: 10px; - } - - .navbarMenuWrapper{ - padding-left: 0px; - padding-right: 0px; - } - - .navbarMenuOuter{ - padding-left: 0; - padding-right: 0; - } - - .navActive>a { - color: #fff !important; - } - - .navbarMenu { - padding-right: 7.5px; - padding-left: 7.5px; - } - - .navActive>a{ - color: white !important; - background-color: #000; - border-bottom: none; - } - - .footer { - padding-top: 10px; - } -} \ No newline at end of file diff --git a/views/themes/Mono/style.min.css b/views/themes/Mono/style.min.css deleted file mode 100644 index eb3b01f..0000000 --- a/views/themes/Mono/style.min.css +++ /dev/null @@ -1 +0,0 @@ -@import url(https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css);a{color:#000}.row .col{padding:0}fieldset{border:none}.select-wrapper{padding:.35em .75em .625em}.pagelayout-wrapper{padding-top:30px;padding-bottom:30px}#frm_search,.search-bar-input,.search-bar-input .btn{padding-top:10px;height:45px}#frm_search{color:#000;padding-left:10px}input:not([type]):focus:not([readonly]),input[type=date]:not(.browser-default):focus:not([readonly]),input[type=datetime-local]:not(.browser-default):focus:not([readonly]),input[type=datetime]:not(.browser-default):focus:not([readonly]),input[type=email]:not(.browser-default):focus:not([readonly]),input[type=number]:not(.browser-default):focus:not([readonly]),input[type=password]:not(.browser-default):focus:not([readonly]),input[type=search]:not(.browser-default):focus:not([readonly]),input[type=tel]:not(.browser-default):focus:not([readonly]),input[type=text]:not(.browser-default):focus:not([readonly]),input[type=time]:not(.browser-default):focus:not([readonly]),input[type=url]:not(.browser-default):focus:not([readonly]),textarea.materialize-textarea:focus:not([readonly]){border-bottom:1px solid #000;-webkit-box-shadow:0 1px 0 0 #000;box-shadow:0 1px 0 0 #000}input:not([type]):focus:not([readonly])+label,input[type=date]:not(.browser-default):focus:not([readonly])+label,input[type=datetime-local]:not(.browser-default):focus:not([readonly])+label,input[type=datetime]:not(.browser-default):focus:not([readonly])+label,input[type=email]:not(.browser-default):focus:not([readonly])+label,input[type=number]:not(.browser-default):focus:not([readonly])+label,input[type=password]:not(.browser-default):focus:not([readonly])+label,input[type=search]:not(.browser-default):focus:not([readonly])+label,input[type=tel]:not(.browser-default):focus:not([readonly])+label,input[type=text]:not(.browser-default):focus:not([readonly])+label,input[type=time]:not(.browser-default):focus:not([readonly])+label,input[type=url]:not(.browser-default):focus:not([readonly])+label,textarea.materialize-textarea:focus:not([readonly])+label{color:#000}.searchMenuLocation-side{padding-right:0}.productsWrapper{padding-right:10px;padding-left:10px}.cart-body{padding:0}.searchBarWrapper{padding-right:0;padding-left:0}.content-body{margin-bottom:100px}.footer{padding-top:0}.footer h4{padding-top:25px;font-size:20px}.product-price{padding-bottom:0}.title-image-container{height:auto;margin-right:20px;margin-left:20px}.thumbnail-image{padding:20px}.image-next{right:5px}.image-prev{left:5px}.navbar{-webkit-box-shadow:none}.navbarMenuWrapper{background-color:#f5f5f5}.navbarMenu>ul>li>a:hover{color:#000!important}.navbarMenu{padding-right:0;padding-left:0}.navbarMenu ul li{width:100%;margin-bottom:5px}.navbarMenu ul li a{color:#000;font-size:18px}.product_wrapper>a:hover{color:#000!important}#navbar>.navbar-nav,#navbar>.navbar-nav>li>a,.navbar-header,.navbar-static-top{margin-bottom:0;height:100px!important}#navbar>.navbar-nav>li>a{padding-top:35px}#pager{margin-bottom:20px}.pagination>li>a{color:#000;background-color:#fff!important}.pagination>li>a:hover{color:#000}.pag-active a{color:#000!important}.navbar-brand{color:#000!important;letter-spacing:4px;padding-left:20px!important;padding-top:20px!important;height:100px!important;font-size:55px!important}.navbar-brand,.navbar-brand-image{height:80px;padding-left:10px;padding-top:10px}.navbar-default .badge{background-color:#000}#btn_search{margin-top:15px}#empty-cart,.pushy-link{border-color:#000;background-color:#000}#empty-cart:active,#empty-cart:active:hover,#empty-cart:focus,#empty-cart:hover,.pushy-link:active,.pushy-link:active:hover,.pushy-link:focus,.pushy-link:hover{border-color:#000;background-color:#000}.navActive>a{color:#000;margin-bottom:0;border-left:5px solid #000}#navbar,#navbar>.navbar-nav,#navbar>.navbar-nav>li>a,.navbar-header,.navbar-static-top{background-color:#fff}.navbar-default .navbar-nav>li>a{color:#838b8f;font-size:20px}.body_text{padding-top:30px!important}.product-option-text{padding-top:15px;padding-bottom:0}@media only screen and (max-width:768px){.navbar-default .navbar-brand{padding-top:10px}.navbar-default .navbar-nav>li>a{font-size:16px}.searchBarWrapper{padding-top:10px}.navbarMenuWrapper{padding-left:0;padding-right:0}.navbarMenuOuter{padding-left:0;padding-right:0}.navActive>a{color:#fff!important}.navbarMenu{padding-right:7.5px;padding-left:7.5px}.navActive>a{color:#fff!important;background-color:#000;border-bottom:none}.footer{padding-top:10px}} \ No newline at end of file