47 lines
1.8 KiB
Twig
47 lines
1.8 KiB
Twig
{% extends '@Core/admin/layout.html.twig' %}
|
|
|
|
{% block title %}Tableau de bord - {{ parent() }}{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="row">
|
|
<div class="col-12 p-3">
|
|
<h3>Bienvenue, {{ app.user.displayName }} 👋</h3>
|
|
<hr>
|
|
</div>
|
|
|
|
<div class="col-12 col-md-3 p-3">
|
|
<div class="list-group mb-4">
|
|
<div class="list-group-item list-group-item-action bg-dark-blue">
|
|
<a href="{{ path('admin_blog_post_index') }}" class="text-white">
|
|
<span class="fa fa-pen"></span>
|
|
{{ 'Articles'|trans }}
|
|
</a>
|
|
</div>
|
|
{% for entity in posts %}
|
|
<div class="list-group-item">
|
|
{{ include('blog/post_admin/field/title.html.twig') }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<div class="list-group mb-4">
|
|
<div class="list-group-item list-group-item-action bg-dark-blue">
|
|
<a href="{{ path('admin_project_index') }}" class="text-white">
|
|
<span class="fa fa-hat-wizard"></span>
|
|
{{ 'Projets'|trans }}
|
|
</a>
|
|
</div>
|
|
{% for entity in projects %}
|
|
<div class="list-group-item">
|
|
<a href="{{ path('admin_project_edit', {entity: entity.id}) }}" class="d-block text-dark">
|
|
{{ entity.label }}
|
|
</a>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
<iframe src="{{ setting('stats_umami_url') }}" class="col-12 col-md-9" frameborder="0" style="height: calc(100vh - 170px)">
|
|
</iframe>
|
|
</div>
|
|
{% endblock %}
|