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,10 +19,13 @@
<!-- Main content -->
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">400</h2>
<h2 class="headline text-yellow">
400
</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Bad request
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Bad request
</h3>
<p>
{% if msg %}
@ -33,7 +36,6 @@
<br/>You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p>
</div>
<!-- /.error-content -->
</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>
<h2 class="headline text-yellow">
403
</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Access denied
<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>
<!-- /.error-content -->
</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>
<h2 class="headline text-yellow">
404
</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! You're lost
<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>
<!-- /.error-content -->
</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>
<h2 class="headline text-yellow">
500
</h2>
<div class="error-content">
<h3>
<i class="fa fa-warning text-yellow"></i> Oops! Something went wrong
<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>
<!-- /.error-content -->
</div>
<!-- /.error-page -->
</section>

View File

@ -20,24 +20,31 @@
<section class="content">
<div class="error-page">
<div>
<h1 class="headline text-yellow" style="font-size:46px;">SAML Authentication Error</h1></div><br/><br/>
<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>
<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>
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>
<!-- /.error-page -->
</section>