summaryrefslogtreecommitdiff
path: root/views/partials/edit-subscription.ejs
blob: bb7cc273eb45f70db53986010f5f9c3b0695be47 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div class="mediaDrawer fixed animate editSubscription">
	<span class="close">X</span>
	<div id="form_container">
		<form enctype="multipart/form-data" method="post">
			<input type="hidden" name="_csrf" value="[[- token ]]">
			<ul>
				<li class="section_break">
					<h3>Edit Subscription</h3>
				</li>
				<div id="free_plan">
					You are currently using the free plan.  For access to all of Vvalls features,
					consider upgrading to a paid plan.
					<p>
					<a href="/about/brochure">View the Plans</a>
				</div>
				<div id="paid_plan">
					Your current plan level is <span data-role="planName"></span>

					<table>
						<tr class="planRow">
							<td><span data-role="planName"></span></td>
							<td></td>
							<td>@ $<span data-role="planCost"></span>/<span data-role="billingInterval"></span></td>
						</tr>
						<tr class="basicLayoutRow">
							<td>Additional Basic layouts</td>
							<td><span data-role="basicLayoutQuantity"></span></td>
							<td>@ $<span data-role="basicLayoutCost"></span>/<span data-role="billingInterval"></span></td>
							<td>$<span data-role="basicLayoutTotal"></span></td>
							<td>Buy more</td>
						</tr>
						<tr class="proLayoutRow">
							<td>Additional Pro layouts</td>
							<td><span data-role="proLayoutQuantity"></span></td>
							<td>@ $<span data-role="proLayoutCost"></span>/<span data-role="billingInterval"></span></td>
							<td>$<span data-role="proLayoutTotal"></span></td>
						</tr>
						<tr class="totalRow">
							<td>Total</td>
							<td></td><td></td>
							<td>$<span data-role="planTotal"></span></td>
						</tr>
					</table>

					<button data-role="upgradeSubscription">Upgrade your subscription</button>
					
					<button data-role="cancelSubscription">Cancel your subscription</button>
				</li>
			</ul>
		</form>
	</div>
</div>