aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorjwansek <eddie.atten.ea29@gmail.com>2022-02-06 16:55:00 +0000
committerjwansek <eddie.atten.ea29@gmail.com>2022-02-06 16:55:00 +0000
commite8285e533c8ed7ff3e68f72b0bbac04b478f19c9 (patch)
treec4ee6e12a1f543ed03e42516d1dc3497c0fc230d /templates
parent6f3bca8d3aafe67a5b30a456ab5e80319930e1b6 (diff)
downloadboymoder.blog-e8285e533c8ed7ff3e68f72b0bbac04b478f19c9.tar.gz
boymoder.blog-e8285e533c8ed7ff3e68f72b0bbac04b478f19c9.zip
added linux ISO CD form
Diffstat (limited to 'templates')
-rw-r--r--templates/isocd.jinja29
-rw-r--r--templates/isocd_confirmation.jinja16
2 files changed, 45 insertions, 0 deletions
diff --git a/templates/isocd.jinja b/templates/isocd.jinja
new file mode 100644
index 0000000..915f837
--- /dev/null
+++ b/templates/isocd.jinja
@@ -0,0 +1,29 @@
+{% extends "template.jinja" %}
+{% block content %}
+ <p>As discussed <a href="https://nitter.eda.gay/estrogenizedboy/status/1490322471215636480#m">here</a>, I will post a GNU/Linux install CD to you for free (provided you live in the United Kingdom). Just fill out the form below:</p>
+ <form action="/getisocd" method="POST">
+ <label for="email">*Email:</label>
+ <input type="email" id="email" name="email" required><br><br>
+ <label for="iso">*ISO:</label>
+ <select name="iso" id="iso" required>
+ {% for iso in iso_options %}
+ <option value="{{ iso }}">{{ iso }}</option>
+ {% endfor %}
+ </select><br><br>
+ <label for="name">*Name:</label>
+ <input id="name" name="name" required><br><br>
+ <label for="house">*House Number/Name:</label>
+ <input id="house" name="house" required><br><br>
+ <label for="street">*Street:</label>
+ <input id="street" name="street" required><br><br>
+ <label for="city">City:</label>
+ <input id="city" name="city"><br><br>
+ <label for="county">County:</label>
+ <input id="county" name="county"><br><br>
+ <label for="postcode">*Postcode:</label>
+ <input id="postcode" name="postcode" required><br><br>
+ <input type="submit" value="Submit">
+ </form>
+ <p>I make no promises how long this will actually take, but you might get a special present too uwu</p>
+ <p>btw if u abuse this service i'll just ignore u</p>
+{% endblock %} \ No newline at end of file
diff --git a/templates/isocd_confirmation.jinja b/templates/isocd_confirmation.jinja
new file mode 100644
index 0000000..bed09d6
--- /dev/null
+++ b/templates/isocd_confirmation.jinja
@@ -0,0 +1,16 @@
+{% extends "template.jinja" %}
+{% block content %}
+ <p>Your order has been placed. Expect a confirmation email to {{ email }} when I can be bothered to sort it out.</p>
+ <br>
+ <p>Your order/reference id is {{ id_ }}</p>
+ <br>
+ <p>The details were as follows:</p>
+ <table>
+ {% for k, v in req.items() %}
+ <tr>
+ <td>{{ k.upper() }}</td>
+ <td>{{ v }}</td>
+ </tr>
+ {% endfor %}
+ </table>
+{% endblock %} \ No newline at end of file