cheburcheck/website/templates/error.html.tera
senya xdearboy :) 58d9e7b68e
Some checks failed
Build Rust Application / Linux amd64 (.deb) (push) Has been cancelled
Build Rust Application / Linux arm64 (.deb via cross) (push) Has been cancelled
Build Rust Application / Windows amd64 (push) Has been cancelled
feat: asn support
* add asn and cidr subnet support

- parse AS numbers (AS13335 format)
- fetch prefixes from ripe stat api
- cache asn data for 24h, check results for 1h
- sample ips across subnets for checking
- show asn stats and prefix lists in ui
- link asn in results for quick lookup
- collapsible lists for long prefix/network lists
- trim whitespace from search input

* refactor: improve code structure and add enhanced error messages

* refactor: replace match with if let for single branch pattern

* fix: don't store ASN in database

* chore: bump version

---------

Co-authored-by: Lowder <me@lowderplay.dev>
2026-03-03 23:39:45 +05:00

27 lines
1.5 KiB
Text

{% extends 'base' %}
{% block content %}
<i class="error-code" data-lucide="triangle-alert" width="196" height="196"></i>
<h1 class="error-code">{{ status }} {{ reason }}</h1>
<p class="text-muted text-lg">
{% if status == 500 %}
Внутренняя ошибка сервера. Пожалуйста, попробуйте позже.
{% elif status == 502 %}
Сервер временно недоступен. Попробуйте обновить страницу.
{% elif status == 503 %}
Сервис временно недоступен. Ведутся технические работы.
{% elif status == 504 %}
Превышено время ожидания ответа от сервера. Попробуйте позже.
{% elif status == 400 %}
Неверный запрос. Проверьте правильность введенных данных.
{% elif status == 404 %}
Страница не найдена. Проверьте правильность адреса.
{% elif status == 422 %}
Невозможно обработать запрос. Проверьте формат данных.
{% elif status == 429 %}
Слишком много запросов. Пожалуйста, подождите немного.
{% else %}
Что-то пошло не так. Возможно в запросе есть ошибка?
{% endif %}
</p>
{% endblock content %}