error pages
This commit is contained in:
19
templates/common/401.html
Normal file
19
templates/common/401.html
Normal file
@@ -0,0 +1,19 @@
|
||||
{% extends "common/base.html" %}
|
||||
|
||||
{% block title %}Authentication Required - 401{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<div class="container mx-auto px-4 py-16 text-center">
|
||||
<h1 class="display-1 fw-bold" style="color: var(--primary-color);">401</h1>
|
||||
<h2 class="mb-4">Authentication Required</h2>
|
||||
<p class="mb-4 text-muted">Please log in to access this resource.</p>
|
||||
<div class="d-flex justify-content-center gap-3">
|
||||
<a href="{{ url_for('auth.login') }}" class="btn btn-primary">
|
||||
<i class="fas fa-sign-in-alt me-2"></i>Log In
|
||||
</a>
|
||||
<button onclick="window.history.back()" class="btn btn-outline-primary">
|
||||
<i class="fas fa-arrow-left me-2"></i>Go Back
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user