diff --git a/performance/tests/ripen/article.liquid b/performance/tests/ripen/article.liquid new file mode 100644 index 00000000..3efc26b2 --- /dev/null +++ b/performance/tests/ripen/article.liquid @@ -0,0 +1,74 @@ +
+

{{ article.title }}

+

posted {{ article.created_at | date: "%Y %h" }} by

+ +
+ {{ article.content }} +
+ +
+ + +{% if blog.comments_enabled? %} +
+

Comments

+ + + + + +
+ {% form article %} +

Leave a comment

+ + + {% if form.posted_successfully? %} + {% if blog.moderated? %} +
+ Successfully posted your comment.
+ It will have to be approved by the blog owner first before showing up. +
+ {% else %} +
Successfully posted your comment.
+ {% endif %} + {% endif %} + + {% if form.errors %} +
Not all the fields have been filled out correctly!
+ {% endif %} + +
+
+
+ +
+
+ +
+
+
+ + {% if blog.moderated? %} +

comments have to be approved before showing up

+ {% endif %} + + + {% endform %} +
+ + +
+{% endif %} + \ No newline at end of file diff --git a/performance/tests/ripen/blog.liquid b/performance/tests/ripen/blog.liquid new file mode 100644 index 00000000..aee318a4 --- /dev/null +++ b/performance/tests/ripen/blog.liquid @@ -0,0 +1,13 @@ +
+

{{page.title}}

+ {% for article in blog.articles %} +

+ {{ article.created_at | date: '%d %b' }} + {{ article.title }} +

+ {{ article.content }} + {% if blog.comments_enabled? %} +

{{ article.comments_count }} comments

+ {% endif %} + {% endfor %} +
\ No newline at end of file diff --git a/performance/tests/ripen/cart.liquid b/performance/tests/ripen/cart.liquid new file mode 100644 index 00000000..560358e3 --- /dev/null +++ b/performance/tests/ripen/cart.liquid @@ -0,0 +1,54 @@ + + +
+ + {% if cart.item_count == 0 %} +

Your shopping cart is empty...

+

Continue shopping

+ {% else %} + +

+ + + + + + + + + + + {% for item in cart.items %} + + + + + + + + + {% endfor %} +
ProductQtyPriceTotalRemove
{{ item.product.featured_image | product_img_url: 'thumb' | img_tag }}{{ item.title }}{{ item.price | money }}{{item.line_price | money }}Remove
+

+

+ Subtotal: {{cart.total_price | money_with_currency }} +

+

+ + {% if additional_checkout_buttons %} +
+

- or -

+ {{ content_for_additional_checkout_buttons }} +
+ {% endif %} + +
+ + {% endif %} + +
\ No newline at end of file diff --git a/performance/tests/ripen/collection.liquid b/performance/tests/ripen/collection.liquid new file mode 100644 index 00000000..7ebbbfd0 --- /dev/null +++ b/performance/tests/ripen/collection.liquid @@ -0,0 +1,29 @@ +
+ +{% if collection.description %} +
{{ collection.description }}
+{% endif %} + +{% paginate collection.products by 20 %} + + + + + +{% endpaginate %} +
\ No newline at end of file diff --git a/performance/tests/ripen/index.liquid b/performance/tests/ripen/index.liquid new file mode 100644 index 00000000..61eaa678 --- /dev/null +++ b/performance/tests/ripen/index.liquid @@ -0,0 +1,32 @@ +
+

Featured products...

+ + +
+ {% assign article = pages.frontpage %} + {% if article.content != "" %} +

{{ article.title }}

+ {{ article.content }} + {% else %} + In Admin > Blogs & Pages, create a page with the handle frontpage and it will show up here.
+ {{ "Learn more about handles" | link_to "http://wiki.shopify.com/Handle" }} + {% endif %} +
+
\ No newline at end of file diff --git a/performance/tests/ripen/page.liquid b/performance/tests/ripen/page.liquid new file mode 100644 index 00000000..6f1147a8 --- /dev/null +++ b/performance/tests/ripen/page.liquid @@ -0,0 +1,4 @@ +
+

{{page.title}}

+ {{ page.content }} +
\ No newline at end of file diff --git a/performance/tests/ripen/product.liquid b/performance/tests/ripen/product.liquid new file mode 100644 index 00000000..53c775a3 --- /dev/null +++ b/performance/tests/ripen/product.liquid @@ -0,0 +1,75 @@ +
+

{{ product.title }}

