rDrama/files/templates/contact.html

54 lines
1.7 KiB
HTML
Raw Normal View History

2021-10-15 14:08:27 +00:00
{% extends "default.html" %}
{% block title %}
2022-01-13 23:39:39 +00:00
<title>{{SITE_NAME}} - Contact</title>
2021-12-27 05:07:19 +00:00
2021-10-15 14:08:27 +00:00
{% endblock %}
{% block content %}
2022-01-06 16:46:09 +00:00
{% if msg %}
2021-12-14 22:48:37 +00:00
<div class="alert alert-success alert-dismissible fade show my-3" role="alert">
<i class="fas fa-check-circle my-auto" aria-hidden="true"></i>
<span>
2022-01-06 16:46:09 +00:00
{{msg}}
2021-12-14 22:48:37 +00:00
</span>
2022-02-01 02:20:25 +00:00
<button class="close" data-bs-dismiss="alert" aria-label="Close">
2021-12-14 22:48:37 +00:00
<span aria-hidden="true"><i class="far fa-times"></i></span>
</button>
</div>
2022-01-06 16:46:09 +00:00
{% endif %}
2021-10-15 14:08:27 +00:00
2022-01-13 23:39:39 +00:00
<h1 class="article-title">Contact {{SITE_NAME}} Admins</h1>
2021-10-15 14:08:27 +00:00
2022-01-13 23:39:39 +00:00
<p>Use this form to contact {{SITE_NAME}} Admins.</p>
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
<label class="mt-3">Your Email</label>
<input autocomplete="off" class="form-control" value="{{v.email}}" readonly="readonly" disabled>
2021-10-15 14:08:27 +00:00
2022-01-14 06:40:30 +00:00
<form id="contactform" action="/send_admin" method="post" enctype="multipart/form-data">
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
<label for="input-message" class="mt-3">Your message</label>
2022-03-19 16:19:02 +00:00
<input type="hidden" name="formkey" value="{{v.formkey}}">
2022-01-06 16:46:09 +00:00
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="form-control" required></textarea>
2022-01-14 06:40:30 +00:00
<label class="btn btn-secondary m-0 mt-3" for="file-upload">
<div id="filename"><i class="far fa-image"></i></div>
2022-02-04 04:41:34 +00:00
<input autocomplete="off" id="file-upload" type="file" name="file" accept="image/*, video/*" {% if request.headers.get('cf-ipcountry')=="T1" %}disabled{% endif %} onchange="changename('filename','file-upload')" hidden>
2022-01-14 06:40:30 +00:00
</label>
2022-03-26 12:04:28 +00:00
<input type="submit" value="Submit" class="btn btn-primary mt-3">
2022-01-06 16:46:09 +00:00
</form>
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
<pre>
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
</pre>
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
<p>If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2022 yet.</p>
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
<pre>
2021-10-15 14:08:27 +00:00
2022-01-06 16:46:09 +00:00
</pre>
2021-10-15 14:08:27 +00:00
{% endblock %}