diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-02-01 18:48:08 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-02-01 18:48:08 -0500 |
| commit | 3f0ef2173b6d00ae8130b3125b63f3d9ad9e98de (patch) | |
| tree | 3d214c5e5496ebec2610c64c6e5c2e8aacc73231 /views/partials | |
| parent | 003f59d687d8d3d5e4e9c4a2eeb1bb167753d0c9 (diff) | |
make it 1 action
Diffstat (limited to 'views/partials')
| -rw-r--r-- | views/partials/edit-subscription.ejs | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/views/partials/edit-subscription.ejs b/views/partials/edit-subscription.ejs index 1b0fc41..38c6dfc 100644 --- a/views/partials/edit-subscription.ejs +++ b/views/partials/edit-subscription.ejs @@ -14,8 +14,23 @@ <div class="planList"></div> <br><br><br> </li> - <li class="paidPlan editing"> - Your current plan level is <span data-role="planName"></span> + <li class="paidPlan"> + <div class="currentPlanLevel"> + Your current plan level is <span data-role="planName"></span> + </div> + <div class="planMenu"> + <h3>Select desired plan:</h3> + <div> + <input type="radio" id="chooseBasicPlan" data-role="basicPlanInput" name="planRadio" value="basic"> + <label for="chooseBasicPlan" data-role="basicPlanName"></label> + $<span data-role="basicPlanCost"></span>/<span data-role="billingInterval"></span> + </div> + <div> + <input type="radio" id="chooseProPlan" data-role="proPlanInput" name="planRadio" value="pro"> + <label for="chooseProPlan" data-role="proPlanName"></label> + $<span data-role="proPlanCost"></span>/<span data-role="billingInterval"></span> + </div> + </div> <table class="planInfo"> <tr class="planRow"> <th><span data-role="planName"></span></th> @@ -24,13 +39,13 @@ <td>$<span data-role="planCost"></span>/<span data-role="billingInterval"></span></td> </tr> <tr class="basicLayoutRow"> - <th>Additional Basic layouts</th> + <th>Basic layouts</th> <td><input type="number" min="0" max="100" step="1" data-role="basicLayoutInput"><span data-role="basicLayoutQuantity"></span></td> <td>each $<span data-role="basicLayoutCost"></span>/<span data-role="billingInterval"></span></td> <td>$<span data-role="basicLayoutTotal"></span>/<span data-role="billingInterval"></span></td> </tr> <tr class="proLayoutRow"> - <th>Additional Pro layouts</th> + <th>Pro layouts</th> <td><input type="number" min="0" max="100" data-role="proLayoutInput"><span data-role="proLayoutQuantity"></span></td> <td>each $<span data-role="proLayoutCost"></span>/<span data-role="billingInterval"></span></td> <td>$<span data-role="proLayoutTotal"></span>/<span data-role="billingInterval"></span></td> @@ -43,27 +58,11 @@ </tr> </table> <div class="billingMenu"> - <button data-role="showLayoutsMenu">Buy more layouts</button><br> - <button data-role="showPlanMenu">Upgrade your plan</button><br> + <button data-role="showEditMenu">Edit Your Plan</button><br> <button data-role="cancelSubscription">Cancel your subscription</button> </div> <div class="layoutsMenu"> - <button data-role="saveQuantity">Save Subscription</button> - <button data-role="closeMenu">Cancel</button> - </div> - <div class="planMenu"> - <h3>Select desired plan:</h3> - <div> - <input type="radio" id="chooseBasicPlan" data-role="basicPlanInput" name="planRadio" value="basic"> - <label for="chooseBasicPlan" data-role="basicPlanName"></label> - $<span data-role="basicPlanCost"></span>/<span data-role="billingInterval"></span> - </div> - <div> - <input type="radio" id="chooseProPlan" data-role="proPlanInput" name="planRadio" value="pro"> - <label for="chooseProPlan" data-role="proPlanName"></label> - $<span data-role="proPlanCost"></span>/<span data-role="billingInterval"></span> - </div> - <button data-role="savePlan">Change plan</button> + <button data-role="saveChanges">Save Subscription</button> <button data-role="closeMenu">Cancel</button> </div> </li> |
