MarseyWorld/files/templates/contact.html

33 lines
1.7 KiB
HTML
Raw Normal View History

2022-05-04 23:09:46 +00:00
{% extends "default.html" %}
2022-11-19 22:20:38 +00:00
{% block pagetitle %}Contact{% endblock %}
2022-05-04 23:09:46 +00:00
{% block content %}
{% if msg %}{{macros.alert(msg, false)}}{% endif %}
2022-05-04 23:09:46 +00:00
<h1 class="article-title">Contact {{SITE_NAME}} Admins</h1>
{% if v %}
<p>Use this form to contact {{SITE_NAME}} Admins.</p>
2022-05-04 23:09:46 +00:00
2023-01-29 09:30:30 +00:00
<form id="contactform" action="/contact" method="post" enctype="multipart/form-data">
2022-05-04 23:09:46 +00:00
<label for="input-message" class="mt-3">Your message</label>
2023-01-24 05:10:16 +00:00
<input hidden name="formkey" value="{{v|formkey}}">
<textarea autocomplete="off" maxlength="10000" id="input-message" form="contactform" name="message" class="form-control" required></textarea>
2022-12-30 12:14:18 +00:00
<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>
2023-02-26 12:08:37 +00:00
<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','input-message')" hidden>
</label>
2022-12-30 12:14:18 +00:00
<input type="submit" data-nonce="{{g.nonce}}" data-onclick="disable(this)" value="Submit" class="btn btn-primary mt-3">
</form>
2022-05-04 23:09:46 +00:00
<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>
2022-05-04 23:09:46 +00:00
<script defer src="{{'js/contact.js' | asset}}"></script>
{% include "modals/emoji.html" %}
{% else %}
2022-10-08 00:44:02 +00:00
<h4>by email: {{EMAIL}}</h4>
{% endif %}
2022-05-04 23:09:46 +00:00
{% endblock %}