61 lines
No EOL
2.5 KiB
HTML
61 lines
No EOL
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Report | {{ app_name }}</title>
|
|
<meta name="robots" content="noindex,noai,noimageai" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<style>
|
|
*{box-sizing:border-box;}
|
|
:root{--ac:#f00040;--bo:grey;--bg:#181818;--fg:#f4f4f4;}
|
|
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif;margin:0;background-color:var(--fg);color:var(--bg);}
|
|
main{max-width:960px;margin:1em auto;}
|
|
a:link,a:visited{font-weight:600;text-decoration:none;color:inherit;}
|
|
a:hover{text-decoration:underline var(--bo);color:var(--ac)}
|
|
h1,h2,h3,h4,h5,h6{font-weight:500;}
|
|
ul{list-style:none;margin:.5em 0;padding:0;border-collapse:collapse;}
|
|
ul > li{border:1px solid var(--bo);padding:.5em 1em;}
|
|
hr{border:1px solid var(--bo);}
|
|
button{border:1px solid var(--ac);border-radius:6px;color:var(--ac);background-color:transparent;opacity:.8;margin:6px 12px;padding:6px 12px;font:inherit}
|
|
button.primary{background-color:var(--ac);color:var(--fg)}
|
|
button:hover{opacity:1;transition:2s ease;}
|
|
@media (prefers-color-scheme:dark){body{color:var(--fg);background-color:var(--bg)}}
|
|
footer{font-size:smaller;text-align:center;}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{% set selection = request.args.get('reason') if request.method != 'POST' %}
|
|
{% set selection_description = description_text(report_reasons, selection) if selection and report_reasons %}
|
|
<main>
|
|
<section>
|
|
{% block heading %}
|
|
<h1>Report</h1>
|
|
{% endblock %}
|
|
</section>
|
|
<hr />
|
|
{% if selection %}
|
|
<section>
|
|
<p>You are about to submit a report for: <strong>{{ selection_description }}</strong>.</p>
|
|
<p>You hereby guarantee {{ app_name }} that your report is made in good faith and not duplicate.</p>
|
|
<p>{{ app_name }} removes content in violation of our <a href="/rules">Community Guidelines</a>.</p>
|
|
<form method="POST">
|
|
<input type="hidden" name="csrf_token" value="{{ csrf_token() }}" />
|
|
<input type="hidden" name="rp_reason" value="{{ selection }}" />
|
|
{% block report_data %}{% endblock %}
|
|
<button type="submit" class="primary">Send report</button>
|
|
</form>
|
|
</section>
|
|
{% else %}
|
|
<section>
|
|
{% block options %}
|
|
<ul>
|
|
<li>a</li>
|
|
</ul>
|
|
{% endblock %}
|
|
</section>
|
|
{% endif %}
|
|
</main>
|
|
<footer>
|
|
{{ app_name }} © 2025 Sakuragasaki46
|
|
</footer>
|
|
</body>
|
|
</html> |