remotes/1693045480750635534/spooky-22
kek7198 2021-12-11 21:28:31 -06:00
parent b6a6e539ec
commit 49b564ab88
2 changed files with 43 additions and 44 deletions

View File

@ -7,62 +7,61 @@
{% block content %}
{% if request.values.get('error') or error %}
<div class="alert alert-danger alert-dismissible fade show my-3" role="alert">
<i class="fas fa-exclamation-circle my-auto"></i>
<span>
{{error if error else request.values.get('error')}}
</span>
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
<span aria-hidden="true"><i class="far fa-times"></i></span>
</button>
</div>
{% endif %}
{% if request.values.get('msg') or msg %}
<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>
{{msg if msg else request.values.get('msg')}}
</span>
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
<span aria-hidden="true"><i class="far fa-times"></i></span>
</button>
</div>
{% endif %}
<div class="col-span-full">
<h1 class="article-title">Contact {{'SITE_NAME' | app_config}} Admins</h1>
{% if v and v.is_activated and not v.is_suspended %}
{% if request.values.get('error') or error %}
<div class="alert alert-danger alert-dismissible fade show my-3" role="alert">
<i class="fas fa-exclamation-circle my-auto"></i>
<span>
{{error if error else request.values.get('error')}}
</span>
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
<span aria-hidden="true"><i class="far fa-times"></i></span>
</button>
</div>
{% endif %}
{% if request.values.get('msg') or msg %}
<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>
{{msg if msg else request.values.get('msg')}}
</span>
<button type="button" class="close" data-bs-dismiss="alert" aria-label="Close">
<span aria-hidden="true"><i class="far fa-times"></i></span>
</button>
</div>
{% endif %}
<p>Use this form to contact {{'SITE_NAME' | app_config}} Admins.</p>
<h1 class="article-title">Contact {{'SITE_NAME' | app_config}} Admins</h1>
{% if v and v.is_activated and not v.is_suspended %}
<label class="mt-3">Your Email</label>
<input class="form-control" value="{{v.email}}" readonly="readonly" disabled>
<p>Use this form to contact {{'SITE_NAME' | app_config}} Admins.</p>
<form id="contactform" action="/contact" method="post">
<label class="mt-3">Your Email</label>
<input class="form-control" value="{{v.email}}" readonly="readonly" disabled>
<label for="input-message" class="mt-3">Your message</label>
<textarea maxlength="10000" id="input-message" form="contactform" name="message" class="form-control" required></textarea>
<form id="contactform" action="/contact" method="post">
<input type="submit" value="Submit" class="btn btn-primary mt-3">
<label for="input-message" class="mt-3">Your message</label>
<textarea maxlength="10000" id="input-message" form="contactform" name="message" class="form-control" required></textarea>
</form>
<input type="submit" value="Submit" class="btn btn-primary mt-3">
</form>
{% elif v %}
{% elif v %}
<p>Please <a {% if v and v.newtab %}target="_blank"{% endif %} href="/settings/security">verify your email address</a> in order to ensure we can respond to your message if needed. Then, refresh this page.</p>
<p>Please <a {% if v and v.newtab %}target="_blank"{% endif %} href="/settings/security">verify your email address</a> in order to ensure we can respond to your message if needed. Then, refresh this page.</p>
{% else %}
{% else %}
<p>In order to ensure that we can respond to your message, please first <a href="/signup" {% if v and v.newtab %}target="_blank"{% endif %}>sign up</a> or <a href="/login" {% if v and v.newtab %}target="_blank"{% endif %}>log in</a> and make sure you have <a {% if v and v.newtab %}target="_blank"{% endif %} href="/settings/security">verified your email address</a>. Then, refresh this page.</p>
<p>In order to ensure that we can respond to your message, please first <a href="/signup" {% if v and v.newtab %}target="_blank"{% endif %}>sign up</a> or <a href="/login" {% if v and v.newtab %}target="_blank"{% endif %}>log in</a> and make sure you have <a {% if v and v.newtab %}target="_blank"{% endif %} href="/settings/security">verified your email address</a>. Then, refresh this page.</p>
{% endif %}
{% endif %}
<pre>
<p>If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2021 yet.</p>
</pre>
<p>If you can see this line, we haven't been contacted by any law enforcement or governmental organizations in 2021 yet.</p>
</div>
{% endblock %}

View File

@ -87,7 +87,7 @@
<div class="mt-4 w-full px-4 sm:px-0">
<ul class="mx-auto max-w-2xl flex flex-col md:flex-row md:items-center md:justify-center md:space-x-3 md:divide-x md:divide-gray-700 text-xs font-medium leading-none">
<li>
<a href="#" class="text-gray-500 hover:text-gray-400">
<a href="/post/5500" class="text-gray-500 hover:text-gray-400">
About
</a>
</li>
@ -97,7 +97,7 @@
</a>
</li>
<li class="mt-4 md:mt-0 md:pl-3">
<a href="#" class="text-gray-500 hover:text-gray-400">
<a href="/post/5500" class="text-gray-500 hover:text-gray-400">
Welcome Guide
</a>
</li>