+
+
+ {% for image in product.images %} + {% if forloop.first %} + + {{product.title | escape }} + + {% else %} + + {{product.title | escape }} + + {% endif %} + {% endfor %} +
+ + + + {{ product.price_min | money }}{% if product.price_varies %} - {{ product.price_max | money }}{% endif %} + +
+ {% if product.available %} + +
+ + + +
+ +
+
+ {% else %} + Sold Out! + {% endif %} +
+ +
+ {{ product.description }} +
+
+
+ + + + diff --git a/performance/tests/ripen/theme.liquid b/performance/tests/ripen/theme.liquid new file mode 100644 index 00000000..6861c22f --- /dev/null +++ b/performance/tests/ripen/theme.liquid @@ -0,0 +1,85 @@ + + + + {{shop.name}} - {{page_title}} + + + {{ 'main.css' | asset_url | stylesheet_tag }} + {{ 'shop.js' | asset_url | script_tag }} + + {{ 'mootools.js' | asset_url | script_tag }} + {{ 'slimbox.js' | asset_url | script_tag }} + {{ 'option_selection.js' | shopify_asset_url | script_tag }} + {{ 'slimbox.css' | asset_url | stylesheet_tag }} + + {{ content_for_header }} + + + +

Skip to navigation.

+
+
+ +
+ {{ content_for_layout }} +
+
+ {% if template != 'cart' %} +
+
+
Shopping Cart
+
+ {% if cart.item_count != 0 %} + {{ cart.item_count }} {{ cart.item_count | pluralize: 'item', 'items' }} in your cart + {% else %} + Your cart is empty + {% endif %} +
+
+
+ {% endif %} + + +
+ +
+
+
+ + + + + \ No newline at end of file diff --git a/performance/tests/tribble/404.liquid b/performance/tests/tribble/404.liquid new file mode 100644 index 00000000..0fd3f8b2 --- /dev/null +++ b/performance/tests/tribble/404.liquid @@ -0,0 +1,56 @@ +
+ +
+
+

Oh no!

+
+ Seems like you are looking for something that just isn't here. Try heading back to our main page. Or you can checkout some of our featured products below. +
+
+
+ + +

Featured Products

+ +
+ + + + diff --git a/performance/tests/tribble/article.liquid b/performance/tests/tribble/article.liquid new file mode 100644 index 00000000..86df4a78 --- /dev/null +++ b/performance/tests/tribble/article.liquid @@ -0,0 +1,98 @@ + +
+
+ +
+

{{article.title}}

+
+
{{ article.created_at | date: "%b %d" }}
+ {{ article.content }} +
+ + +{% if blog.comments_enabled? %} +
+

Comments

+ + +
    + {% for comment in article.comments %} +
  • +
    + {{ comment.content }} +
    + +
    + Posted by {{ comment.author }} on {{ comment.created_at | date: "%B %d, %Y" }} +
    +
  • + {% endfor %} +
+ + +
+ {% form article %} +

Leave a comment

+ + + {% if form.posted_successfully? %} + {% if blog.moderated? %} +
+ Successfully posted your comment.
+ It will have to be approved by the blog owner first before showing up. +
+ {% else %} +
Successfully posted your comment.
+ {% endif %} + {% endif %} + + {% if form.errors %} +
Not all the fields have been filled out correctly!
+ {% endif %} + +
+
+
+ +
+
+ +
+
+
+ + {% if blog.moderated? %} +

comments have to be approved before showing up

+ {% endif %} + + + {% endform %} +
+ + +
+{% endif %} + + + +
+
+ +
+

Why Shop With Us?

+ +
+
\ No newline at end of file diff --git a/performance/tests/tribble/blog.liquid b/performance/tests/tribble/blog.liquid new file mode 100644 index 00000000..5277df61 --- /dev/null +++ b/performance/tests/tribble/blog.liquid @@ -0,0 +1,41 @@ +
+
+

Post from our blog...

+ {% paginate blog.articles by 20 %} + {% for article in blog.articles %} + +
+

{{ article.title }}

+
+
{{ article.created_at | date: "%b %d" }}
+ {{ article.content }} +
+
+ + {% endfor %} + +
+ {{ paginate | default_pagination }} +
+ + {% endpaginate %} +
+ +
+

Why Shop With Us?

+ +
+
\ No newline at end of file diff --git a/performance/tests/tribble/cart.liquid b/performance/tests/tribble/cart.liquid new file mode 100644 index 00000000..fb46fab1 --- /dev/null +++ b/performance/tests/tribble/cart.liquid @@ -0,0 +1,134 @@ + + +
. + {% if cart.item_count == 0 %} +

