{% extends 'base.html' %}

{% block content %}
<div class="row justify-content-md-center">
    <img src="{{ url_for('static', filename='images/base/navbar-logo.svg') }}"
    alt="Logo for lumi2"
    class="img-fluid rounded"
    style="max-width: 400px"
    >
</div>
<h1 class="text-center display-1">Welcome</h1>
<div class="row justify-content-md-centermt-4">
    <p class="fs-3 text-secondary text-center "><i class="bi-cone-striped"></i> This site is still under construction <i class="bi-cone-striped"></i></p>
    <p class="fs-3">With Lumi2 you can easily manage the users and user-groups on your LDAP server.</p>
    {% if g.is_authenticated %}
    <p class="fs-3">There are currently {{ user_count }} <a href="{{ url_for('usermanager.user_list') }}">users</a> and {{ group_count }} <a href="{{ url_for('usermanager.group_list') }}">groups</a>.</p>
    {% else %}
    <p class="fs-3">You are currently not logged in. Please <a href="{{ url_for('auth.login') }}">log in</a> to continue.</p>
    {% endif %}
</div>
{% endblock content %}
