1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 10:00:01 +00:00

Revert "upload page: use alerts, add alert about rules (#304)"

This reverts commit c5ce99c3f3.
This commit is contained in:
Arylide 2017-07-24 20:03:58 -07:00
parent c4e7745502
commit dc627bf398

View file

@ -19,25 +19,7 @@
<form method="POST" enctype="multipart/form-data">
{{ upload_form.csrf_token }}
{% if config.ENFORCE_MAIN_ANNOUNCE_URL %}
<div class="row">
<div class="col-md-10">
<div class="alert alert-info" role="alert">
<p><strong>Important:</strong> Please include <kbd>{{ config.MAIN_ANNOUNCE_URL }}</kbd> in your trackers</p>
</div>
</div>
</div>
{% endif %}
<div class="row">
<div class="col-md-10">
<div class="alert alert-warning" role="alert">
<p>Make sure you've read <a href="{{ url_for('site_rules') }}">
the rules</a> before uploading your torrent.</p>
<p><strong>Only upload torrents for content that originates
from and/or is specific to China, Japan, and/or Korea.</strong></p>
</div>
</div>
</div>
{% if config.ENFORCE_MAIN_ANNOUNCE_URL %}<p><strong>Important:</strong> Please include <kbd>{{ config.MAIN_ANNOUNCE_URL }}</kbd> in your trackers</p>{% endif %}
<div class="row">
<div class="col-md-10">
{{ render_upload(upload_form.torrent_file, accept=".torrent") }}