{% extends 'base.html' %}
{% load static %}

{% block title %}Erreur d'activation - ECOLUX{% endblock %}

{% block content %}
<section class="section">
    <div class="container">
        <div class="columns is-centered">
            <div class="column is-half">
                <div class="notification is-danger">
                    <div class="content has-text-centered">
                        <span class="icon is-large">
                            <i class="fas fa-exclamation-triangle fa-3x"></i>
                        </span>
                        <h1 class="title is-4">Erreur d'activation</h1>
                        <p>{{ message }}</p>
                        <br>
                        <div class="buttons is-centered">
                            <a href="{% url 'userapp:to_login' %}" class="button is-primary">
                                <span class="icon">
                                    <i class="fas fa-sign-in-alt"></i>
                                </span>
                                <span>Se connecter</span>
                            </a>
                            <a href="{% url 'app:home' %}" class="button is-light">
                                <span class="icon">
                                    <i class="fas fa-home"></i>
                                </span>
                                <span>Accueil</span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
{% endblock %}
