MarseyWorld/files/templates/contact.html

33 lines
1.7 KiB
HTML

{% extends "default.html" %}
{% block pagetitle %}Contact{% endblock %}
{% block content %}
{% if msg %}{{macros.alert(msg, false)}}{% endif %}
<h1 class="article-title">Contact {{SITE_NAME}} Admins</h1>
{% if v %}
<p>Use this form to contact {{SITE_NAME}} Admins.</p>
<form id="contactform" action="/contact" method="post" enctype="multipart/form-data">
<label for="input-message" class="mt-3">Your message</label>
<input hidden name="formkey" value="{{v|formkey}}">
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="form-control" required></textarea>
<label class="btn btn-secondary m-0 mt-3" data-nonce="{{g.nonce}}" data-onclick="loadEmojis('input-message')" data-bs-toggle="modal" data-bs-target="#emojiModal" data-bs-toggle="tooltip" data-bs-placement="bottom" title="Add Emoji">
<i class="fas fa-smile-beam"></i>
</label>
<label class="btn btn-secondary m-0 mt-3" for="file-upload">
<div id="filename"><i class="fas fa-file"></i></div>
<input autocomplete="off" id="file-upload" accept="image/*, video/*, audio/*" type="file" name="file" multiple="multiple" {% if g.is_tor %}disabled{% endif %} data-nonce="{{g.nonce}}" data-onchange="changename('filename','file-upload')" hidden>
</label>
<input type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)" value="Submit" class="btn btn-primary mt-3">
</form>
<p class="my-3">Warrant Canary has been moved to <a href="/search/posts/?q=%22Monthly%20Website%20Stats%20Post%22&sort=new&t=all">Monthly Website Stats Posts</a>.</p>
<script defer src="{{'js/contact.js' | asset}}"></script>
{% include "modals/emoji.html" %}
{% else %}
<h4>by email: {{EMAIL}}</h4>
{% endif %}
{% endblock %}