fgf
This commit is contained in:
parent
c67c51f173
commit
128cb36f13
2 changed files with 10 additions and 11 deletions
|
@ -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))
|
||||
|
|
|
@ -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 %}
|
Loading…
Add table
Add a link
Reference in a new issue