{% extends "base.html" %}

{% block title %}
  <title>
    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>
        </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>
          </ol>
        </div>
      </div>
    </div>
  </div>
{% endblock %}

{% block content %}
  <section class="content">
    <div class="error-page">
      <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>
  </section>
{% endblock %}