app-MAIL-temp/app/dashboard/templates/dashboard/pricing.html

66 lines
1.7 KiB
HTML
Raw Normal View History

2019-11-14 15:05:20 +01:00
{% extends 'default.html' %}
{% set active_page = "dashboard" %}
{% block title %}
Pricing
{% endblock %}
{% block head %}
{% endblock %}
{% block default_content %}
<div class="row">
<div class="col-sm-6 col-lg-6">
<div class="card">
<div class="card-body text-center">
<div class="card-category">Premium</div>
<ul class="list-unstyled leading-loose">
2019-12-07 10:41:51 +01:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i> <em>Unlimited</em> Custom Alias</li>
2019-11-14 15:05:20 +01:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
2019-11-21 21:25:27 +01:00
Custom email domain
</li>
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
Support us
2019-11-14 15:05:20 +01:00
</li>
</ul>
</div>
</div>
</div>
<div class="col-sm-6 col-lg-6">
2019-12-07 10:41:51 +01:00
<div class="display-6 mt-3">
🔐 Secure payments by
<a href="https://paddle.com">Paddle<i class="fe fe-external-link"></i></a></li>
</a>
2019-11-14 15:05:20 +01:00
</div>
<hr>
<button class="btn btn-success btn-lg" onclick="upgrade({{ PADDLE_MONTHLY_PRODUCT_ID }})">
Monthly <br>
$2.99/month
</button>
<button class="btn btn-primary btn-lg" onclick="upgrade({{ PADDLE_YEARLY_PRODUCT_ID }})">
Yearly <br>
$29.99/year
</button>
</div>
</div>
<script src="https://cdn.paddle.com/paddle/paddle.js"></script>
<script type="text/javascript">
Paddle.Setup({vendor: {{ PADDLE_VENDOR_ID }}});
function upgrade(productId) {
Paddle.Checkout.open({
product: productId,
email: "{{ current_user.email }}",
success: "{{ success_url }}"
});
}
</script>
{% endblock %}