batman
This commit is contained in:
commit
66f9ce3614
33 changed files with 2271 additions and 0 deletions
23
app/templates/errors/403.html
Normal file
23
app/templates/errors/403.html
Normal 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 %}
|
23
app/templates/errors/404.html
Normal file
23
app/templates/errors/404.html
Normal 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 %}
|
0
app/templates/errors/500.html
Normal file
0
app/templates/errors/500.html
Normal file
Loading…
Add table
Add a link
Reference in a new issue