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 --> <!-- Main content -->
<section class="content"> <section class="content">
<div class="error-page"> <div class="error-page">
<h2 class="headline text-yellow">400</h2> <h2 class="headline text-yellow">
400
</h2>
<div class="error-content"> <div class="error-content">
<h3> <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> </h3>
<p> <p>
{% if msg %} {% if msg %}
@ -33,7 +36,6 @@
<br/>You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>. <br/>You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p> </p>
</div> </div>
<!-- /.error-content -->
</div> </div>
<!-- /.error-page --> <!-- /.error-page -->
</section> </section>

View File

@ -19,17 +19,19 @@
<!-- Main content --> <!-- Main content -->
<section class="content"> <section class="content">
<div class="error-page"> <div class="error-page">
<h2 class="headline text-yellow">403</h2> <h2 class="headline text-yellow">
403
</h2>
<div class="error-content"> <div class="error-content">
<h3> <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> </h3>
<p> <p>
You don't have permission to access this page You don't have permission to access this page
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>. You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p> </p>
</div> </div>
<!-- /.error-content -->
</div> </div>
<!-- /.error-page --> <!-- /.error-page -->
</section> </section>

View File

@ -19,17 +19,19 @@
<!-- Main content --> <!-- Main content -->
<section class="content"> <section class="content">
<div class="error-page"> <div class="error-page">
<h2 class="headline text-yellow">404</h2> <h2 class="headline text-yellow">
404
</h2>
<div class="error-content"> <div class="error-content">
<h3> <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> </h3>
<p> <p>
The page you requested could not be found. The page you requested could not be found.
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>. You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p> </p>
</div> </div>
<!-- /.error-content -->
</div> </div>
<!-- /.error-page --> <!-- /.error-page -->
</section> </section>

View File

@ -19,17 +19,19 @@
<!-- Main content --> <!-- Main content -->
<section class="content"> <section class="content">
<div class="error-page"> <div class="error-page">
<h2 class="headline text-yellow">500</h2> <h2 class="headline text-yellow">
500
</h2>
<div class="error-content"> <div class="error-content">
<h3> <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> </h3>
<p> <p>
Try again later. Try again later.
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>. You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p> </p>
</div> </div>
<!-- /.error-content -->
</div> </div>
<!-- /.error-page --> <!-- /.error-page -->
</section> </section>

View File

@ -20,24 +20,31 @@
<section class="content"> <section class="content">
<div class="error-page"> <div class="error-page">
<div> <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"> <div class="error-content">
<h3> <h3>
<i class="fa fa-warning text-yellow"></i> Oops! Something went wrong <i class="fa-solid fa-exclamation-triangle text-yellow"></i>
</h3><br> Oops! Something went wrong
</h3>
<br>
<p> <p>
Login failed.<br> Login failed.
Error(s) when processing SAML Response:<br> <br>
Error(s) when processing SAML Response:
<br>
<ul> <ul>
{% for error in errors %} {% for error in errors %}
<li>{{ error }}</li> <li>{{ error }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>. You may <a href="{{ url_for('dashboard.dashboard') }}">return to the dashboard</a>.
</p> </p>
</div> </div>
<!-- /.error-content -->
</div> </div>
<!-- /.error-page --> <!-- /.error-page -->
</section> </section>