mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 23:23:51 +00:00
add admin section (2/2)
This commit is contained in:
6
Resources/translations/messages.fr.yml
Normal file
6
Resources/translations/messages.fr.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
views:
|
||||
Main:
|
||||
admin:
|
||||
index:
|
||||
header_title: Administration de Chill
|
||||
page_title: Administration
|
23
Resources/views/Admin/index.html.twig
Normal file
23
Resources/views/Admin/index.html.twig
Normal file
@@ -0,0 +1,23 @@
|
||||
{% extends "CLChillMainBundle::layout.html.twig" %}
|
||||
|
||||
{% block title%}{{ header_title|trans }}{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>{{ page_title|trans }}</h1>
|
||||
|
||||
<ul class="two tiles">
|
||||
{% for menu in menu_composer.getRoutesFor(menu) %}
|
||||
<li class="">
|
||||
<h3><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></h3>
|
||||
|
||||
<p>{{ menu.helper|trans|default('') }}</p>
|
||||
|
||||
<p><a href="{{ path(menu.route, args) }}" >{{ menu.label|trans }}</a></p>
|
||||
</li>
|
||||
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
|
||||
{% endblock %}
|
@@ -57,7 +57,7 @@
|
||||
<li><a href="#">Bonjour {utilisateur}</a></li>
|
||||
<li><a href="#"><i class="icon-users"></i></a></li>
|
||||
<li><a href="#"><i class="icon-export"></i></a></li>
|
||||
<li><a href="#"><i class="icon-gauge"></i></a></li>
|
||||
<li><a href="{{ path('chill_main_admin_central') }}"><i class="icon-gauge"></i></a></li>
|
||||
<li><a href="#">Se déconnecter <i class="icon-logout"></i></a></li>
|
||||
</ul>
|
||||
|
||||
|
Reference in New Issue
Block a user