Skip to content
This repository has been archived by the owner on Aug 30, 2018. It is now read-only.

Commit

Permalink
Slight refactor of customer pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cshold committed Jun 12, 2014
1 parent 2f71704 commit 7d2a814
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 12 deletions.
2 changes: 2 additions & 0 deletions templates/customers/account.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@

<h1>My Account</h1>

<hr class="hr-small">

<div class="grid">

<div class="grid-item two-thirds medium-down--one-whole">
Expand Down
25 changes: 13 additions & 12 deletions templates/customers/addresses.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,21 @@

{% layout settings.customer_layout %}

<div class="grid">
<div class="grid-item large--two-thirds push--large--one-sixth">
<header class="section-header">
<h1 class="section-header--left">My Account</h1>
<div class="section-header--right">
<a href="#" class="btn" onclick="Shopify.CustomerAddress.toggleNewForm(); return false;">Add New Address</a>
</div>
</header>

<p><a href="/account">Return to Account Details</a></p>
<hr class="hr-small">

<header class="section-header">
<p class="h1 section-header--left">My Account</p>
<div class="section-header--right">
<a href="#" class="btn btn--small" onclick="Shopify.CustomerAddress.toggleNewForm(); return false;">Add New Address</a>
</div>
</header>
<div class="grid">

<hr class="hr-small">
<div class="grid-item one-third medium-down--one-whole">
<p><a href="/account">Return to Account Details</a></p>
</div>
<div class="grid-item two-thirds medium-down--one-whole">

{% comment %}
Add address form, hidden by default
Expand Down Expand Up @@ -205,9 +207,8 @@
{% endif %}

{% endpaginate %}


</div>

</div>


Expand Down

0 comments on commit 7d2a814

Please sign in to comment.