Fix blueprint naming and add missing templates

This commit is contained in:
2025-09-21 21:33:04 +02:00
parent 7ec30b8d5e
commit 5bdc5271a0
7 changed files with 497 additions and 7 deletions

28
templates/errors/404.html Normal file
View File

@@ -0,0 +1,28 @@
{% extends "base.html" %}
{% block title %}Pagina Non Trovata - Hersel.it{% endblock %}
{% block content %}
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-6 text-center py-5">
<div class="py-5">
<i class="bi bi-exclamation-triangle-fill display-1 text-warning"></i>
<h1 class="display-4 fw-bold mt-4">404</h1>
<h2 class="mb-4">Pagina Non Trovata</h2>
<p class="lead text-muted mb-4">
Spiacente, la pagina che stai cercando non esiste o è stata spostata.
</p>
<div class="d-flex gap-3 justify-content-center">
<a href="{{ url_for('home.index') }}" class="btn btn-primary">
<i class="bi bi-house"></i> Torna alla Home
</a>
<a href="{{ url_for('home.projects') }}" class="btn btn-outline-primary">
<i class="bi bi-folder"></i> Vedi i Progetti
</a>
</div>
</div>
</div>
</div>
</div>
{% endblock %}