Your cart is currently empty.

+ {% else %} + +

Your Cart ({{ cart.item_count }} {{ cart.item_count | pluralize: 'item', 'items' }}, {{cart.total_price | money_with_currency }} total)

+ +
+ +
+ + + + + + + + + + {% for item in cart.items %} + + + + {% endfor %} +
+ + + + + + + + +
{{ item.product.featured_image | product_img_url: 'thumb' | img_tag }}

{{ item.title }}

{{item.line_price | money }}Remove
+
+ +
+ +
+ {{ pages.shopping-cart.content }} +
+ +

+ Order Total: {{cart.total_price | money_with_currency }} +

+ +

+ +

+ + {% if additional_checkout_buttons %} +
+

- or -

+ {{ content_for_additional_checkout_buttons }} +
+ {% endif %} + +
+ +
+ +
+ + {% endif %} + + + +

Other Products You Might Enjoy

+ + +
+

Why Shop With Us?

+ +
+ +
+ diff --git a/performance/tests/tribble/collection.liquid b/performance/tests/tribble/collection.liquid new file mode 100644 index 00000000..defdf208 --- /dev/null +++ b/performance/tests/tribble/collection.liquid @@ -0,0 +1,70 @@ +
+

{{ collection.title }}

+ {% if collection.description.size > 0 %} +
{{ collection.description }}
+ {% endif %} + + {% paginate collection.products by 8 %} + + + +
+ {{ paginate | default_pagination }} +
+ + +
+

Why Shop With Us?

+ +
+
+ +{% endpaginate %} diff --git a/performance/tests/tribble/index.liquid b/performance/tests/tribble/index.liquid new file mode 100644 index 00000000..04594bdc --- /dev/null +++ b/performance/tests/tribble/index.liquid @@ -0,0 +1,94 @@ +
+
+

Three Great Reasons You Should Shop With Us...

+ +
+
+ +
+ +
{{pages.alert.content}}
+ + + +
+
+

Why Shop With Us?

+
    +
  • +

    24 Hours

    +

    We're always here to help.

    +
  • +
  • +

    No Spam

    +

    We'll never share your info.

    +
  • +
  • +

    Save Energy

    +

    We're green, all the way.

    +
  • +
  • +

    Secure Servers

    +

    Checkout is 256bits encrypted.

    +
  • +
+
+ +
+

Our Company

+ {{pages.about-us.content | truncatewords: 49}} read more

+
+
+ +
+ diff --git a/performance/tests/tribble/page.liquid b/performance/tests/tribble/page.liquid new file mode 100644 index 00000000..402e1fc4 --- /dev/null +++ b/performance/tests/tribble/page.liquid @@ -0,0 +1,56 @@ +
+ +
+
+

{{page.title}}

+
+ {{page.content}} +
+
+
+ + +

Featured Products

+ +
+ + + + diff --git a/performance/tests/tribble/product.liquid b/performance/tests/tribble/product.liquid new file mode 100644 index 00000000..0a94bc5f --- /dev/null +++ b/performance/tests/tribble/product.liquid @@ -0,0 +1,116 @@ +
+

{{ collection.title }} {{ product.title }}

+ + +

Product Tags: + {% for tag in product.tags %} + {{ tag }} | + {% endfor %} +

+ +
+
+

{{ product.title }}

+
+

{{ product.description }}

+
+ + {% if product.available %} +
+ +

Product Options:

+ + + +
+ +
+ +
+ +
+ {% else %} +

Sold out!

+

Sorry, we're all out of this product. Check back often and order when it returns

+ {% endif %} +
+ +
+ {% for image in product.images %} + + {% if forloop.first %} +
+ {{product.title | escape }} +
+ {% else %} + {% endif %} + {% endfor %} + +
    + {% for image in product.images %} + {% if forloop.first %} + {% else %} + +
  • + + {{product.title | escape }} + +
  • + {% endif %} + {% endfor %} +
+
+
+ + + +
+

Why Shop With Us?

+ +
+ +
+ + + + + \ No newline at end of file diff --git a/performance/tests/tribble/search.liquid b/performance/tests/tribble/search.liquid new file mode 100644 index 00000000..cda6d964 --- /dev/null +++ b/performance/tests/tribble/search.liquid @@ -0,0 +1,51 @@ + + + + +
+

Search Results

