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

{% block inner %}
<div class="container text-center py-5">
    <h1 class="mb-3">Congratulations!</h1>
    <p class="lead">You have successfully completed this level.</p>
    <div class="mt-4">
        <p>What would you like to do next?</p>
        <div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
            <a href="{% url 'vulnerabilities' %}" class="btn btn-secondary me-sm-2" role="button">
                <i class="fas fa-home"></i> Back to Main Page
            </a>
            <a href="{% url 'vulnerabilities/level' level_num=current_level %}" class="btn btn-info me-sm-2" role="button">
                <i class="fas fa-redo"></i> Review/Attempt Again
            </a>
            {% if next_level %}
            <a href="{% url 'vulnerabilities/level' level_num=next_level %}" class="btn btn-primary me-sm-2" role="button">
                <i class="fas fa-forward"></i> Go to Next Level
            </a>
            {% else %}
                <button class="btn btn-secondary me-sm-2 tooltip" role="button" title="This is the last level" disabled>
                    <i class="fas fa-forward"></i> Go to Next Level
                </button>
            {% endif %}
        </div>
    </div>
</div>
{% endblock %}

{% comment %}
vi: ft=htmldjango
{% endcomment %}
