Remove obsolete page

This commit is contained in:
Nathan Chapman 2023-01-23 18:39:35 -07:00
parent e9ed141b50
commit f878717c1d

View File

@ -1,68 +0,0 @@
{% extends 'base.html' %}
{% load static %}
{% block head %}
<script src="https://js.stripe.com/v3/"></script>
<script>const stripe = Stripe({{ STRIPE_API_KEY }});</script>
<script src="{% static 'scripts/subscriptions.js' %}" defer></script>
{% endblock %}
{% block content %}
<div class="site__banner site__banner--site">
<h1>Subscriptions</h1>
<h4>SUBSCRIBE AND SAVE</h4>
</div>
<article>
<section>
<form method="post" class="subscription-create-form">
{% csrf_token %}
<div>
<h4>Pick your coffee</h4>
<div class="product__subscription-list">
{% for product in product_list %}
<div>
<label>{{ product }}
<figure class="product__figure">
<img class="product__image" src="{{product.get_first_img.image.url}}" alt="{{product.get_first_img.image}}">
</figure>
</label>
<label>Schedule</label>
<select name="schedule">
{% for var1 in iterable %}
{% endfor %}
</select>
<label>Quantity</label>
<input type="number" min="0" max="20" name="product_{{ product.pk }}">
</div>
{% endfor %}
</div>
</div>
<div class="output">
<h4>Pick your options</h4>
{{ form.as_p }}
<div class="cart__table-wrapper">
<table class="cart__totals">
<tr>
<td>Retail total</td>
<td><del class="retail-price"></del></td>
</tr>
<tr>
<td>Save</td>
<td>10%</td>
</tr>
<tr>
<th>Subscription total</th>
<td><strong class="price"></strong></td>
</tr>
</table>
</div>
<p class="shipping"></p>
<p>
<input type="submit" value="Continue to payment">
</p>
</div>
</form>
</section>
</article>
{% endblock %}