2023-12-11 15:18:43 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}Máš ban!{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="container">
|
|
|
|
<h1 class="title">Jsi trans, btw.</h1>
|
|
|
|
<div class="infobox">
|
|
|
|
<div class="infobox-head">Máš ban!</div>
|
|
|
|
<div class="infobox-content">
|
|
|
|
<b>
|
|
|
|
Byl jsi zabanován 
|
|
|
|
|
|
|
|
{% if let Some(board) = ban.board %}
|
|
|
|
z /{{ board }}/
|
|
|
|
{% else %}
|
|
|
|
ze všech nástěněk
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
 z následujícího důvodu:
|
|
|
|
</b>
|
|
|
|
<div class="post-content">
|
|
|
|
{{ ban.reason }}
|
|
|
|
</div>
|
|
|
|
<span>Udělil <i>{{ ban.issued_by }}</i></span>
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
<span>
|
|
|
|
Tvůj ban platí pro IP adresu/rozsah <b>{{ ban.ip_range }}</b> a 
|
|
|
|
{% if let Some(expires) = ban.expires %}
|
|
|
|
vyprší <b>{{ expires|czech_datetime }} ({{ expires|czech_humantime }}).</b>
|
|
|
|
{% else %}
|
|
|
|
je <b>trvalý.</b>
|
|
|
|
{% endif %}
|
|
|
|
</span>
|
|
|
|
{% if ban.appealable %}
|
|
|
|
<br>
|
|
|
|
<br>
|
|
|
|
{% if let Some(appeal) = ban.appeal %}
|
|
|
|
<b>Tvé odvolání:</b>
|
|
|
|
<div class="post-content">
|
|
|
|
{{ appeal }}
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
<b>Můžeš se pokusit svůj ban odvolat:</b>
|
|
|
|
<form method="post" action="/actions/appeal-ban">
|
2023-12-12 19:37:48 +00:00
|
|
|
<input name="id" type="hidden" value="{{ ban.id }}" />
|
2023-12-11 15:18:43 +00:00
|
|
|
<table class="form-table">
|
|
|
|
<tr>
|
|
|
|
<td class="label">Odvolání</td>
|
|
|
|
<td><textarea name="appeal"></textarea></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td class="submit" colspan="2">
|
|
|
|
<input class="button" type="submit" value="Odeslat">
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|