add cw error

pull/220/head
G-tix 2023-12-21 19:59:21 +00:00
parent b8d513aca0
commit 6430d86a8c
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
{% extends "default.html" %}
{% block pagetitle %}Child Warning{% endblock %}
{% block pagetype %}error-451{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col col-md-5">
<div class="text-center px-3 mt-3">
<img alt=":#marseytwerking:" loading="lazy" src="{{SITE_FULL_IMAGES}}/e/marseytwerking.webp">
<h5>Child Warning</h5>
<p class="mb-3">This post is rated with a Child Warning (A child is either physically hurt or in close proximity to a traumatic event). Are you sure you want to proceed?</p>
<div class="btn-toolbar justify-content-center mb-4">
<form action="/allow_cw" method="post" data-nonce="{{g.nonce}}" data-onsubmit="sendFormXHRReload(this)">
<input hidden name="redir" value="{{request.full_path}}">
<input type="submit" class="btn btn-danger" value="Yes">
</form>
<div class="mt-3"><a href="/" class="btn btn-secondary">No</a></div>
<div class="mt-5"><a href="/settings/advanced#cw_toggle" class="btn btn-secondary">Never show me this warning again</a></div>
</div>
</div>
</div>
</div>
{% endblock %}