-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreceipt.html
46 lines (37 loc) · 1.65 KB
/
receipt.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{% extends 'master.html' %}
{% block title %}RECEIPT{% endblock %} <!-- Confirm this is working -->
{% block body %}
<h1>RECEIPT</h1>
<h3>Thank you for your order!</h3>
<div>Order ID: {{order_id}}</div>
<h2>You purchased:</h2>
<h3>{{video.video_beat_name}}</h3>
<h4>{{video.video_title}}</h4>
<iframe width="560" height="315" src="https://www.youtube.com/embed/{{video.video_id}}" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
<h2>Your files</h2>
<div>
{% if video.beat_mixdowns %}
<h3>Mixdowns</h3>
<p>This is the exported project with all the instruments. This is not a mastered file, so you can record your vocals on top of it and send it off for vocal mixing and mastering (if you don't want to hire someone to mix the whole beat).</p>
{% for i in dict.keys(mixdowns) %}
<div>{{i}}</div>
{% endfor %}
{% endif %}
{% if video.beat_stems %}
<h3>Stems</h3>
<p>These are the individual track files in the project. If you're sending off your track to be mixed, your mixing engineer may need these.</p>
{% for i in dict.keys(stems) %}
<div>{{i}}</div>
{% endfor %}
{% endif %}
<form action="#" method="post">
{% if video.beat_mixdowns %}
<button type="submit" name="submit" value="mixdowns">Download mixdowns</button>
{% endif %}
{% if video.beat_stems %}
<button type="submit" name="submit" value="stems">Download stems</button>
{% endif %}
<button type="submit" name="submit" value="lease">Download lease</button>
</form>
</div>
{% endblock %}