templates/base.html.twig line 1
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="format-detection" content="telephone=no">
<title>
{% block title %}
{% endblock %}
</title>
<link rel="icon" href="/uploads/favicon.ico">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
<link href="https://fonts.cdnfonts.com/css/trade-gothic-lt-std" rel="stylesheet">
<link href="{{ asset('css/main.css') }}" type="text/css" rel="stylesheet" />
<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<!-- jQuery UI library -->
<link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/base/jquery-ui.css">
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
<!-- Datatables -->
<link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/1.10.25/css/jquery.dataTables.css">
<script type="text/javascript" charset="utf8" src="https://cdn.datatables.net/1.10.25/js/jquery.dataTables.js"></script>
</head>
<body>
{% if app.request.attributes.get('_route') == 'app_generador_de_firmas' or app.request.attributes.get('_route') == 'app_firma' %}
{% include 'navbar.html.twig' with { 'user_name': user_name|default('') } %}
{% elseif app.request.pathinfo|slice(0, 9) == '/empresas' or app.request.pathinfo|slice(0, 7) == '/cargos' or app.request.pathinfo|slice(0, 9) == '/oficinas' or app.request.pathinfo|slice(0, 5) == '/crud' or app.request.pathinfo|slice(0, 13) == '/localizacion' %}
{% include 'navbar-admin.html.twig' with { 'user_name': user_name|default('') } %}
{% endif %}
{% block body %}{% endblock %}
<!-- Option 1: Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
</body>
</html>