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

101 lines
3.2 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 %}
<script src="https://cdn.paddle.com/paddle/paddle.js"></script>
<script>
if (window.Paddle === undefined) {
console.log("cannot load Paddle from CDN");
document.write('<script src="/static/vendor/paddle.js"><\/script>')
}
</script>
2019-11-14 15:05:20 +01:00
{% endblock %}
{% block default_content %}
<div class="row">
<div class="col-sm-6 col-lg-6">
<div class="card">
<div class="card-body text-center">
2019-12-30 11:08:11 +01:00
<div class="h3">Premium</div>
<ul class="list-unstyled leading-loose mb-3">
2020-04-12 20:15:02 +02:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i> Unlimited alias</li>
2019-11-14 15:05:20 +01:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
2020-04-12 20:15:02 +02:00
Unlimited custom domains
2019-11-21 21:25:27 +01:00
</li>
2020-01-03 11:51:44 +01:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
Catch-all (or wildcard) alias
</li>
2019-11-21 21:25:27 +01:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
2020-04-12 20:15:02 +02:00
Up to 50 directories (or usernames)
</li>
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
2020-04-12 20:15:02 +02:00
Unlimited mailboxes
2019-11-14 15:05:20 +01:00
</li>
2020-04-03 23:39:27 +02:00
<li><i class="fe fe-check text-success mr-2" aria-hidden="true"></i>
PGP Encryption
</li>
2019-11-14 15:05:20 +01:00
</ul>
2019-12-30 11:08:11 +01:00
<div class="small-text">More info on our <a href="https://simplelogin.io/pricing" target="_blank">Pricing
Page <i class="fe fe-external-link"></i>
</a></div>
2019-11-14 15:05:20 +01:00
</div>
</div>
</div>
<div class="col-sm-6 col-lg-6">
2020-01-03 11:51:44 +01:00
<div class="display-6 my-3">
2019-12-07 10:41:51 +01:00
🔐 Secure payments by
2020-01-03 11:51:44 +01:00
<a href="https://paddle.com" target="_blank">Paddle<i class="fe fe-external-link"></i></a></li>
2019-12-07 10:41:51 +01:00
</a>
2019-11-14 15:05:20 +01:00
</div>
{% set sub = current_user.get_subscription() %}
{% if sub and sub.cancelled %}
<div class="alert alert-primary" role="alert">
You have an active subscription until {{ sub.next_bill_date.strftime("%Y-%m-%d") }}. <br>
Please note that if you re-subscribe now, this will be a completely
new subscription and
your payment method will be charged <b>immediately</b>.
</div>
{% endif %}
2020-01-03 11:51:44 +01:00
<div class="mb-3">
Paddle supported payment methods include bank cards (Mastercard, Visa, American Express, etc) or PayPal. <br>
Send us an email at <a href="mailto:hi@simplelogin.io">hi@simplelogin.io</a> if you need other payment options
(e.g. IBAN transfer).
2020-01-03 11:51:44 +01:00
</div>
2019-11-14 15:05:20 +01:00
2020-01-03 11:51:44 +01:00
<button class="btn btn-success" onclick="upgrade({{ PADDLE_MONTHLY_PRODUCT_ID }})">
2019-11-14 15:05:20 +01:00
Monthly <br>
$2.99/month
</button>
2020-01-03 11:51:44 +01:00
<button class="btn btn-primary" onclick="upgrade({{ PADDLE_YEARLY_PRODUCT_ID }})">
2019-11-14 15:05:20 +01:00
Yearly <br>
$29.99/year
</button>
</div>
</div>
<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 %}