Create dashboard

This commit is contained in:
William Bouzourène 2024-12-24 11:37:40 +01:00
parent 53889674c3
commit 0351eeafd4
Signed by: bouzoure
SSH key fingerprint: SHA256:19MbXpLua4rUtk8tunMesD8KUKb91LXLHg8E/qTooww
2 changed files with 32 additions and 1 deletions

View file

@ -12,3 +12,12 @@ img#header-logo {
height: 18px; height: 18px;
width: auto; width: auto;
} }
.dashboard-tile {
text-decoration: none;
}
.dashboard-tile .feather {
height: 42px;
width: auto;
}

View file

@ -1,5 +1,27 @@
{% extends "layouts/main.html" %} {% extends "layouts/main.html" %}
{% block main %} {% block main %}
<h1>Home</h1> <div class="container mt-4">
<h1>Tableau de bord</h1>
<hr>
<div class="row">
<div class="col-md-6">
<a class="dashboard-tile" href="/people/membres">
<div class="alert alert-primary">
<i class="feather me-2" data-feather="users"></i>
Gestion des <b>membres</b>
</div>
</a>
</div>
<div class="col-md-6">
<a class="dashboard-tile" href="/people/sympathisants">
<div class="alert alert-primary">
<i class="feather me-2" data-feather="users"></i>
Gestion des <b>sympathisants</b>
</div>
</a>
</div>
</div>
</div>
{% endblock %} {% endblock %}