04/08 Refactored codes, fixed issues
This commit is contained in:
@@ -10,12 +10,12 @@ Management{% endblock %} {% block content %}
|
||||
<p class="error-detail">This action requires administrator privileges.</p>
|
||||
</div>
|
||||
<div class="error-actions">
|
||||
<a href="{{ url_for('dashboard') }}" class="btn btn-primary">
|
||||
<a href="{{ url_for('dashboard.dashboard') }}" class="btn btn-primary">
|
||||
<i class="fas fa-home"></i>
|
||||
Go to Dashboard
|
||||
</a>
|
||||
{% if session.role == 'staff' %}
|
||||
<a href="{{ url_for('profile') }}" class="btn btn-secondary">
|
||||
<a href="{{ url_for('auth.profile') }}" class="btn btn-secondary">
|
||||
<i class="fas fa-user"></i>
|
||||
View Profile
|
||||
</a>
|
||||
|
||||
@@ -9,7 +9,7 @@ endblock %} {% block content %}
|
||||
<p>The page you're looking for doesn't exist or has been moved.</p>
|
||||
</div>
|
||||
<div class="error-actions">
|
||||
<a href="{{ url_for('dashboard') }}" class="btn btn-primary">
|
||||
<a href="{{ url_for('dashboard.dashboard') }}" class="btn btn-primary">
|
||||
<i class="fas fa-home"></i>
|
||||
Go to Dashboard
|
||||
</a>
|
||||
|
||||
@@ -10,7 +10,7 @@ endblock %} {% block content %}
|
||||
<p class="error-detail">Please try again in a few moments.</p>
|
||||
</div>
|
||||
<div class="error-actions">
|
||||
<a href="{{ url_for('dashboard') }}" class="btn btn-primary">
|
||||
<a href="{{ url_for('dashboard.dashboard') }}" class="btn btn-primary">
|
||||
<i class="fas fa-home"></i>
|
||||
Go to Dashboard
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user