{% extends "base.html" %}
{% 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 Authentication 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">SAML Authentication Error</li>
                    </ol>
                </div>
            </div>
        </div>
    </div>
{% endblock %}

{% block 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-solid fa-exclamation-triangle text-yellow"></i>
                    Oops! Something went wrong with your authentication.
                </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>
    </section>
{% endblock %}