diff --git a/core/templates/base.html b/core/templates/base.html new file mode 100644 index 0000000..16861b6 --- /dev/null +++ b/core/templates/base.html @@ -0,0 +1,60 @@ +{% load static %} + + + + + + + + Pathogen - Login + + + + + + + +
+ +
+ +
+ +
+
+ {% block content %} + {% endblock %} +
+
+
+ + + diff --git a/core/templates/cancel.html b/core/templates/cancel.html new file mode 100644 index 0000000..426cde8 --- /dev/null +++ b/core/templates/cancel.html @@ -0,0 +1,9 @@ +{% extends "base.html" %} + +{% block content %} + +
+

Forgot to add something to your cart? Shop around then come back to pay!

+
+ +{% endblock %} diff --git a/core/templates/checkout.html b/core/templates/checkout.html new file mode 100644 index 0000000..c5861fa --- /dev/null +++ b/core/templates/checkout.html @@ -0,0 +1,60 @@ + + + +
+ +
+ Data image +
+

Drilldown

+
200.00
+
+
+
+ + +
+ Data image +
+

Sentiment

+
45.00
+
+
+
+ + +
+ + diff --git a/core/templates/drilldown.html b/core/templates/drilldown.html new file mode 100644 index 0000000..a74eb42 --- /dev/null +++ b/core/templates/drilldown.html @@ -0,0 +1,34 @@ +{% extends "base.html" %} +{% block content %} +

+ Welcome to search, {{ name }}! +

+ +
+
+
+
+

PROFILE INFO

+ +
+ +
+ {% if user.seti %} + {% if user.plan == None %} + {% include 'checkout.html' %} + {% else %} +
+ +
+ {% endif %} + {% else %} + + {% endif %} +
+ +
+
+
+ +{% endblock %} + diff --git a/core/templates/index.html b/core/templates/index.html new file mode 100644 index 0000000..21fbd40 --- /dev/null +++ b/core/templates/index.html @@ -0,0 +1,18 @@ +{% extends "base.html" %} + +{% block content %} +

+ Pathogen Products Panel +

+

+ Billing and subscription management +

+
+ {% if user.subscription_active %} + {% include 'checkout.html' %} + {% else %} +

Please setup a payment mandate in the profile page to view products

+ {% endif %} +
+ +{% endblock %} diff --git a/core/templates/profile.html b/core/templates/profile.html new file mode 100644 index 0000000..32039f9 --- /dev/null +++ b/core/templates/profile.html @@ -0,0 +1,67 @@ +{% extends "base.html" %} +{% block content %} +

+ Welcome, {{ user.first_name }}! +

+ +
+
+
+
+

Plan: {{ user.plan }}

+

Stripe ID: {{ user.stripeID }}

+

Setup intent: {{ user.seti }}

+

Mandate active: {{ user.mandateActive }}

+

Subscription ID: {{ user.subscriptionID }}

+

Last payment: {{ user.lastPayment }}

+

Creation date: {{ user.creationDate }}

+

Paid: {{ user.paid }}

+
+ +
+ {% if user.seti %} + {% if user.plan == None %} + {% include 'checkout.html' %} + {% else %} +
+ +
+ {% endif %} + {% else %} + + {% endif %} +
+ +
+
+
+ + +{% endblock %} + diff --git a/core/templates/registration/login.html b/core/templates/registration/login.html new file mode 100644 index 0000000..f76380c --- /dev/null +++ b/core/templates/registration/login.html @@ -0,0 +1,31 @@ +{% extends "base.html" %} +{% load static %} +{% load crispy_forms_tags %} + +{% block content %} +
+
+
+
+
+

Please sign in

+
+
+ +
+
+ {% csrf_token %} + {{ form|crispy }} + + +
+

Don't have an account? Register here

+
+
+
+
+
+
+
+
+{% endblock %} diff --git a/core/templates/registration/signup.html b/core/templates/registration/signup.html new file mode 100644 index 0000000..2d969e4 --- /dev/null +++ b/core/templates/registration/signup.html @@ -0,0 +1,27 @@ +{% extends "base.html" %} +{% load static %} +{% load crispy_forms_tags %} + +{% block content %} +
+
+
+
+
+

Sign up

+
+
+ +
+
+ {% csrf_token %} + {{ form|crispy }} + +
+
+
+
+
+
+
+{% endblock %} diff --git a/core/templates/success.html b/core/templates/success.html new file mode 100644 index 0000000..bbebc1b --- /dev/null +++ b/core/templates/success.html @@ -0,0 +1,12 @@ +{% extends "base.html" %} + +{% block content %} + + Thanks for your order! + + +
+

We appreciate your business!

+

Download details will be available in your profile shortly.

+
+{% endblock %}