templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
    <html lang="es">
        <head>
            <meta charset="UTF-8" />
            <meta name="viewport" content="width=device-width, initial-scale=1">
            <meta name="description" content="">
            <meta name="author" content="">
            <title>{% block titulo %}Tecnomecanica{% endblock %}</title>
            {% block css %}
            <link href="{{ asset('taller/css/bootstrap.css') }}" type="text/css" rel="stylesheet">
            <link href="{{ asset('taller/css/toastr.min.css') }}" type="text/css" rel="stylesheet"/>  
            {% endblock %}
    
      <link rel="shortcut icon" href="{{ asset('taller/img/favicon.jpg') }}">
        </head>
        <body>
            {% block nav %}
            {% endblock %}
            {% block javascript %}
            <script type="text/javascript" src="{{ asset('taller/js/jquery.js') }}"></script>
            <script type="text/javascript" src="{{ asset('taller/js/bootstrap.js') }}"></script>
                
            <script>
    
                //abre el submenu de facturacion si la ruta corresponde
                var ruta=window.location.pathname;
                var regex=/^\/([a-z]|[A-Z])+\//g;
                var e=regex.exec(ruta);
                if(e!=null && e[0]==="/facturas/" )
                    $('#menuFacturacion').collapse("show");
                $("div.modal-body  div.tab-pane").css("overflow-y","auto");
                $("ui-datepicker-div").css("z-index",999);
                $("div.modal-body  div.tab-pane").css("max-height",$(window).height()*0.7);
                $(window).on('resize', function(){
                        $("div.modal-body div.tab-pane").css("max-height",$(window).height()*0.7);
                });
                
            </script>
        {% endblock %}
        </body>
    </html>