templates/base.html.twig line 1

  1. <!DOCTYPE html>
    <html lang="fr">
        <head>
            <meta charset="UTF-8">
            <title>{% block title %}Application{% endblock %}</title>
            <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
            {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
            {% block stylesheets %}
                {{ encore_entry_link_tags('app') }}
                {{ encore_entry_link_tags('calendar') }}
                <link rel="stylesheet" type="text/css" href="{{ asset('../node_modules/datatables.net-zf/css/dataTables.foundation.min.css') }}"/>
                <link rel="stylesheet" type="text/css" href="{{ asset('../node_modules/datatables.net-buttons-zf/css/buttons.foundation.min.css') }}"/>
            {% endblock %}
    
            {% block javascripts %}
                <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.3/jszip.min.js"></script>
                <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/pdfmake.min.js"></script>
                <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.1.53/vfs_fonts.js"></script>
                <script type="text/javascript" charset="utf-8" src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js"></script>
                {{ encore_entry_script_tags('app') }}
                {{ encore_entry_script_tags('calendar') }}
            {% endblock %}
            <style>
            /*.fc-scroller {
                overflow-y: hidden !important;
            }*/
            .fc .fc-daygrid-day-top {
                flex-direction: initial !important;
            }
            .telephone{
                width: 130px;
            }
            </style>
        </head>
        <body>
            <header>
                {% if is_granted("ROLE_USER") %}
                    <nav>
                        <ul class="menu">
                            <li><a href="{{ path('app_index') }}">Calendrier</a></li>
                            <li><a href="{{ path('app_recrutement') }}">Recrutement</a></li>
                            <li><a href="{{ path('app_worker_index') }}">Extras</a></li>
                            <li><a href="{{ path('app_report_search') }}">Recherche extras</a></li>
                            <li><a href="{{ path('app_customer_index') }}">Clients</a></li>
                            {#<li><a href="{{ path('app_mission_index') }}">Création Mission</a></li>#}
                            <li><a href="{{ path('app_report_customer') }}">Facturation mission</a></li>
                            <li><a href="{{ path('app_report_mission') }}">Extraction paye</a></li>
                            <li><a href="{{ path('app_parameters_index') }}">Paramètres</a></li>
                            <li><a href="{{ path('app_logout') }}" class="float-right">Déconnexion</a></li>
                        </ul>
                    </nav>
                {% else %}
                    <section class="container">
                        <div class="text-center mt-5 logo">
                            <!--<img src="{{asset('../../asset/images/Logo ATE.jpg')}}" title="logo" alt="logo" class="img-fluid rounded" />-->
                        </div>   
                    </section>
                {% endif %}
            </header>
    
            <div id="container">
            {% block body %}{% endblock %}
            </div>
            {% block javascriptFin %}
                <script>
                    $(document).foundation();
                </script>
            {% endblock %}
        </body>
    </html>