forked from rDrama/rDrama
1
0
Fork 0
master
Aevann1 2021-08-03 13:43:33 +02:00
parent 851a923f3a
commit 652da9fd66
2 changed files with 10 additions and 11 deletions

View File

@ -967,7 +967,6 @@ def admin_dump_cache(v):
def admin_ban_domain(v):
domain=request.form.get("domain",'').strip()
if not domain: abort(400)
reason=int(request.form.get("reason",0))

View File

@ -30,7 +30,7 @@
<option value="{{i}}"{% if i==domain.reason %} selected{% endif %}>{{reasons[i]}}</option>
{% endfor %}
</select>
<input type="submit" class="btn btn-primary" value="Ban {{domain_name}}" disabled>
<input id="ban-submit" type="submit" class="btn btn-primary" value="Ban {{domain_name}}" disabled>
</form>
{% endblock %}