+ {% if search.performed %} + + {% paginate search.results by 10 %} + + {% if search.results == empty %} +
Your search for "{{search.terms | escape}}" did not yield any results
+ {% else %} + + + + {% endif %} + +
+ {{ paginate | default_pagination }} +
+ + +
+

Why Shop With Us?

+ +
+
+ +{% endpaginate %} +{% endif %} \ No newline at end of file diff --git a/performance/tests/tribble/theme.liquid b/performance/tests/tribble/theme.liquid new file mode 100644 index 00000000..5176db4f --- /dev/null +++ b/performance/tests/tribble/theme.liquid @@ -0,0 +1,90 @@ + + + + {{shop.name}} - {{page_title}} + + + {{ 'reset.css' | asset_url | stylesheet_tag }} + {{ 'style.css' | asset_url | stylesheet_tag }} + + {{ 'lightbox.css' | asset_url | stylesheet_tag }} + {{ 'prototype/1.6/prototype.js' | global_asset_url | script_tag }} + {{ 'scriptaculous/1.8.2/scriptaculous.js' | global_asset_url | script_tag }} + {{ 'lightbox.js' | asset_url | script_tag }} + {{ 'option_selection.js' | shopify_asset_url | script_tag }} + + {{ content_for_header }} + + + +
+ +
+
+

Shopping Cart

+

+ {% if cart.item_count == 0 %} + Your cart is currently empty + {% else %} + {{ cart.item_count }} {{ cart.item_count | pluralize: 'item', 'items' }} - Total: {{cart.total_price | money_with_currency }} - View Cart + {% endif %} +

+
+ +
+

{{shop.name}}

+

Tribble: A Shopify Theme

+ +
+
+ + + + {{ content_for_layout }} + + + +
+ + + \ No newline at end of file diff --git a/performance/tests/vogue/article.liquid b/performance/tests/vogue/article.liquid new file mode 100644 index 00000000..a2dea577 --- /dev/null +++ b/performance/tests/vogue/article.liquid @@ -0,0 +1,66 @@ +
+

{{ article.title }}

+

posted {{ article.created_at | date: "%Y %h" }} by {{ article.author }}

+
+ {{ article.content }} +
+
+ +{% if blog.comments_enabled? %} +
+

Comments

+ + + + + + {% form article %} +

Leave a comment

+ + + {% if form.posted_successfully? %} + {% if blog.moderated? %} +
+ Successfully posted your comment.
+ It will have to be approved by the blog owner first before showing up. +
+ {% else %} +
Successfully posted your comment.
+ {% endif %} + {% endif %} + + {% if form.errors %} +
Not all the fields have been filled out correctly!
+ {% endif %} + +
+
+
+ +
+
+ +
+
+
+ + {% if blog.moderated? %} +

comments have to be approved before showing up

+ {% endif %} + + + {% endform %} +
+{% endif %} \ No newline at end of file diff --git a/performance/tests/vogue/blog.liquid b/performance/tests/vogue/blog.liquid new file mode 100644 index 00000000..63eee803 --- /dev/null +++ b/performance/tests/vogue/blog.liquid @@ -0,0 +1,32 @@ +
+

{{page.title}}

+ +{% paginate blog.articles by 20 %} + + {% for article in blog.articles %} +
+

+ {{ article.title }} +

+ +

+ {% if blog.comments_enabled? %} + {{ article.comments_count }} comments + — + {% endif %} + posted {{ article.created_at | date: "%Y %h" }} by {{ article.author }}

+
+ {{ article.content }} +
+
+ {% endfor %} + + + +{% endpaginate %} + + +
+
\ No newline at end of file diff --git a/performance/tests/vogue/cart.liquid b/performance/tests/vogue/cart.liquid new file mode 100644 index 00000000..c6a5e175 --- /dev/null +++ b/performance/tests/vogue/cart.liquid @@ -0,0 +1,58 @@ +

Shopping Cart

+{% if cart.item_count == 0 %} +

Your shopping basket is empty. Perhaps a featured item below is of interest...

+ + {% tablerow product in collections.frontpage.products cols: 3 limit: 12 %} + + + {% endtablerow %} + +{% else %} + +
+ + + + + + + + {% for item in cart.items %} + + + + + + + {% endfor %} +
Item DescriptionPriceQtyDeleteTotal
+
+ {{ item.title | escape }} +
+
+

{{ item.title }}

+ {{ item.product.description | strip_html | truncate: 120 }} +
+
{{ item.price | money }}{% if item.variant.compare_at_price > item.price %}
{{ item.variant.compare_at_price | money }}{% endif %}
Remove{{ item.line_price | money }}
+
+

