Implement subscription management and ordering
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
Last payment
|
||||
</li>
|
||||
</ul>
|
||||
<form action="{% url 'portal' %}">
|
||||
<input class="btn btn-lg btn-dark btn-block" type="submit" value="Subscription management">
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -46,6 +49,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
{% load static %}
|
||||
|
||||
{% for plan in plans %}
|
||||
|
||||
{% if plan not in user_plans %}
|
||||
<a href="order?product={{ plan.name }}">
|
||||
<a href="/order/{{ plan.product_id}}">
|
||||
{% endif %}
|
||||
|
||||
<div class="product">
|
||||
<img src="{% static plan.image %}" alt="Data image"/>
|
||||
<div class="description">
|
||||
@@ -15,10 +15,10 @@
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% if plan not in user_plans %}
|
||||
</a>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
@@ -1,12 +1,11 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<head>
|
||||
<title>Thanks for your order!</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<section>
|
||||
<p>We appreciate your business!</p>
|
||||
<p>Download details will be available <a href="{{ url_for('main.profile') }} ">in your profile</a> shortly.</p>
|
||||
</section>
|
||||
<h1 class="title">Pathogen Data Insights</h1>
|
||||
<div class="container">
|
||||
<h2 class="subtitle">Thank you for your order!</h2>
|
||||
<div class="col">
|
||||
<h2 class="subtitle">The customer portal will be available <a href="{% url 'billing' %} ">in your profile</a> shortly.</h2>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user