layout.html.twig 2.09 KB
Newer Older
1
{% extends "base.html.twig" %}
Mat's avatar
Mat committed
2

3
4
5
{% block title %}
    AssoBundle
{% endblock %}
Mat's avatar
Mat committed
6

7
8
9
{% block stylesheets %}
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
{% endblock %}
Mat's avatar
Mat committed
10

11
{% block bodyParam %}office{% endblock %}
Mat's avatar
Mat committed
12

13
14
15
16
17
18
{% block layout %}
    <h1>Backoffice</h1>
    {% block menu %}
        <h3>Menu</h3>
        <ul class="fa-ul">
            <li><span class="fa-li"><i class="fas fa-arrow-left"></i></span><a href="{{ path('techno_homepage') }}">Accueil</a></li>
Mat's avatar
hop    
Mat committed
19
20
            <li><span class="fa-li"><i class="fas fa-arrow-right"></i></span><a href="{{ path('asso_membre_main_display') }}">Membres ajax</a></li>

21
22
23
            <li><span class="fa-li"><i class="fas fa-th-list"></i></span><a href="{{ path('asso_association_read') }}">Les associations</a></li>
            <li><span class="fa-li"><i class="fas fa-th-list"></i></span><a href="{{ path('asso_membre_read') }}">Les membres</a></li>

Mat's avatar
hop    
Mat committed
24

25
26
27
28
29
30
            <li><span class="fa-li"><i class="fas fa-plus"></i></span><a href="{{ path('asso_association_create') }}">Ajouter une association</a></li>
            <li><span class="fa-li"><i class="fas fa-plus"></i></span><a href="{{ path('asso_membre_create') }}">Ajouter un membre</a></li>
        </ul>
    {% endblock %}

    {% block body %}{% endblock %}
Mat's avatar
hop    
Mat committed
31

Mat's avatar
Mat committed
32
33
34
35
    {% block javascripts %}
        <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
        <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
36
        {% block customJS %}{% endblock %}
Mat's avatar
Mat committed
37
    {% endblock %}
38
39

{% endblock %}