templates/base.html.twig line 45

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     {% set route_name = app.request.attributes.get('_route') %}
  4.     <head>
  5.         <meta charset="UTF-8">
  6.         <title>{% block title %}Truck Capacity RC{% endblock %}</title>
  7.         {% block stylesheets %}
  8.             <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
  9.             <script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
  10.             <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  11.             <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css" integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog==" crossorigin="anonymous" />
  12.             <link href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/css/toastr.min.css" rel="stylesheet" />
  13.             <link href="https://fonts.googleapis.com/css?family=Montserrat:300, 400, 600" rel="stylesheet">
  14.             <link rel="stylesheet" href="https://unpkg.com/vue-multiselect@2.1.6/dist/vue-multiselect.min.css">
  15.             <style>
  16.                 * {
  17.                     font-family: Montserrat;
  18.                 }
  19.                 .row {
  20.                     margin: 0px;
  21.                 }
  22.             </style>
  23.         {% endblock %}
  24.     </head>
  25.     <body>
  26.         <ul class="nav nav-tabs">
  27.             <li class="nav-item">
  28.                 <a {% if route_name == 'upload' %} class="nav-link active" {% else %} class="nav-link" {% endif %} href="/">Subir Archivo</a>
  29.             </li>
  30.             <li class="nav-item">
  31.                 <a {% if route_name == '_shipments' %} class="nav-link active" {% else %} class="nav-link" {% endif %} href="/shipments">Listado</a>
  32.             </li>
  33.             <li class="nav-item">
  34.                 <a {% if route_name == '_rutas' %} class="nav-link active" {% else %} class="nav-link" {% endif %} href="/rutas">Rutas</a>
  35.             </li>
  36.             <li class="nav-item">
  37.                 <a {% if route_name == '_truck_report' %} class="nav-link active" {% else %} class="nav-link" {% endif %} href="/truckReport">Truck Capacity Report</a>
  38.             </li>
  39.             <li class="nav-item">
  40.                 <a  {% if route_name == '_grafica' %} class="nav-link active" {% else %} class="nav-link" {% endif %} href="/grafica">Gráfica</a>
  41.             </li>
  42.             <li class="nav-item">
  43.                 <a {% if route_name == '_dashboard' %} class="nav-link active" {% else %} class="nav-link" {% endif %} class="nav-link" href="/dashboard">Dashboard</a>
  44.             </li>
  45.             {% if is_granted('IS_ANONYMOUS') %}
  46.             <li class="nav-item">
  47.                 <a {% if route_name == 'app_login' %} class="nav-link active" {% else %} class="nav-link" {% endif %} class="nav-link" href="/login">Login</a>
  48.             </li>
  49.             {% endif %}
  50.             {% if is_granted('ROLE_ADMIN') %}
  51.             <li>
  52.                 <a class="nav-link" href="/metas">Metas</a>
  53.             </li>
  54.             <li>
  55.                 <a class="nav-link" href="/logout">Salir</a>
  56.             </li>
  57.             {% endif %}
  58.         </ul>
  59.         {% block body %}{% endblock %}
  60.         {% block javascripts %}
  61.         <script>
  62.             $(document).ready(function(){
  63.                 Vue.component('multiselect', window.VueMultiselect.default);
  64.             });
  65.         </script>
  66.             <script src="https://code.jquery.com/ui/1.12.1/jquery-ui.js"></script>
  67.             <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>
  68.             <script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/js/toastr.min.js"></script>
  69.             <script src="https://cdn.jsdelivr.net/npm/vue@2.6.12/dist/vue.js"></script>
  70.             <script src="https://unpkg.com/vue-multiselect@2.1.6"></script>
  71.             <script src="{{ asset('js/base.js') }}"></script>
  72.             <script>
  73.                 var pushEmpate = "{{path ('_push_empate')}}";
  74.                 
  75.             </script>
  76.         {% endblock %}
  77.     </body>
  78. </html>