summaryrefslogtreecommitdiff
path: root/views
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2015-01-30 01:26:46 -0500
committerJules Laplace <jules@okfoc.us>2015-01-30 01:26:46 -0500
commit1d88890a988b255c915d0472297b18a2635f6433 (patch)
tree19792d2dfd6769a2e5d2b86c7a626fa7f5b459e7 /views
parentf55d634b7b24b6af0fb7dd017544a79672bb1bc7 (diff)
ui boilerplate
Diffstat (limited to 'views')
-rw-r--r--views/partials/edit-subscription.ejs28
1 files changed, 14 insertions, 14 deletions
diff --git a/views/partials/edit-subscription.ejs b/views/partials/edit-subscription.ejs
index adc3f71..f49d791 100644
--- a/views/partials/edit-subscription.ejs
+++ b/views/partials/edit-subscription.ejs
@@ -13,37 +13,37 @@
<p>
<a href="/about/brochure">View the Plans</a>
</div>
- <div id="free_plan">
- Your current plan level is <span id="user_plan_type"></span>
+ <div id="paid_plan">
+ Your current plan level is <span data-role="planName"></span>
<table>
<tr>
- <td>Basic plan</td>
+ <td><span data-role="planType"></span> plan</td>
<td></td>
- <td>@ $<span></span>/<span></span></td>
+ <td>@ $<span data-role="planCost"></span>/<span data-role="billingInterval"></span></td>
</tr>
<tr>
- <td>Additional basic layouts</td>
+ <td>Additional Basic layouts</td>
<td></td>
- <td>@ $<span></span>/<span></span></td>
+ <td>@ $<span data-role="basicLayoutCost"></span>/<span data-role="billingInterval"></span></td>
<td>Buy more</td>
</tr>
- <tr>
- <td>Additional PRO layouts</td>
- <td></td>
- <td>$<span></span>/<span></span></td>
+ <tr id="proLayoutRow">
+ <td>Additional Pro layouts</td>
+ <td><span data-role="basicLayoutQuantity"></span></td>
+ <td>@ $<span data-role="basicLayoutCost"></span>/<span data-role="billingInterval"></span></td>
<td>Buy more</td>
</tr>
<tr>
<td>Total</td>
- <td></td>
- <td>$<span></span>/<span></span></td>
+ <td><span data-role="proLayoutQuantity"></span></td>
+ <td>$<span data-role="proLayoutCost"></span>/<span data-role="billingInterval"></span></td>
</tr>
</table>
- <button>Upgrade your subscription</button>
+ <button data-role="upgradeSubscription">Upgrade your subscription</button>
- <button>Cancel your subscription</button>
+ <button data-role="cancelSubscription">Cancel your subscription</button>
</li>
</ul>
</form>