Revert "Revert "Error pages updated for Font Awesome v6 - fa-solid""

This reverts commit 35493fc218.
This commit is contained in:
Matt Scott 2023-02-18 11:02:47 -05:00
parent e2ad3e2001
commit 839c1ecf17
5 changed files with 82 additions and 67 deletions

View File

@ -19,21 +19,23 @@
<!-- Main content -->
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">400</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Bad request
</h3>
<p>
{% if msg %}
{{ msg }}
{% else %}
The server refused to process your request and return a 400 error.
{% endif %}
<br/>You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
<!-- /.error-content -->
<h2 class="headline text-yellow">
400
</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Bad request
</h3>
<p>
{% if msg %}
{{ msg }}
{% else %}
The server refused to process your request and return a 400 error.
{% endif %}
<br/>You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
</div>
<!-- /.error-page -->
</section>

View File

@ -19,17 +19,19 @@
<!-- Main content -->
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">403</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Access denied
</h3>
<p>
You don't have permission to access this page
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
<!-- /.error-content -->
<h2 class="headline text-yellow">
403
</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Access denied
</h3>
<p>
You don't have permission to access this page
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
</div>
<!-- /.error-page -->
</section>

View File

@ -19,17 +19,19 @@
<!-- Main content -->
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">404</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! You're lost
</h3>
<p>
The page you requested could not be found.
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
<!-- /.error-content -->
<h2 class="headline text-yellow">
404
</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! You're lost
</h3>
<p>
The page you requested could not be found.
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
</div>
<!-- /.error-page -->
</section>

View File

@ -19,17 +19,19 @@
<!-- Main content -->
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">500</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Something went wrong
</h3>
<p>
Try again later.
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
<!-- /.error-content -->
<h2 class="headline text-yellow">
500
</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Something went wrong
</h3>
<p>
Try again later.
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
</div>
<!-- /.error-page -->
</section>

View File

@ -19,25 +19,32 @@
<!-- Main content -->
<section class="content">
<div class="error-page">
<div>
<h1 class="headline text-yellow" style="font-size:46px;">SAML Authentication Error</h1></div><br/><br/>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Something went wrong
</h3><br>
<p>
Login failed.<br>
Error(s) when processing SAML Response:<br>
<ul>
{% for error in errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
<!-- /.error-content -->
<div>
<h1 class="headline text-yellow" style="font-size:46px;">
SAML Authentication Error
</h1>
</div>
<br/>
<br/>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Something went wrong
</h3>
<br>
<p>
Login failed.
<br>
Error(s) when processing SAML Response:
<br>
<ul>
{% for error in errors %}
<li>{{ error }}</li>
{% endfor %}
</ul>
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
</div>
<!-- /.error-page -->
</section>