Subtotal {{ cart.total_price | money }}

+ + + {% if additional_checkout_buttons %} +
+

- or -

+ {{ content_for_additional_checkout_buttons }} +
+ {% endif %} +
+
{% endif %} \ No newline at end of file diff --git a/performance/tests/vogue/collection.liquid b/performance/tests/vogue/collection.liquid new file mode 100644 index 00000000..f17a3b9c --- /dev/null +++ b/performance/tests/vogue/collection.liquid @@ -0,0 +1,19 @@ +{% paginate collection.products by 12 %}{% if collection.products.size == 0 %} + No products found in this collection.{% else %} +

{{ collection.title }}

+ {{ collection.description }} + + {% tablerow product in collection.products cols: 3 %} + + + {% endtablerow %} + {% if paginate.pages > 1 %} +
+ {{ paginate | default_pagination }} +
{% endif %}{% endif %} +{% endpaginate %} \ No newline at end of file diff --git a/performance/tests/vogue/index.liquid b/performance/tests/vogue/index.liquid new file mode 100644 index 00000000..d94fb952 --- /dev/null +++ b/performance/tests/vogue/index.liquid @@ -0,0 +1,22 @@ +
+ {% assign article = pages.frontpage %} + {% if article.content != "" %} +

{{ article.title }}

+ {{ article.content }} + {% else %} + In Admin > Blogs & Pages, create a page with the handle frontpage and it will show up here.
+ {{ "Learn more about handles" | link_to "http://wiki.shopify.com/Handle" }} + {% endif %} +
+ + + {% tablerow product in collections.frontpage.products cols: 3 limit: 12 %} + + + {% endtablerow %} + \ No newline at end of file diff --git a/performance/tests/vogue/page.liquid b/performance/tests/vogue/page.liquid new file mode 100644 index 00000000..95084e07 --- /dev/null +++ b/performance/tests/vogue/page.liquid @@ -0,0 +1,3 @@ +

{{ page.title }}

+ {{ page.content }} + \ No newline at end of file diff --git a/performance/tests/vogue/product.liquid b/performance/tests/vogue/product.liquid new file mode 100644 index 00000000..3019bdbe --- /dev/null +++ b/performance/tests/vogue/product.liquid @@ -0,0 +1,62 @@ +
+ {% for image in product.images %}{% if forloop.first %}
+ {{ product.title | escape }} +
{% else %} +
+ {{ product.title | escape }} +
{% endif %}{% endfor %} +
+
+

{{ product.title }}

+ {{ product.description }} + + {% if product.available %} +
+ +
+
+ + +
+ + +
+ {% else %} +

This product is temporarily unavailable

+ {% endif %} + +
+ Continue Shopping
+ Browse more {{ product.type | link_to_type }} or additional {{ product.vendor | link_to_vendor }} products. +
+
+ + + + diff --git a/performance/tests/vogue/theme.liquid b/performance/tests/vogue/theme.liquid new file mode 100644 index 00000000..4d21c1d4 --- /dev/null +++ b/performance/tests/vogue/theme.liquid @@ -0,0 +1,122 @@ + + + + +{{ shop.name }} — {{ page_title }} + + +{{ 'stylesheet.css' | asset_url | stylesheet_tag }} + + + +{{ 'mootools.js' | global_asset_url | script_tag }} +{{ 'slimbox.js' | global_asset_url | script_tag }} +{{ 'option_selection.js' | shopify_asset_url | script_tag }} + +{{ content_for_header }} + + + + + + +
+
+ + +
+
+ +
+
+
{% if template == "search" %} +

Search Results

{% endif %} + {{ content_for_layout }} +
{% if template != "cart" %}{% if template != "product" %} + +
+ {% if template == "index" %} + {% if blogs.news.articles.size > 1 %} + Subscribe +

More news

+ + {% endif %} + {% endif %} + + {% if template == "collection" %} +

Collection Tags

+
{% if collection.tags.size == 0 %} + No tags found.{% else %} + {% for tag in collection.tags %}{% if current_tags contains tag %} {{ tag | highlight_active_tag | link_to_remove_tag: tag }}{% else %} {{ tag | highlight_active_tag | link_to_add_tag: tag }}{% endif %}{% unless forloop.last %}, {% endunless %}{% endfor %}{% endif %} +
+ {% endif %} + +

Navigation

+ + + {% if template != "page" %} +

Featured Products

+ + {% endif %} +
{% endif %}{% endif %} +
+
+ + + + + \ No newline at end of file