You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

271 lines
11 KiB

10 years ago
10 years ago
10 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
10 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
  1. {% extends "base.html" %}
  2. {% load staticfiles compress %}
  3. {% block title %}Pricing - It's Free! - healthchecks.io{% endblock %}
  4. {% block content %}
  5. <!-- Plans -->
  6. <section id="plans">
  7. <div class="container">
  8. {% if messages %}
  9. <div class="alert alert-danger">
  10. <p>
  11. <strong>We're sorry!</strong> There was a problem setting
  12. up the subscription. Response from payment gateway:</p>
  13. {% for message in messages %}
  14. <p class="error-message">{{ message }}</p>
  15. {% endfor %}
  16. </div>
  17. {% endif %}
  18. {% if sub.plan_id %}
  19. <div class="row">
  20. <div class="col-md-12">
  21. <div id="subscription-status" class="jumbotron">
  22. <p>
  23. {% if first_charge %}
  24. Success! You just paid ${{ sub.price }}.
  25. {% else %}
  26. You are currently paying ${{ sub.price }}/month.
  27. {% endif %}
  28. <a href="{% url 'hc-billing' %}">See Billing History</a>.
  29. </p>
  30. <p>
  31. Thank you for supporting healthchecks.io!
  32. </p>
  33. </div>
  34. </div>
  35. </div>
  36. {% endif %}
  37. <div class="row">
  38. <!-- Free -->
  39. <div class="col-sm-4 text-center">
  40. <div class="panel panel-default panel-pricing">
  41. <div class="panel-body text-center free">
  42. <p>free</p>
  43. </div>
  44. <ul class="list-group text-center">
  45. <li class="list-group-item"><i class="fa fa-check"></i> Personal or Commercial use</li>
  46. <li class="list-group-item"><i class="fa fa-check"></i> Unlimited Checks</li>
  47. <li class="list-group-item"><i class="fa fa-check"></i> Unlimited Alerts</li>
  48. <li class="list-group-item">100 log entries per check</li>
  49. <li class="list-group-item">&nbsp;</li>
  50. </ul>
  51. <div class="panel-footer">
  52. {% if request.user.is_authenticated %}
  53. {% if sub.subscription_id %}
  54. <form method="post" action="{% url 'hc-cancel-plan' %}">
  55. {% csrf_token %}
  56. <button type="submit" class="btn btn-lg btn-default">
  57. Switch To Free
  58. </button>
  59. </form>
  60. {% else %}
  61. <a class="btn btn-lg btn-success disabled" href="#">Selected</a>
  62. {% endif %}
  63. {% else %}
  64. <a class="btn btn-lg btn-success" href="{% url 'hc-login' %}">Get Started</a>
  65. {% endif %}
  66. </div>
  67. </div>
  68. </div>
  69. <!-- /item -->
  70. <!-- P5 -->
  71. <div class="col-sm-4 text-center">
  72. <div class="panel panel-default panel-pricing">
  73. <div class="panel-body text-center">
  74. <p>$5<span class="mo">/mo</span></p>
  75. </div>
  76. <ul class="list-group text-center">
  77. <li class="list-group-item">Personal or Commercial use</li>
  78. <li class="list-group-item">Unlimited Checks</li>
  79. <li class="list-group-item">Unlimited Alerts</li>
  80. <li class="list-group-item">1000 log entries per check</li>
  81. <li class="list-group-item">Team Access</li>
  82. </ul>
  83. <div class="panel-footer">
  84. {% if request.user.is_authenticated %}
  85. {% if sub.plan_id == "P5" %}
  86. <button class="btn btn-lg btn-success disabled">
  87. Selected
  88. </button>
  89. {% else %}
  90. <button
  91. data-plan-id="P5"
  92. class="btn btn-lg btn-default btn-create-payment-method">
  93. {% if sub.plan_id == "P20" %}
  94. Switch to $5/mo
  95. {% else %}
  96. Upgrade your Account
  97. {% endif %}
  98. </button>
  99. {% endif %}
  100. {% else %}
  101. <a class="btn btn-lg btn-primary" href="{% url 'hc-login' %}">
  102. Get Started
  103. </a>
  104. {% endif %}
  105. </div>
  106. </div>
  107. </div>
  108. <!-- /item -->
  109. <!-- P20 -->
  110. <div class="col-sm-4 text-center">
  111. <div class="panel panel-default panel-pricing">
  112. <div class="panel-body text-center">
  113. <p>$20<span class="mo">/mo</span></p>
  114. </div>
  115. <ul class="list-group text-center">
  116. <li class="list-group-item">Personal or Commercial use</li>
  117. <li class="list-group-item">Unlimited Checks</li>
  118. <li class="list-group-item">Unlimited Alerts</li>
  119. <li class="list-group-item">10'000 log entries per check</li>
  120. <li class="list-group-item">Team Access</li>
  121. </ul>
  122. <div class="panel-footer">
  123. {% if request.user.is_authenticated %}
  124. {% if sub.plan_id == "P20" %}
  125. <button class="btn btn-lg btn-success disabled">
  126. Selected
  127. </button>
  128. {% else %}
  129. <button
  130. data-plan-id="P20"
  131. class="btn btn-lg btn-default btn-create-payment-method">
  132. Upgrade Your Account
  133. </button>
  134. {% endif %}
  135. {% else %}
  136. <a class="btn btn-lg btn-primary" href="{% url 'hc-login' %}">
  137. Get Started
  138. </a>
  139. {% endif %}
  140. </div>
  141. </div>
  142. </div>
  143. <!-- /item -->
  144. </div>
  145. </div>
  146. </section>
  147. <!-- /Plans -->
  148. <section id="faq">
  149. <div class="container">
  150. <div class="row">
  151. <div class="col-sm-6">
  152. <h1>Billing Questions</h1>
  153. <h2>What payment methods do you accept?</h2>
  154. <p>
  155. We accept Visa, Master Card and PayPal.
  156. </p>
  157. <h2>Will my credit card data be safe?</h2>
  158. <p>
  159. We process payments using
  160. <a href="https://braintreepayments.com">Braintree</a>,
  161. a division of PayPal. Your credit card or PayPal
  162. credentials are never directly handled by or
  163. stored on healthchecks.io servers.
  164. </p>
  165. <p>
  166. Braintree is a validated Level 1 PCI DSS Compliant
  167. Service Provider, it is on Visa's Global Compliant
  168. Provider List and MasterCard's SDP List.
  169. <a href="https://www.braintreepayments.com/products-and-features/data-security">Read more…</a>
  170. </p>
  171. <h2>If I cancel my paid plan, do I get a refund?</h2>
  172. <p>
  173. You can easily cancel your subscription at any time, but
  174. no refunds are provided for prorated periods.
  175. </p>
  176. </div>
  177. <div class="col-sm-6">
  178. <h1>Premium Features</h1>
  179. <h2>What is the "log entries / check" number?</h2>
  180. <p>
  181. For each of your checks, healthchecks.io keeps a
  182. historic log of the received pings. The log can be useful
  183. for auditing past activity of your cron jobs.
  184. </p>
  185. <p>
  186. There is a per-check limit of how many log entries are
  187. kept. When this limit is reached, the oldest log entries
  188. are culled. You can increase the limit by upgrading to
  189. paid plans.
  190. </p>
  191. <h2>When is 100 log entries per check sufficient?</h2>
  192. <p>
  193. It depends on how frequently your cron job runs and
  194. for what time period you want to keep a log of received
  195. pings. For example, if your cron job runs once a week,
  196. then the 100 log entries will cover 2 years. On the other
  197. hand, if the cron job runs every 5 minutes, then the 100
  198. log entries will only cover 8 hours.
  199. </p>
  200. <h2>What's Team Access?</h2>
  201. <p>
  202. With Team Access enabled, you can "invite" your colleagues
  203. to your account. They will be able to access your checks,
  204. logs, and configured integrations.
  205. </p>
  206. <p>
  207. Team Access is more convenient and more secure than
  208. sharing a single login and password.
  209. </p>
  210. </div>
  211. </div>
  212. </div>
  213. </section>
  214. <div id="payment-method-modal" class="modal" data-client-token="{{ client_token }}">
  215. <div class="modal-dialog">
  216. <form method="post" action="{% url 'hc-create-plan' %}">
  217. {% csrf_token %}
  218. <input id="plan_id" type="hidden" name="plan_id" value="" />
  219. <div class="modal-content">
  220. <div class="modal-header">
  221. <button type="button" class="close" data-dismiss="modal">&times;</button>
  222. <h4>Set Up Subscription</h4>
  223. </div>
  224. <div class="modal-body" id="payment-method-body">
  225. <div id="payment-form"></div>
  226. </div>
  227. <div class="modal-footer">
  228. <button id="payment-method-cancel" type="button" class="btn btn-default">
  229. Cancel
  230. </button>
  231. <button type="submit" class="btn btn-primary">
  232. Set Up Subscription
  233. </button>
  234. </div>
  235. </div>
  236. </form>
  237. </div>
  238. </div>
  239. {% endblock %}
  240. {% block scripts %}
  241. <script src="https://js.braintreegateway.com/v2/braintree.js"></script>
  242. {% compress js %}
  243. <script src="{% static 'js/jquery-2.1.4.min.js' %}"></script>
  244. <script src="{% static 'js/bootstrap.min.js' %}"></script>
  245. <script src="{% static 'js/pricing.js' %}"></script>
  246. {% endcompress %}
  247. {% endblock %}