dugway 0.10.5 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +2 -0
- data/README.md +27 -37
- data/lib/dugway/application.rb +3 -11
- data/lib/dugway/liquifier.rb +0 -1
- data/lib/dugway/store.rb +6 -4
- data/lib/dugway/theme.rb +1 -1
- data/lib/dugway/version.rb +1 -1
- data/spec/features/page_rendering_spec.rb +0 -6
- data/spec/features/shopping_spec.rb +0 -4
- data/spec/spec_helper.rb +6 -7
- data/spec/units/dugway/store_spec.rb +2 -2
- data/spec/units/dugway/theme_spec.rb +1 -1
- metadata +60 -69
- data/CHANGELOG.md +0 -36
- data/lib/dugway/cli/templates/source/checkout.html +0 -34
- data/lib/dugway/cli/templates/source/success.html +0 -5
- data/lib/dugway/liquid/tags/checkout_form.rb +0 -9
- data/spec/fixtures/theme/checkout.html +0 -31
- data/spec/fixtures/theme/success.html +0 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5c008e9180cfe77e584620f91957c811eed52b0
|
|
4
|
+
data.tar.gz: 3d595dd9538b504395e0f86b6c39be10d6c1f543
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e59f19da8341c9ca531158b7c2e559de9d8636daae3bc013ac64f7555c2d04fab51e5c3ddd5b4fefb5c9a64e9e4e66f41e097ab80e6850f6e808b4de8058c25c
|
|
7
|
+
data.tar.gz: 2da291f1cef7a99b27f156a39a454ae67be91f8b8cc1fd4c9dda787912a8689e3387c64cfc2b748793e25c41b63d8dad5578ba9e5563cdc73569a2fb1d1f72e4
|
data/.travis.yml
CHANGED
data/README.md
CHANGED
|
@@ -8,20 +8,15 @@ CoffeeScript, Sass, and LESS. It's awesome.
|
|
|
8
8
|
|
|
9
9
|
[](https://vimeo.com/bigcartel/dugway)
|
|
10
10
|
|
|
11
|
-
##
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
of our [default themes](https://github.com/bigcartel-themes) and its
|
|
21
|
-
settings.json.
|
|
22
|
-
* *Dugway doesn't currently support all discounts and shipping features.* For
|
|
23
|
-
now it's best to test those with a live store so it can interact with actual
|
|
24
|
-
discount and shipping information.
|
|
11
|
+
## Disclaimer
|
|
12
|
+
|
|
13
|
+
_Dugway is used internally by Big Cartel to develop our themes, and only we are
|
|
14
|
+
able to modify a theme's settings.json file, host a theme's assets, and upload
|
|
15
|
+
a fully packaged theme zip. You're free to use Dugway to develop a custom theme,
|
|
16
|
+
or modify one of our [default themes](https://github.com/bigcartel-themes), but
|
|
17
|
+
you'll need to base your settings.json on one of our [default themes](https://github.com/bigcartel-themes),
|
|
18
|
+
host images, fonts, and JavaScript assets separately, and copy/paste theme pages
|
|
19
|
+
individually in the Big Cartel admin._
|
|
25
20
|
|
|
26
21
|
## Install
|
|
27
22
|
|
|
@@ -57,7 +52,6 @@ mytheme
|
|
|
57
52
|
│ ├── stylesheets
|
|
58
53
|
│ │ └── all CSS files for your theme
|
|
59
54
|
│ ├── cart.html
|
|
60
|
-
│ ├── checkout.html
|
|
61
55
|
│ ├── contact.html
|
|
62
56
|
│ ├── home.html
|
|
63
57
|
│ ├── layout.html
|
|
@@ -66,7 +60,6 @@ mytheme
|
|
|
66
60
|
│ ├── products.html
|
|
67
61
|
│ ├── screenshot.jpg
|
|
68
62
|
│ ├── settings.json
|
|
69
|
-
│ ├── success.html
|
|
70
63
|
│ ├── theme.css
|
|
71
64
|
│ └── theme.js
|
|
72
65
|
└── config.ru
|
|
@@ -79,11 +72,9 @@ All of the assets and source code for your theme goes in the **source** director
|
|
|
79
72
|
### HTML
|
|
80
73
|
|
|
81
74
|
Develop the HTML for your theme using our [Theme
|
|
82
|
-
API](
|
|
75
|
+
API](https://developers.bigcartel.com/api/themes). Barebones versions of all
|
|
83
76
|
of the required HTML pages for your theme are provided by default, so feel free
|
|
84
|
-
to expand on those or replace them entirely.
|
|
85
|
-
and **success.html** pages are only used when
|
|
86
|
-
[PayPal Standard checkout](https://help.bigcartel.com/basics/settings/#paypal-standard) is enabled.
|
|
77
|
+
to expand on those or replace them entirely.
|
|
87
78
|
|
|
88
79
|
### CSS & JavaScript
|
|
89
80
|
|
|
@@ -140,29 +131,33 @@ And finally, for you JavaScript folks, we've baked
|
|
|
140
131
|
|
|
141
132
|
You can embed the CSS and JavaScript into your theme by passing the theme
|
|
142
133
|
variable to the
|
|
143
|
-
[theme_css_url](
|
|
144
|
-
and [theme_js_url](
|
|
134
|
+
[theme_css_url](https://developers.bigcartel.com/api/themes#theme_css_url)
|
|
135
|
+
and [theme_js_url](https://developers.bigcartel.com/api/themes#theme_js_url)
|
|
145
136
|
filters.
|
|
146
137
|
|
|
147
138
|
##### CSS (theme.css)
|
|
148
139
|
|
|
149
|
-
```html
|
|
150
|
-
rel="stylesheet" type="text/css">
|
|
140
|
+
```html
|
|
141
|
+
<link href="{{ theme | theme_css_url }}" media="screen" rel="stylesheet" type="text/css">
|
|
142
|
+
```
|
|
151
143
|
|
|
152
144
|
##### JavaScript (theme.js)
|
|
153
145
|
|
|
154
|
-
```html
|
|
155
|
-
type="text/javascript"></script>
|
|
146
|
+
```html
|
|
147
|
+
<script src="{{ theme | theme_js_url }}" type="text/javascript"></script>
|
|
148
|
+
```
|
|
156
149
|
|
|
157
150
|
### Images
|
|
158
151
|
|
|
159
152
|
And as you've probably guessed by now, all images for your theme go in the
|
|
160
153
|
**images** directory. You can reference an image in your code by passing its
|
|
161
154
|
name to the
|
|
162
|
-
[theme_image_url](
|
|
155
|
+
[theme_image_url](https://developers.bigcartel.com/api/themes#theme_image_url)
|
|
163
156
|
filter.
|
|
164
157
|
|
|
165
|
-
```
|
|
158
|
+
```
|
|
159
|
+
{{ 'sample.png' | theme_image_url }}
|
|
160
|
+
```
|
|
166
161
|
|
|
167
162
|
### Fonts
|
|
168
163
|
|
|
@@ -179,18 +174,13 @@ available and not CORS-restricted to specific domains.
|
|
|
179
174
|
{{ 'myfont.woff' | theme_font_url }}
|
|
180
175
|
```
|
|
181
176
|
|
|
182
|
-
### Settings
|
|
183
|
-
|
|
184
|
-
Set your theme's name, version, and customizable options in the
|
|
185
|
-
**settings.json** file. We'll be documenting more about this soon, but for now
|
|
186
|
-
see the starter file generated for you, and check out our [default
|
|
187
|
-
themes](https://github.com/bigcartel-themes).
|
|
188
|
-
|
|
189
177
|
## Running your theme
|
|
190
178
|
|
|
191
179
|
Run your theme in any browser by starting the Dugway server:
|
|
192
180
|
|
|
193
|
-
```
|
|
181
|
+
```
|
|
182
|
+
dugway server
|
|
183
|
+
```
|
|
194
184
|
|
|
195
185
|
By default this will serve your theme at http://0.0.0.0:9292. You can then stop
|
|
196
186
|
the server by hitting CTRL+C.
|
|
@@ -218,7 +208,7 @@ The best way to see your theme under a different light is by previewing it with
|
|
|
218
208
|
a different store's products, categories, pages, currency, and other content.
|
|
219
209
|
To do this, simply set the **store.subdomain** variable in **.dugway.json** to
|
|
220
210
|
any Big Cartel store's subdomain, and Dugway will bring in their content using
|
|
221
|
-
the standard [Big Cartel API](
|
|
211
|
+
the standard [Big Cartel API](https://developers.bigcartel.com/api/themes). By
|
|
222
212
|
default we use **dugway** for
|
|
223
213
|
[dugway.bigcartel.com](http://dugway.bigcartel.com).
|
|
224
214
|
|
data/lib/dugway/application.rb
CHANGED
|
@@ -51,20 +51,12 @@ module Dugway
|
|
|
51
51
|
error('Must have at least one product to checkout')
|
|
52
52
|
redirect_to('/cart')
|
|
53
53
|
else
|
|
54
|
-
|
|
54
|
+
sleep(3)
|
|
55
|
+
cart.reset
|
|
56
|
+
redirect_to('/')
|
|
55
57
|
end
|
|
56
58
|
end
|
|
57
59
|
|
|
58
|
-
get '/success' do
|
|
59
|
-
render_page
|
|
60
|
-
end
|
|
61
|
-
|
|
62
|
-
post '/success' do
|
|
63
|
-
sleep(3) # Give the checkout page time
|
|
64
|
-
cart.reset
|
|
65
|
-
render_page
|
|
66
|
-
end
|
|
67
|
-
|
|
68
60
|
get '/contact' do
|
|
69
61
|
render_page
|
|
70
62
|
end
|
data/lib/dugway/liquifier.rb
CHANGED
|
@@ -8,7 +8,6 @@ Liquid::Template.register_filter(Dugway::Filters::DefaultPagination)
|
|
|
8
8
|
Liquid::Template.register_filter(Dugway::Filters::UrlFilters)
|
|
9
9
|
Liquid::Template.register_filter(Dugway::Filters::FontFilters)
|
|
10
10
|
|
|
11
|
-
Liquid::Template.register_tag(:checkoutform, Dugway::Tags::CheckoutForm)
|
|
12
11
|
Liquid::Template.register_tag(:get, Dugway::Tags::Get)
|
|
13
12
|
Liquid::Template.register_tag(:paginate, Dugway::Tags::Paginate)
|
|
14
13
|
|
data/lib/dugway/store.rb
CHANGED
|
@@ -9,7 +9,7 @@ module Dugway
|
|
|
9
9
|
headers 'User-Agent' => "Dugway #{ Dugway::VERSION }"
|
|
10
10
|
|
|
11
11
|
def initialize(subdomain)
|
|
12
|
-
self.class.base_uri "
|
|
12
|
+
self.class.base_uri "https://api.bigcartel.com/#{ subdomain }"
|
|
13
13
|
end
|
|
14
14
|
|
|
15
15
|
def account
|
|
@@ -22,8 +22,6 @@ module Dugway
|
|
|
22
22
|
{ 'name' => 'Products', 'permalink' => 'products', 'url' => '/products', 'category' => 'theme' },
|
|
23
23
|
{ 'name' => 'Product', 'permalink' => 'product', 'url' => '/product', 'category' => 'theme' },
|
|
24
24
|
{ 'name' => 'Cart', 'permalink' => 'cart', 'url' => '/cart', 'category' => 'theme' },
|
|
25
|
-
{ 'name' => 'Checkout', 'permalink' => 'checkout', 'url' => '/checkout', 'category' => 'theme' },
|
|
26
|
-
{ 'name' => 'Success', 'permalink' => 'success', 'url' => '/success', 'category' => 'theme' },
|
|
27
25
|
{ 'name' => 'Contact', 'permalink' => 'contact', 'url' => '/contact', 'category' => 'theme' },
|
|
28
26
|
{ 'name' => 'Maintenance', 'permalink' => 'maintenance', 'url' => '/maintenance', 'category' => 'theme' }
|
|
29
27
|
]
|
|
@@ -41,7 +39,11 @@ module Dugway
|
|
|
41
39
|
end
|
|
42
40
|
|
|
43
41
|
def page(permalink)
|
|
44
|
-
|
|
42
|
+
if permalink != 'checkout'
|
|
43
|
+
lookup(permalink, pages)
|
|
44
|
+
else
|
|
45
|
+
{ 'name' => 'Checkout', 'permalink' => 'checkout', 'url' => '/checkout', 'category' => 'other' }
|
|
46
|
+
end
|
|
45
47
|
end
|
|
46
48
|
|
|
47
49
|
def categories
|
data/lib/dugway/theme.rb
CHANGED
|
@@ -7,7 +7,7 @@ require 'uglifier'
|
|
|
7
7
|
|
|
8
8
|
module Dugway
|
|
9
9
|
class Theme
|
|
10
|
-
REQUIRED_FILES = %w( cart.html
|
|
10
|
+
REQUIRED_FILES = %w( cart.html contact.html home.html layout.html maintenance.html product.html products.html screenshot.jpg settings.json theme.css theme.js )
|
|
11
11
|
|
|
12
12
|
attr_reader :errors
|
|
13
13
|
|
data/lib/dugway/version.rb
CHANGED
|
@@ -46,12 +46,6 @@ feature 'Page rendering' do
|
|
|
46
46
|
expect(page).to have_content('Your cart is empty')
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
-
scenario 'success.html' do
|
|
50
|
-
visit '/success'
|
|
51
|
-
expect(page).to have_content('Dugway') # layout.html
|
|
52
|
-
expect(page).to have_content('Thank You. Your order has been placed.')
|
|
53
|
-
end
|
|
54
|
-
|
|
55
49
|
scenario 'contact.html' do
|
|
56
50
|
visit '/contact'
|
|
57
51
|
expect(page).to have_content('Dugway') # layout.html
|
|
@@ -9,10 +9,6 @@ feature 'Shopping' do
|
|
|
9
9
|
expect(page).to have_content('Cart ($10.00)')
|
|
10
10
|
|
|
11
11
|
click_button 'Checkout'
|
|
12
|
-
expect(page).to have_content('One moment...')
|
|
13
|
-
|
|
14
|
-
click_button 'Checkout'
|
|
15
|
-
expect(page).to have_content('Thank You. Your order has been placed.')
|
|
16
12
|
expect(page).to have_content('Cart ($0.00)')
|
|
17
13
|
end
|
|
18
14
|
|
data/spec/spec_helper.rb
CHANGED
|
@@ -7,22 +7,21 @@ require 'capybara/rspec'
|
|
|
7
7
|
require 'dugway'
|
|
8
8
|
|
|
9
9
|
RSpec.configure do |config|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
fixture_path = File.join(Dir.pwd, 'spec', 'fixtures')
|
|
11
|
+
|
|
13
12
|
config.before(:each) do
|
|
14
13
|
# Stub api calls
|
|
15
14
|
stub_request(:get, /.*api\.bigcartel\.com.*/).to_return(lambda { |request|
|
|
16
|
-
{ :body => File.new(File.join(
|
|
15
|
+
{ :body => File.new(File.join(fixture_path, 'store', request.uri.path.split('/', 3).last)), :status => 200, :headers => {} }
|
|
17
16
|
})
|
|
18
17
|
|
|
19
18
|
# Stub source directory
|
|
20
|
-
Dugway.stub(:source_dir) {
|
|
21
|
-
File.join(
|
|
19
|
+
Dugway.stub(:source_dir) {
|
|
20
|
+
File.join(fixture_path, 'theme')
|
|
22
21
|
}
|
|
23
22
|
|
|
24
23
|
# Stub theme
|
|
25
|
-
Dugway.stub(:theme) {
|
|
24
|
+
Dugway.stub(:theme) {
|
|
26
25
|
Dugway::Theme.new
|
|
27
26
|
}
|
|
28
27
|
|
|
@@ -14,7 +14,7 @@ describe Dugway::Store do
|
|
|
14
14
|
describe "#theme_pages" do
|
|
15
15
|
it "should return an array of the default theme pages" do
|
|
16
16
|
store.theme_pages.should be_present
|
|
17
|
-
store.theme_pages.size.should ==
|
|
17
|
+
store.theme_pages.size.should == 6
|
|
18
18
|
store.theme_pages.first.should == { 'name' => 'Home', 'permalink' => 'home', 'url' => '/', 'category' => 'theme' }
|
|
19
19
|
end
|
|
20
20
|
end
|
|
@@ -30,7 +30,7 @@ describe Dugway::Store do
|
|
|
30
30
|
describe "#pages" do
|
|
31
31
|
it "should return an array of the combined theme and custom pages" do
|
|
32
32
|
store.pages.should be_present
|
|
33
|
-
store.pages.size.should ==
|
|
33
|
+
store.pages.size.should == 7
|
|
34
34
|
store.pages.first.should == { 'name' => 'Home', 'permalink' => 'home', 'url' => '/', 'category' => 'theme' }
|
|
35
35
|
store.pages.last.should == { 'category' => 'custom', 'content' => "<p>We're really cool!</p>", 'permalink' => 'about-us', 'name' => 'About Us', 'id' => 95821979, 'url' => '/about-us' }
|
|
36
36
|
end
|
|
@@ -140,7 +140,7 @@ describe Dugway::Theme do
|
|
|
140
140
|
|
|
141
141
|
describe "#files" do
|
|
142
142
|
it "should return an array of all files" do
|
|
143
|
-
theme.files.should =~ ["cart.html", "
|
|
143
|
+
theme.files.should =~ ["cart.html", "contact.html", "home.html", "layout.html", "maintenance.html", "product.html", "products.html", "screenshot.jpg", "settings.json", "theme.css", "theme.js", "images/bc_badge.png", "images/logo_bc.png", "images/slideshow/1.gif", "images/slideshow/2.gif", "images/slideshow/3.gif", "images/slideshow/4.gif", "images/slideshow/5.gif", "images/small.svg", "fonts/icons.ttf", "fonts/icons.woff"]
|
|
144
144
|
end
|
|
145
145
|
end
|
|
146
146
|
|
metadata
CHANGED
|
@@ -1,195 +1,195 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: dugway
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.11.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Big Cartel
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2017-10-23 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
|
-
- - ~>
|
|
17
|
+
- - "~>"
|
|
18
18
|
- !ruby/object:Gem::Version
|
|
19
19
|
version: '1.1'
|
|
20
20
|
type: :runtime
|
|
21
21
|
prerelease: false
|
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
|
23
23
|
requirements:
|
|
24
|
-
- - ~>
|
|
24
|
+
- - "~>"
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '1.1'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
28
|
name: rack
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - ~>
|
|
31
|
+
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
33
|
version: 1.4.1
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
|
-
- - ~>
|
|
38
|
+
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
40
|
version: 1.4.1
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rack-mount
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
|
-
- - ~>
|
|
45
|
+
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
47
|
version: 0.8.3
|
|
48
48
|
type: :runtime
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
|
-
- - ~>
|
|
52
|
+
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
54
|
version: 0.8.3
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: activesupport
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
|
-
- - ~>
|
|
59
|
+
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
61
|
version: 3.2.14
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
|
-
- - ~>
|
|
66
|
+
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
68
|
version: 3.2.14
|
|
69
69
|
- !ruby/object:Gem::Dependency
|
|
70
70
|
name: liquid
|
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
|
72
72
|
requirements:
|
|
73
|
-
- - ~>
|
|
73
|
+
- - "~>"
|
|
74
74
|
- !ruby/object:Gem::Version
|
|
75
75
|
version: 2.4.1
|
|
76
76
|
type: :runtime
|
|
77
77
|
prerelease: false
|
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
|
79
79
|
requirements:
|
|
80
|
-
- - ~>
|
|
80
|
+
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: 2.4.1
|
|
83
83
|
- !ruby/object:Gem::Dependency
|
|
84
84
|
name: coffee-script
|
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
|
86
86
|
requirements:
|
|
87
|
-
- - ~>
|
|
87
|
+
- - "~>"
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
89
|
version: 2.2.0
|
|
90
90
|
type: :runtime
|
|
91
91
|
prerelease: false
|
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
|
93
93
|
requirements:
|
|
94
|
-
- - ~>
|
|
94
|
+
- - "~>"
|
|
95
95
|
- !ruby/object:Gem::Version
|
|
96
96
|
version: 2.2.0
|
|
97
97
|
- !ruby/object:Gem::Dependency
|
|
98
98
|
name: sass
|
|
99
99
|
requirement: !ruby/object:Gem::Requirement
|
|
100
100
|
requirements:
|
|
101
|
-
- - ~>
|
|
101
|
+
- - "~>"
|
|
102
102
|
- !ruby/object:Gem::Version
|
|
103
103
|
version: 3.2.5
|
|
104
104
|
type: :runtime
|
|
105
105
|
prerelease: false
|
|
106
106
|
version_requirements: !ruby/object:Gem::Requirement
|
|
107
107
|
requirements:
|
|
108
|
-
- - ~>
|
|
108
|
+
- - "~>"
|
|
109
109
|
- !ruby/object:Gem::Version
|
|
110
110
|
version: 3.2.5
|
|
111
111
|
- !ruby/object:Gem::Dependency
|
|
112
112
|
name: sprockets
|
|
113
113
|
requirement: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
|
115
|
-
- - ~>
|
|
115
|
+
- - "~>"
|
|
116
116
|
- !ruby/object:Gem::Version
|
|
117
117
|
version: '2.0'
|
|
118
118
|
type: :runtime
|
|
119
119
|
prerelease: false
|
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
|
121
121
|
requirements:
|
|
122
|
-
- - ~>
|
|
122
|
+
- - "~>"
|
|
123
123
|
- !ruby/object:Gem::Version
|
|
124
124
|
version: '2.0'
|
|
125
125
|
- !ruby/object:Gem::Dependency
|
|
126
126
|
name: sprockets-sass
|
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
|
128
128
|
requirements:
|
|
129
|
-
- - ~>
|
|
129
|
+
- - "~>"
|
|
130
130
|
- !ruby/object:Gem::Version
|
|
131
131
|
version: 0.9.1
|
|
132
132
|
type: :runtime
|
|
133
133
|
prerelease: false
|
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
|
135
135
|
requirements:
|
|
136
|
-
- - ~>
|
|
136
|
+
- - "~>"
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: 0.9.1
|
|
139
139
|
- !ruby/object:Gem::Dependency
|
|
140
140
|
name: compass
|
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
|
142
142
|
requirements:
|
|
143
|
-
- - ~>
|
|
143
|
+
- - "~>"
|
|
144
144
|
- !ruby/object:Gem::Version
|
|
145
145
|
version: 0.12.2
|
|
146
146
|
type: :runtime
|
|
147
147
|
prerelease: false
|
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
|
149
149
|
requirements:
|
|
150
|
-
- - ~>
|
|
150
|
+
- - "~>"
|
|
151
151
|
- !ruby/object:Gem::Version
|
|
152
152
|
version: 0.12.2
|
|
153
153
|
- !ruby/object:Gem::Dependency
|
|
154
154
|
name: httparty
|
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
|
156
156
|
requirements:
|
|
157
|
-
- - ~>
|
|
157
|
+
- - "~>"
|
|
158
158
|
- !ruby/object:Gem::Version
|
|
159
159
|
version: 0.10.0
|
|
160
160
|
type: :runtime
|
|
161
161
|
prerelease: false
|
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
|
163
163
|
requirements:
|
|
164
|
-
- - ~>
|
|
164
|
+
- - "~>"
|
|
165
165
|
- !ruby/object:Gem::Version
|
|
166
166
|
version: 0.10.0
|
|
167
167
|
- !ruby/object:Gem::Dependency
|
|
168
168
|
name: better_errors
|
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|
|
170
170
|
requirements:
|
|
171
|
-
- - ~>
|
|
171
|
+
- - "~>"
|
|
172
172
|
- !ruby/object:Gem::Version
|
|
173
173
|
version: 0.9.0
|
|
174
174
|
type: :runtime
|
|
175
175
|
prerelease: false
|
|
176
176
|
version_requirements: !ruby/object:Gem::Requirement
|
|
177
177
|
requirements:
|
|
178
|
-
- - ~>
|
|
178
|
+
- - "~>"
|
|
179
179
|
- !ruby/object:Gem::Version
|
|
180
180
|
version: 0.9.0
|
|
181
181
|
- !ruby/object:Gem::Dependency
|
|
182
182
|
name: will_paginate
|
|
183
183
|
requirement: !ruby/object:Gem::Requirement
|
|
184
184
|
requirements:
|
|
185
|
-
- - ~>
|
|
185
|
+
- - "~>"
|
|
186
186
|
- !ruby/object:Gem::Version
|
|
187
187
|
version: 3.0.4
|
|
188
188
|
type: :runtime
|
|
189
189
|
prerelease: false
|
|
190
190
|
version_requirements: !ruby/object:Gem::Requirement
|
|
191
191
|
requirements:
|
|
192
|
-
- - ~>
|
|
192
|
+
- - "~>"
|
|
193
193
|
- !ruby/object:Gem::Version
|
|
194
194
|
version: 3.0.4
|
|
195
195
|
- !ruby/object:Gem::Dependency
|
|
@@ -210,182 +210,182 @@ dependencies:
|
|
|
210
210
|
name: htmlentities
|
|
211
211
|
requirement: !ruby/object:Gem::Requirement
|
|
212
212
|
requirements:
|
|
213
|
-
- - ~>
|
|
213
|
+
- - "~>"
|
|
214
214
|
- !ruby/object:Gem::Version
|
|
215
215
|
version: 4.3.1
|
|
216
216
|
type: :runtime
|
|
217
217
|
prerelease: false
|
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
|
219
219
|
requirements:
|
|
220
|
-
- - ~>
|
|
220
|
+
- - "~>"
|
|
221
221
|
- !ruby/object:Gem::Version
|
|
222
222
|
version: 4.3.1
|
|
223
223
|
- !ruby/object:Gem::Dependency
|
|
224
224
|
name: thor
|
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|
|
226
226
|
requirements:
|
|
227
|
-
- - ~>
|
|
227
|
+
- - "~>"
|
|
228
228
|
- !ruby/object:Gem::Version
|
|
229
229
|
version: 0.17.0
|
|
230
230
|
type: :runtime
|
|
231
231
|
prerelease: false
|
|
232
232
|
version_requirements: !ruby/object:Gem::Requirement
|
|
233
233
|
requirements:
|
|
234
|
-
- - ~>
|
|
234
|
+
- - "~>"
|
|
235
235
|
- !ruby/object:Gem::Version
|
|
236
236
|
version: 0.17.0
|
|
237
237
|
- !ruby/object:Gem::Dependency
|
|
238
238
|
name: rubyzip
|
|
239
239
|
requirement: !ruby/object:Gem::Requirement
|
|
240
240
|
requirements:
|
|
241
|
-
- - ~>
|
|
241
|
+
- - "~>"
|
|
242
242
|
- !ruby/object:Gem::Version
|
|
243
243
|
version: 0.9.9
|
|
244
244
|
type: :runtime
|
|
245
245
|
prerelease: false
|
|
246
246
|
version_requirements: !ruby/object:Gem::Requirement
|
|
247
247
|
requirements:
|
|
248
|
-
- - ~>
|
|
248
|
+
- - "~>"
|
|
249
249
|
- !ruby/object:Gem::Version
|
|
250
250
|
version: 0.9.9
|
|
251
251
|
- !ruby/object:Gem::Dependency
|
|
252
252
|
name: uglifier
|
|
253
253
|
requirement: !ruby/object:Gem::Requirement
|
|
254
254
|
requirements:
|
|
255
|
-
- - ~>
|
|
255
|
+
- - "~>"
|
|
256
256
|
- !ruby/object:Gem::Version
|
|
257
257
|
version: 1.3.0
|
|
258
258
|
type: :runtime
|
|
259
259
|
prerelease: false
|
|
260
260
|
version_requirements: !ruby/object:Gem::Requirement
|
|
261
261
|
requirements:
|
|
262
|
-
- - ~>
|
|
262
|
+
- - "~>"
|
|
263
263
|
- !ruby/object:Gem::Version
|
|
264
264
|
version: 1.3.0
|
|
265
265
|
- !ruby/object:Gem::Dependency
|
|
266
266
|
name: thin
|
|
267
267
|
requirement: !ruby/object:Gem::Requirement
|
|
268
268
|
requirements:
|
|
269
|
-
- - ~>
|
|
269
|
+
- - "~>"
|
|
270
270
|
- !ruby/object:Gem::Version
|
|
271
271
|
version: 1.5.0
|
|
272
272
|
type: :runtime
|
|
273
273
|
prerelease: false
|
|
274
274
|
version_requirements: !ruby/object:Gem::Requirement
|
|
275
275
|
requirements:
|
|
276
|
-
- - ~>
|
|
276
|
+
- - "~>"
|
|
277
277
|
- !ruby/object:Gem::Version
|
|
278
278
|
version: 1.5.0
|
|
279
279
|
- !ruby/object:Gem::Dependency
|
|
280
280
|
name: bigcartel-theme-fonts
|
|
281
281
|
requirement: !ruby/object:Gem::Requirement
|
|
282
282
|
requirements:
|
|
283
|
-
- -
|
|
283
|
+
- - ">="
|
|
284
284
|
- !ruby/object:Gem::Version
|
|
285
285
|
version: '0'
|
|
286
286
|
type: :runtime
|
|
287
287
|
prerelease: false
|
|
288
288
|
version_requirements: !ruby/object:Gem::Requirement
|
|
289
289
|
requirements:
|
|
290
|
-
- -
|
|
290
|
+
- - ">="
|
|
291
291
|
- !ruby/object:Gem::Version
|
|
292
292
|
version: '0'
|
|
293
293
|
- !ruby/object:Gem::Dependency
|
|
294
294
|
name: bigcartel-currency-locales
|
|
295
295
|
requirement: !ruby/object:Gem::Requirement
|
|
296
296
|
requirements:
|
|
297
|
-
- -
|
|
297
|
+
- - ">="
|
|
298
298
|
- !ruby/object:Gem::Version
|
|
299
299
|
version: '0'
|
|
300
300
|
type: :runtime
|
|
301
301
|
prerelease: false
|
|
302
302
|
version_requirements: !ruby/object:Gem::Requirement
|
|
303
303
|
requirements:
|
|
304
|
-
- -
|
|
304
|
+
- - ">="
|
|
305
305
|
- !ruby/object:Gem::Version
|
|
306
306
|
version: '0'
|
|
307
307
|
- !ruby/object:Gem::Dependency
|
|
308
308
|
name: rake
|
|
309
309
|
requirement: !ruby/object:Gem::Requirement
|
|
310
310
|
requirements:
|
|
311
|
-
- - ~>
|
|
311
|
+
- - "~>"
|
|
312
312
|
- !ruby/object:Gem::Version
|
|
313
313
|
version: 10.0.3
|
|
314
314
|
type: :development
|
|
315
315
|
prerelease: false
|
|
316
316
|
version_requirements: !ruby/object:Gem::Requirement
|
|
317
317
|
requirements:
|
|
318
|
-
- - ~>
|
|
318
|
+
- - "~>"
|
|
319
319
|
- !ruby/object:Gem::Version
|
|
320
320
|
version: 10.0.3
|
|
321
321
|
- !ruby/object:Gem::Dependency
|
|
322
322
|
name: rspec
|
|
323
323
|
requirement: !ruby/object:Gem::Requirement
|
|
324
324
|
requirements:
|
|
325
|
-
- - ~>
|
|
325
|
+
- - "~>"
|
|
326
326
|
- !ruby/object:Gem::Version
|
|
327
327
|
version: 2.12.0
|
|
328
328
|
type: :development
|
|
329
329
|
prerelease: false
|
|
330
330
|
version_requirements: !ruby/object:Gem::Requirement
|
|
331
331
|
requirements:
|
|
332
|
-
- - ~>
|
|
332
|
+
- - "~>"
|
|
333
333
|
- !ruby/object:Gem::Version
|
|
334
334
|
version: 2.12.0
|
|
335
335
|
- !ruby/object:Gem::Dependency
|
|
336
336
|
name: webmock
|
|
337
337
|
requirement: !ruby/object:Gem::Requirement
|
|
338
338
|
requirements:
|
|
339
|
-
- - ~>
|
|
339
|
+
- - "~>"
|
|
340
340
|
- !ruby/object:Gem::Version
|
|
341
341
|
version: 1.9.3
|
|
342
342
|
type: :development
|
|
343
343
|
prerelease: false
|
|
344
344
|
version_requirements: !ruby/object:Gem::Requirement
|
|
345
345
|
requirements:
|
|
346
|
-
- - ~>
|
|
346
|
+
- - "~>"
|
|
347
347
|
- !ruby/object:Gem::Version
|
|
348
348
|
version: 1.9.3
|
|
349
349
|
- !ruby/object:Gem::Dependency
|
|
350
350
|
name: json_expressions
|
|
351
351
|
requirement: !ruby/object:Gem::Requirement
|
|
352
352
|
requirements:
|
|
353
|
-
- - ~>
|
|
353
|
+
- - "~>"
|
|
354
354
|
- !ruby/object:Gem::Version
|
|
355
355
|
version: 0.8.2
|
|
356
356
|
type: :development
|
|
357
357
|
prerelease: false
|
|
358
358
|
version_requirements: !ruby/object:Gem::Requirement
|
|
359
359
|
requirements:
|
|
360
|
-
- - ~>
|
|
360
|
+
- - "~>"
|
|
361
361
|
- !ruby/object:Gem::Version
|
|
362
362
|
version: 0.8.2
|
|
363
363
|
- !ruby/object:Gem::Dependency
|
|
364
364
|
name: capybara
|
|
365
365
|
requirement: !ruby/object:Gem::Requirement
|
|
366
366
|
requirements:
|
|
367
|
-
- - ~>
|
|
367
|
+
- - "~>"
|
|
368
368
|
- !ruby/object:Gem::Version
|
|
369
369
|
version: 2.0.2
|
|
370
370
|
type: :development
|
|
371
371
|
prerelease: false
|
|
372
372
|
version_requirements: !ruby/object:Gem::Requirement
|
|
373
373
|
requirements:
|
|
374
|
-
- - ~>
|
|
374
|
+
- - "~>"
|
|
375
375
|
- !ruby/object:Gem::Version
|
|
376
376
|
version: 2.0.2
|
|
377
377
|
- !ruby/object:Gem::Dependency
|
|
378
378
|
name: simplecov
|
|
379
379
|
requirement: !ruby/object:Gem::Requirement
|
|
380
380
|
requirements:
|
|
381
|
-
- - ~>
|
|
381
|
+
- - "~>"
|
|
382
382
|
- !ruby/object:Gem::Version
|
|
383
383
|
version: 0.7.1
|
|
384
384
|
type: :development
|
|
385
385
|
prerelease: false
|
|
386
386
|
version_requirements: !ruby/object:Gem::Requirement
|
|
387
387
|
requirements:
|
|
388
|
-
- - ~>
|
|
388
|
+
- - "~>"
|
|
389
389
|
- !ruby/object:Gem::Version
|
|
390
390
|
version: 0.7.1
|
|
391
391
|
description: Dugway allows you to run your Big Cartel theme on your computer, test
|
|
@@ -397,10 +397,9 @@ executables:
|
|
|
397
397
|
extensions: []
|
|
398
398
|
extra_rdoc_files: []
|
|
399
399
|
files:
|
|
400
|
-
- .gitignore
|
|
401
|
-
- .rspec
|
|
402
|
-
- .travis.yml
|
|
403
|
-
- CHANGELOG.md
|
|
400
|
+
- ".gitignore"
|
|
401
|
+
- ".rspec"
|
|
402
|
+
- ".travis.yml"
|
|
404
403
|
- Gemfile
|
|
405
404
|
- LICENSE.txt
|
|
406
405
|
- README.md
|
|
@@ -418,7 +417,6 @@ files:
|
|
|
418
417
|
- lib/dugway/cli/templates/dugway.tt
|
|
419
418
|
- lib/dugway/cli/templates/gitignore.tt
|
|
420
419
|
- lib/dugway/cli/templates/source/cart.html
|
|
421
|
-
- lib/dugway/cli/templates/source/checkout.html
|
|
422
420
|
- lib/dugway/cli/templates/source/contact.html
|
|
423
421
|
- lib/dugway/cli/templates/source/fonts/.keep
|
|
424
422
|
- lib/dugway/cli/templates/source/home.html
|
|
@@ -437,7 +435,6 @@ files:
|
|
|
437
435
|
- lib/dugway/cli/templates/source/stylesheets/product.css.sass
|
|
438
436
|
- lib/dugway/cli/templates/source/stylesheets/products.css.sass
|
|
439
437
|
- lib/dugway/cli/templates/source/stylesheets/vendor/normalize.css
|
|
440
|
-
- lib/dugway/cli/templates/source/success.html
|
|
441
438
|
- lib/dugway/cli/templates/source/theme.css
|
|
442
439
|
- lib/dugway/cli/templates/source/theme.js
|
|
443
440
|
- lib/dugway/contact_form_validator.rb
|
|
@@ -470,7 +467,6 @@ files:
|
|
|
470
467
|
- lib/dugway/liquid/filters/font_filters.rb
|
|
471
468
|
- lib/dugway/liquid/filters/url_filters.rb
|
|
472
469
|
- lib/dugway/liquid/filters/util_filters.rb
|
|
473
|
-
- lib/dugway/liquid/tags/checkout_form.rb
|
|
474
470
|
- lib/dugway/liquid/tags/get.rb
|
|
475
471
|
- lib/dugway/liquid/tags/paginate.rb
|
|
476
472
|
- lib/dugway/liquifier.rb
|
|
@@ -488,7 +484,6 @@ files:
|
|
|
488
484
|
- spec/fixtures/store/products.json
|
|
489
485
|
- spec/fixtures/store/store.json
|
|
490
486
|
- spec/fixtures/theme/cart.html
|
|
491
|
-
- spec/fixtures/theme/checkout.html
|
|
492
487
|
- spec/fixtures/theme/contact.html
|
|
493
488
|
- spec/fixtures/theme/fonts/icons.ttf
|
|
494
489
|
- spec/fixtures/theme/fonts/icons.woff
|
|
@@ -512,7 +507,6 @@ files:
|
|
|
512
507
|
- spec/fixtures/theme/stylesheets/_partial.css
|
|
513
508
|
- spec/fixtures/theme/stylesheets/one.css
|
|
514
509
|
- spec/fixtures/theme/stylesheets/two.css.sass
|
|
515
|
-
- spec/fixtures/theme/success.html
|
|
516
510
|
- spec/fixtures/theme/theme.css
|
|
517
511
|
- spec/fixtures/theme/theme.js
|
|
518
512
|
- spec/spec_helper.rb
|
|
@@ -555,17 +549,17 @@ require_paths:
|
|
|
555
549
|
- lib
|
|
556
550
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
557
551
|
requirements:
|
|
558
|
-
- -
|
|
552
|
+
- - ">="
|
|
559
553
|
- !ruby/object:Gem::Version
|
|
560
554
|
version: '0'
|
|
561
555
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
562
556
|
requirements:
|
|
563
|
-
- -
|
|
557
|
+
- - ">="
|
|
564
558
|
- !ruby/object:Gem::Version
|
|
565
559
|
version: '0'
|
|
566
560
|
requirements: []
|
|
567
561
|
rubyforge_project:
|
|
568
|
-
rubygems_version: 2.
|
|
562
|
+
rubygems_version: 2.6.11
|
|
569
563
|
signing_key:
|
|
570
564
|
specification_version: 4
|
|
571
565
|
summary: Easily build and test Big Cartel themes.
|
|
@@ -577,7 +571,6 @@ test_files:
|
|
|
577
571
|
- spec/fixtures/store/products.json
|
|
578
572
|
- spec/fixtures/store/store.json
|
|
579
573
|
- spec/fixtures/theme/cart.html
|
|
580
|
-
- spec/fixtures/theme/checkout.html
|
|
581
574
|
- spec/fixtures/theme/contact.html
|
|
582
575
|
- spec/fixtures/theme/fonts/icons.ttf
|
|
583
576
|
- spec/fixtures/theme/fonts/icons.woff
|
|
@@ -601,7 +594,6 @@ test_files:
|
|
|
601
594
|
- spec/fixtures/theme/stylesheets/_partial.css
|
|
602
595
|
- spec/fixtures/theme/stylesheets/one.css
|
|
603
596
|
- spec/fixtures/theme/stylesheets/two.css.sass
|
|
604
|
-
- spec/fixtures/theme/success.html
|
|
605
597
|
- spec/fixtures/theme/theme.css
|
|
606
598
|
- spec/fixtures/theme/theme.js
|
|
607
599
|
- spec/spec_helper.rb
|
|
@@ -634,4 +626,3 @@ test_files:
|
|
|
634
626
|
- spec/units/dugway/store_spec.rb
|
|
635
627
|
- spec/units/dugway/template_spec.rb
|
|
636
628
|
- spec/units/dugway/theme_spec.rb
|
|
637
|
-
has_rdoc:
|
data/CHANGELOG.md
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
## Version History
|
|
2
|
-
|
|
3
|
-
#### 0.10.3
|
|
4
|
-
|
|
5
|
-
* Added `.dugway.json` as a better way to [test your theme](https://github.com/bigcartel/dugway#testing-your-theme) without needing to modify `config.ru`
|
|
6
|
-
|
|
7
|
-
#### 0.10.2
|
|
8
|
-
|
|
9
|
-
* Misc bug fixes and improvements
|
|
10
|
-
|
|
11
|
-
#### 0.10.1
|
|
12
|
-
|
|
13
|
-
* Misc bug fixes and improvements
|
|
14
|
-
|
|
15
|
-
#### 0.10.0
|
|
16
|
-
|
|
17
|
-
* Added support for default images in `settings.json`
|
|
18
|
-
|
|
19
|
-
#### 0.9.0
|
|
20
|
-
|
|
21
|
-
* Added support for `theme_font_url` liquid filter
|
|
22
|
-
* Added fonts directory, serve fonts from there
|
|
23
|
-
* `dugway build` will include font files in the zip
|
|
24
|
-
|
|
25
|
-
#### 0.8.4
|
|
26
|
-
|
|
27
|
-
* Support `image_sets` in `settings.json`
|
|
28
|
-
* Support the new [constrain](http://help.bigcartel.com/developers/themes/#constrainurl-width-height) filter
|
|
29
|
-
|
|
30
|
-
#### 0.7.0
|
|
31
|
-
|
|
32
|
-
* Rename `scripts.js` and `styles.css` to `theme.js` and `theme.css`
|
|
33
|
-
|
|
34
|
-
#### Pre-0.7.0
|
|
35
|
-
|
|
36
|
-
* Initial launch and bug fixes
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>{{ store.name }} — {{ page.name }}</title>
|
|
5
|
-
|
|
6
|
-
<meta charset="utf-8">
|
|
7
|
-
<meta name="description" content="{{ page.meta_description }}">
|
|
8
|
-
<meta name="keywords" content="{{ page.meta_keywords }}">
|
|
9
|
-
|
|
10
|
-
<link href="{{ theme | theme_css_url }}" media="screen" rel="stylesheet" type="text/css">
|
|
11
|
-
|
|
12
|
-
<script type="text/javascript" charset="utf-8">
|
|
13
|
-
function checkout() {
|
|
14
|
-
if(top != self) {
|
|
15
|
-
top.location.replace(self.location.href);
|
|
16
|
-
} else {
|
|
17
|
-
document.checkout_form.submit();
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
</script>
|
|
21
|
-
|
|
22
|
-
{{ head_content }}
|
|
23
|
-
</head>
|
|
24
|
-
|
|
25
|
-
<body id="{{ page.permalink }}" class="{{ page.category }}" onload="checkout();">
|
|
26
|
-
<h1>One moment…</h1>
|
|
27
|
-
|
|
28
|
-
{% checkoutform %}
|
|
29
|
-
<noscript>
|
|
30
|
-
<button type="submit" name="checkout" title="Checkout">Checkout</button>
|
|
31
|
-
</noscript>
|
|
32
|
-
{% endcheckoutform %}
|
|
33
|
-
</body>
|
|
34
|
-
</html>
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<head>
|
|
3
|
-
<title>{{ store.name }} — {{ page.name }}</title>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta name="description" content="{{ page.meta_description }}">
|
|
6
|
-
<meta name="keywords" content="{{ page.meta_keywords }}">
|
|
7
|
-
<link href="{{ theme | theme_css_url }}" media="screen" rel="stylesheet" type="text/css">
|
|
8
|
-
<script type="text/javascript" charset="utf-8">
|
|
9
|
-
function checkout() {
|
|
10
|
-
if(top != self) {
|
|
11
|
-
top.location.replace(self.location.href);
|
|
12
|
-
} else {
|
|
13
|
-
document.checkout_form.submit();
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
</script>
|
|
17
|
-
{{ head_content }}
|
|
18
|
-
</head>
|
|
19
|
-
|
|
20
|
-
<body id="{{ page.permalink }}" class="{{ page.category }}" onload="checkout();">
|
|
21
|
-
<div>
|
|
22
|
-
<h2>One moment...</h2>
|
|
23
|
-
</div>
|
|
24
|
-
|
|
25
|
-
{% checkoutform %}
|
|
26
|
-
<noscript>
|
|
27
|
-
<input type="submit" value="Checkout" />
|
|
28
|
-
</noscript>
|
|
29
|
-
{% endcheckoutform %}
|
|
30
|
-
</body>
|
|
31
|
-
</html>
|