Add: http custom error pages, more checks js possible error, check if file delete from storage by cli

This commit is contained in:
2023-09-14 21:36:41 +09:00
parent 431541b3cb
commit b2bea677ef
12 changed files with 129 additions and 20 deletions

View 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 %}