This commit is contained in:
pika 2025-03-25 23:41:13 +01:00
commit 66f9ce3614
33 changed files with 2271 additions and 0 deletions

View file

@ -0,0 +1,23 @@
{% extends "base.html" %}
{% block title %}Forbidden - NetViz{% endblock %}
{% block content %}
<div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-md w-full space-y-8 text-center">
<h1 class="text-9xl font-extrabold text-amber-500">403</h1>
<h2 class="mt-6 text-3xl font-bold text-gray-900 dark:text-white">
Access Denied
</h2>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
You don't have permission to access this resource.
</p>
<div class="mt-5">
<a href="{{ url_for('core.index') }}"
class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary">
Return to Home
</a>
</div>
</div>
</div>
{% endblock %}

View file

@ -0,0 +1,23 @@
{% extends "base.html" %}
{% block title %}Page Not Found - NetViz{% endblock %}
{% block content %}
<div class="min-h-screen flex items-center justify-center py-12 px-4 sm:px-6 lg:px-8">
<div class="max-w-md w-full space-y-8 text-center">
<h1 class="text-9xl font-extrabold text-primary">404</h1>
<h2 class="mt-6 text-3xl font-bold text-gray-900 dark:text-white">
Page Not Found
</h2>
<p class="mt-2 text-sm text-gray-600 dark:text-gray-400">
The page you're looking for doesn't exist or has been moved.
</p>
<div class="mt-5">
<a href="{{ url_for('core.index') }}"
class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-primary hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary">
Return to Home
</a>
</div>
</div>
</div>
{% endblock %}

View file