mirror of
https://github.com/MOIS3Y/logs-collector.git
synced 2025-09-13 13:13:01 +02:00
Add: http custom error pages, more checks js possible error, check if file delete from storage by cli
This commit is contained in:
14
logs_collector/templates/405.html
Normal file
14
logs_collector/templates/405.html
Normal file
@@ -0,0 +1,14 @@
|
||||
{% extends 'errors.html' %}
|
||||
{% load static %}
|
||||
|
||||
{% block title %} Logs Collector - Method not allowed {% endblock title %}
|
||||
|
||||
{% block status_code %}405{% endblock status_code %}
|
||||
{% block error_message %}
|
||||
<p class="fs-3"> <span class="text-danger">Opps!</span> Method not allowed</p>
|
||||
<p class="lead">
|
||||
Request method:
|
||||
<span class="text-danger">{{ request.method }}</span>
|
||||
isn't allowed for this URL
|
||||
</p>
|
||||
{% endblock error_message %}
|
Reference in New Issue
Block a user