Completed first-round updates for the error template views.

This commit is contained in:
Matt Scott 2023-02-20 12:28:56 -05:00
parent b3c80df674
commit 65b7b9a5c3
6 changed files with 272 additions and 320 deletions

View File

@ -1,10 +1,9 @@
<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>{{ SITE_NAME }} user verification email</title>
<title>{{ SITE_NAME }} User Verification Email</title>
<style>
@media only screen and (max-width: 620px) {
table[class=body] h1 {
@ -99,7 +98,6 @@
}
</style>
</head>
<body class=""
style="background-color: #f6f6f6; font-family: sans-serif; -webkit-font-smoothing: antialiased; font-size: 14px; line-height: 1.4; margin: 0; padding: 0; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;">
<span class="preheader"
@ -169,7 +167,8 @@
</table>
<p
style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; margin-bottom: 15px;">
Your confirmation link will be expired in 24 hours. If you did not create an account, no further action is required.</p>
Your confirmation link will be expired in 24 hours. If you did not create an
account, no further action is required.</p>
<p
style="font-family: sans-serif; font-size: 14px; font-weight: normal; margin: 0; margin-bottom: 15px;">
Cheers!</p>

View File

@ -1,25 +1,17 @@
{% extends "base.html" %}
{% block title %}
<title>
400 Error - {{ SITE_NAME }}
</title>
{% endblock %}
{% block title %}<title>HTTP 400 Error - {{ SITE_NAME }}</title>{% endblock %}
{% block dashboard_stat %}
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
400
<small>Error</small>
</h1>
<h1 class="m-0 text-dark">HTTP 400 Error</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li>
<li class="breadcrumb-item active">400 Error</li>
<li class="breadcrumb-item active">HTTP 400 Error</li>
</ol>
</div>
</div>
@ -30,13 +22,11 @@
{% block content %}
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">
400
</h2>
<h2 class="headline text-yellow">HTTP 400 Error</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Bad request
Oops! Bad Request
</h3>
<p>
{% if msg %}

View File

@ -1,25 +1,18 @@
{% extends "base.html" %}
{% block title %}
<title>
403 Error - {{ SITE_NAME }}
</title>
{% endblock %}
{% block title %}<title>HTTP 403 Error - {{ SITE_NAME }}</title>{% endblock %}
{% block dashboard_stat %}
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
403
<small>Error</small>
</h1>
<h1 class="m-0 text-dark">HTTP 403 Error</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li>
<li class="breadcrumb-item active">403 Error</li>
<li class="breadcrumb-item active">HTTP 403 Error</li>
</ol>
</div>
</div>
@ -31,12 +24,12 @@
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">
403
HTTP 403 Error
</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Access denied
Oops! Access Denied
</h3>
<p>
You don't have permission to access this page

View File

@ -1,25 +1,17 @@
{% extends "base.html" %}
{% block title %}
<title>
404 Error - {{ SITE_NAME }}
</title>
{% endblock %}
{% block title %}<title>HTTP 404 Error - {{ SITE_NAME }}</title>{% endblock %}
{% block dashboard_stat %}
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
404
<small>Error</small>
</h1>
<h1 class="m-0 text-dark">HTTP 404 Error</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li>
<li class="breadcrumb-item active">404 Error</li>
<li class="breadcrumb-item active">HTTP 404 Error</li>
</ol>
</div>
</div>
@ -30,13 +22,11 @@
{% block content %}
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">
404
</h2>
<h2 class="headline text-yellow">HTTP 404 Error</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! You're lost
Oops! Page not found.
</h3>
<p>
The page you requested could not be found.

View File

@ -1,25 +1,17 @@
{% extends "base.html" %}
{% block title %}
<title>
500 Error - {{ SITE_NAME }}
</title>
{% endblock %}
{% block title %}<title>HTTP 500 Error - {{ SITE_NAME }}</title>{% endblock %}
{% block dashboard_stat %}
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
500
<small>Error</small>
</h1>
<h1 class="m-0 text-dark">HTTP 500 Error</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
<li class="breadcrumb-item"><a href="{{ url_for('dashboard.dashboard') }}">Dashboard</a></li>
<li class="breadcrumb-item active">500 Error</li>
<li class="breadcrumb-item active">HTTP 500 Error</li>
</ol>
</div>
</div>
@ -30,13 +22,11 @@
{% block content %}
<section class="content">
<div class="error-page">
<h2 class="headline text-yellow">
500
</h2>
<h2 class="headline text-yellow">HTTP 500 Error</h2>
<div class="error-content">
<h3>
<i class="fa-solid fa-exclamation-triangle text-yellow"></i>
Oops! Something went wrong
Oops! Something went wrong.
</h3>
<p>
Try again later.

View File

@ -1,20 +1,12 @@
{% extends "base.html" %}
{% block title %}
<title>
SAML Authentication Error - {{ SITE_NAME }}
</title>
{% endblock %}
{% block title %}<title>SAML Authentication Error - {{ SITE_NAME }}</title>{% endblock %}
{% block dashboard_stat %}
<div class="content-header">
<div class="container-fluid">
<div class="row mb-2">
<div class="col-sm-6">
<h1 class="m-0 text-dark">
SAML
<small>Error</small>
</h1>
<h1 class="m-0 text-dark">SAML Authentication Error</h1>
</div>
<div class="col-sm-6">
<ol class="breadcrumb float-sm-right">
@ -31,16 +23,14 @@
<section class="content">
<div class="error-page">
<div>
<h1 class="headline text-yellow" style="font-size:46px;">
SAML Authentication Error
</h1>
<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
Oops! Something went wrong with your authentication.
</h3>
<br>
<p>