src/templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.     <meta charset="UTF-8"/>
  5.     <meta name="description" content="overview &amp; stats"/>
  6.     <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0"/>
  7.     <title></title>
  8.         {% block stylesheets %}
  9.         <!-- bootstrap & fontawesome -->
  10.         <link rel="stylesheet" href="{{ asset('ace/css/bootstrap.css') }}"/>
  11.         <!--link rel="stylesheet" href="{{ asset('ace/css/font-awesome.css') }}"/-->
  12.         <link rel="stylesheet" href="{{ asset('css/all.css') }}"/>
  13.         <!-- page specific plugin styles -->
  14.         <link rel="stylesheet" href="{{ asset('ace/css/jquery-ui.css') }}"/>
  15.             <!-- ace styles -->               
  16.                               
  17.                 <link rel="stylesheet" href="{{ asset('ace/css/colorbox.css') }}" />
  18.                 <link rel="stylesheet" href="{{ asset('ace/css/chosen.css') }}" />
  19.                 <link rel="stylesheet" href="{{ asset('ace/css/datepicker.css') }}" />
  20.                 <link rel="stylesheet" href="{{ asset('ace/css/fullcalendar.css') }}" />
  21.                 <link rel="stylesheet" href="{{ asset('ace/css/bootstrap-timepicker.css') }}" />
  22.                 <link rel="stylesheet" href="{{ asset('ace/css/daterangepicker.css') }}" />
  23.                 <link rel="stylesheet" href="{{ asset('ace/css/bootstrap-datetimepicker.css') }}" />                
  24.                 
  25.                 <link rel="stylesheet" type="text/css" href="{{ asset('ace/css/dataTables/dataTables.colVis.css') }}"/>
  26.                 <link rel="stylesheet" type="text/css" href="{{ asset('ace/css/dataTables/dataTables.responsive.css') }}"/>
  27.                 <link rel="stylesheet" type="text/css" href="{{ asset('ace/css/dataTables/dataTables.scroller.css') }}" />
  28.                 
  29.                 <link rel="stylesheet" href="{{ asset('ace/css/ace.css') }}" class="ace-main-stylesheet" id="main-ace-style" />     
  30.                 <link href="{{ asset('css/aplication.css') }}" rel="stylesheet" type="text/css"/>
  31.                 <link rel="stylesheet" href="{{ asset('ace/css/jquery.loadmask.css') }}" />
  32.                 <link rel="stylesheet" href="{{ asset('ace/css/bootstrap-duallistbox.css') }}" />
  33.                 <link rel="stylesheet" href="{{ asset('alerts/jquery.alerts.css') }}" />
  34.                 <link rel="stylesheet" href="{{ asset('ace/css/dropzone.css') }}" />
  35.         {% endblock %}
  36.         {% block javascripts %}
  37.             <!-- ace settings handler -->
  38.             <script src="{{ asset('ace/js/ace-extra.js') }}"></script>
  39.             
  40.             <script type="text/javascript">
  41.                 window.jQuery || document.write("<script src='{{ asset('ace/js/jquery.js') }}'>" + "<" + "/script>");
  42.             </script>
  43.             <!-- ace styles -->
  44.             <link rel="stylesheet" href="{{ asset('ace/css/colorbox.css') }}"/>
  45.             <link rel="stylesheet" href="{{ asset('ace/css/chosen.css') }}"/>
  46.             <link rel="stylesheet" href="{{ asset('ace/css/datepicker.css') }}"/>
  47.             <link rel="stylesheet" href="{{ asset('ace/css/fullcalendar.css') }}"/>
  48.             <link rel="stylesheet" href="{{ asset('ace/css/bootstrap-timepicker.css') }}"/>
  49.             <link rel="stylesheet" href="{{ asset('ace/css/daterangepicker.css') }}"/>
  50.             <link rel="stylesheet" href="{{ asset('ace/css/bootstrap-datetimepicker.css') }}"/>
  51.             <link rel="stylesheet" type="text/css" href="{{ asset('ace/css/dataTables/dataTables.colVis.css') }}"/>
  52.             <link rel="stylesheet" type="text/css" href="{{ asset('ace/css/dataTables/dataTables.responsive.css') }}"/>
  53.             <link rel="stylesheet" type="text/css" href="{{ asset('ace/css/dataTables/dataTables.scroller.css') }}"/>
  54.             <!-- MULTI SELECT CSS -->
  55.             <link rel="stylesheet" type="text/css" href="{{ asset('ace/js/jquery-multi-select/css/multi-select.css') }}"/>
  56.             <link rel="stylesheet" href="{{ asset('ace/css/ace.css') }}" class="ace-main-stylesheet"
  57.                   id="main-ace-style"/>
  58.             <link href="{{ asset('css/aplication.css') }}" rel="stylesheet" type="text/css"/>
  59.             <link rel="stylesheet" href="{{ asset('ace/css/jquery.loadmask.css') }}"/>
  60.             <link rel="stylesheet" href="{{ asset('alerts/jquery.alerts.css') }}"/>
  61.             <script src="{{ asset('ace/js/jquery.form.js') }}"></script>
  62.             <script src="{{ asset('ace/js/jquery.loadmask.js') }}"></script> 
  63.                 
  64.             <script src="{{ asset('ace/js/jquery.bootstrap-duallistbox.js') }}"></script> 
  65.             <script src="{{ asset('alerts/jquery.alerts.js') }}"></script> 
  66.             <script src="{{ asset('js/app.js') }}"></script>
  67.             <script src="{{ asset('ace/js/dropzone.js') }}"></script>
  68.             <script type="text/javascript">
  69.                 window.jQuery || document.write("<script src='{{ asset('ace/js/jquery.js') }}'>" + "<" + "/script>");
  70.             </script>
  71.             <script type="text/javascript">
  72.                 if ('ontouchstart' in document.documentElement)
  73.                     document.write("<script src='{{ asset('ace/js/jquery.mobile.custom.js') }}'>" + "<" + "/script>");
  74.             </script>
  75.             <script src="{{ asset('ace/js/jquery-ui.js') }}"></script>
  76.             <script src="{{ asset('ace/js/jquery-ui.custom.js') }}"></script>
  77.             <script src="{{ asset('ace/js/jquery.ui.touch-punch.js') }}"></script>
  78.             <script src="{{ asset('ace/js/jquery.easypiechart.js') }}"></script>
  79.             <script src="{{ asset('ace/js/jquery.sparkline.js') }}"></script>
  80.             <script src="{{ asset('ace/js/jquery.colorbox.js') }}"></script>
  81.             <script src="{{ asset('ace/js/jquery.nestable.js') }}"></script>
  82.             <script src="{{ asset('ace/js/bootstrap.js') }}"></script>
  83.             <script src="{{ asset('ace/js/chosen.jquery.js') }}"></script>
  84.             <script src="{{ asset('ace/js/bootbox.js') }}"></script>
  85.             <script src="{{ asset('ace/js/ace/elements.scroller.js') }}"></script>
  86.             <script src="{{ asset('ace/js/ace/elements.colorpicker.js') }}"></script>
  87.             <script src="{{ asset('ace/js/ace/elements.fileinput.js') }}"></script>
  88.             <script src="{{ asset('ace/js/ace/elements.typeahead.js') }}"></script>
  89.             <script src="{{ asset('ace/js/ace/elements.wysiwyg.js') }}"></script>
  90.             <script src="{{ asset('ace/js/ace/elements.spinner.js') }}"></script>
  91.             <script src="{{ asset('ace/js/ace/elements.treeview.js') }}"></script>
  92.             <script src="{{ asset('ace/js/ace/elements.wizard.js') }}"></script>
  93.             <script src="{{ asset('ace/js/ace/elements.aside.js') }}"></script>
  94.             <script src="{{ asset('ace/js/ace/ace.js') }}"></script>
  95.             <script src="{{ asset('ace/js/ace/ace.ajax-content.js') }}"></script>
  96.             <script src="{{ asset('ace/js/ace/ace.touch-drag.js') }}"></script>
  97.             <script src="{{ asset('ace/js/ace/ace.sidebar.js') }}"></script>
  98.             <script src="{{ asset('ace/js/ace/ace.sidebar-scroll-1.js') }}"></script>
  99.             <script src="{{ asset('ace/js/ace/ace.submenu-hover.js') }}"></script>
  100.             <script src="{{ asset('ace/js/ace/ace.widget-box.js') }}"></script>
  101.             <script src="{{ asset('ace/js/ace/ace.settings.js') }}"></script>
  102.             <script src="{{ asset('ace/js/ace/ace.settings-rtl.js') }}"></script>
  103.             <script src="{{ asset('ace/js/ace/ace.settings-skin.js') }}"></script>
  104.             <script src="{{ asset('ace/js/ace/ace.widget-on-reload.js') }}"></script>
  105.             <script src="{{ asset('ace/js/ace/ace.searchbox-autocomplete.js') }}"></script>
  106.             <script src="{{ asset('ace/js/flot/jquery.flot.js') }}"></script>
  107.             <script src="{{ asset('ace/js/flot/jquery.flot.pie.js') }}"></script>
  108.             <script src="{{ asset('ace/js/flot/jquery.flot.resize.js') }}"></script>
  109.             <script src="{{ asset('ace/js/fuelux/fuelux.spinner.js') }}"></script>
  110.             <script src="{{ asset('ace/js/fuelux/fuelux.wizard.js') }}"></script>
  111.             <script src="{{ asset('ace/js/date-time/moment.js') }}"></script>
  112.             <script src="{{ asset('ace/js/date-time/bootstrap-datepicker.js') }}"></script>
  113.             <script src="{{ asset('ace/js/date-time/bootstrap-timepicker.js') }}"></script>
  114.             <script src="{{ asset('ace/js/date-time/daterangepicker.js') }}"></script>
  115.             <script src="{{ asset('ace/js/date-time/bootstrap-datetimepicker.js') }}"></script>
  116.             <script src="{{ asset('ace/js/fullcalendar.js') }}"></script>
  117.             <script src="{{ asset('ace/js/dataTables/jquery.dataTables.js') }}"></script>
  118.             <script src="{{ asset('ace/js/dataTables/jquery.dataTables.bootstrap.js') }}"></script>
  119.             <script src="{{ asset('ace/js/dataTables/extensions/TableTools/js/dataTables.tableTools.js') }}"></script>
  120.             <script src="{{ asset('ace/js/dataTables/extensions/ColVis/js/dataTables.colVis.js') }}"></script>
  121.             <script src="{{ asset('ace/js/dataTables/extensions/Responsive/js/dataTables.responsive.js') }}"></script>
  122.             <!-- MULTI SELECT JS -->
  123.             <script src="{{ asset('ace/js/jquery-multi-select/js/jquery.multi-select.js') }}"></script>
  124.             <script src="{{ asset('ace/js/jquery.form.js') }}"></script>
  125.             <script src="{{ asset('ace/js/jquery.loadmask.js') }}"></script>
  126.             <script src="{{ asset('ace/js/jquery.validate.js') }}"></script>
  127.             <script src="{{ asset('ace/js/jquery.validate.messages_es.js') }}"></script>
  128.             <script src="{{ asset('alerts/jquery.alerts.js') }}"></script>
  129.             <script src="{{ asset('js/app.js') }}"></script>
  130.             <script src="{{ asset('js/cliente.js') }}"></script>
  131.             <script src="{{ asset('js/solicitud.js') }}"></script>
  132.             <script src="{{ asset('ace/js/jquery.inputmask.bundle.js') }}"></script>
  133.             <script type="text/javascript">
  134.                 {% block global_variables %}
  135.                 {% endblock global_variables %}
  136.                 {% block jquery_functions %}
  137.                     function adjustDialogWidth(idDialog) {
  138.                         var dialog_width = $(idDialog).dialog("option", "width");
  139.                         var total_width = $(".main-container").parent().width();
  140.                         if (total_width < dialog_width)
  141.                             $(idDialog).dialog("option", "width", total_width);
  142.                     }
  143.                 {% endblock jquery_functions %}
  144.             </script>
  145.             {% block jquery %}
  146.                 <script type="text/javascript">
  147.                     jQuery().ready(function ($) {
  148.                         $('#navbar').addClass('h-navbar');
  149.                         $('.footer').insertAfter('.page-content');
  150.                         $('.page-content').addClass('main-content');
  151.                         //flot chart resize plugin, somehow manipulates default browser resize event to optimize it!
  152.                         //but sometimes it brings up errors with normal resize event handlers
  153.                         $.resize.throttleWindow = false;
  154.                         //override dialog's title function to allow for HTML titles
  155.                         //si lo ponemos aquí vale para todas las páginas
  156.                         $.widget("ui.dialog", $.extend({}, $.ui.dialog.prototype, {
  157.                             _title: function (title) {
  158.                                 var $title = this.options.title || '&nbsp;'
  159.                                 if (("title_html" in this.options) && this.options.title_html == true)
  160.                                     title.html($title);
  161.                                 else
  162.                                     title.text($title);
  163.                             }
  164.                         }));
  165.                         $('.dialogs,.comments').ace_scroll({
  166.                             size: 300
  167.                         });
  168.                         //Android's default browser somehow is confused when tapping on label which will lead to dragging the task
  169.                         //so disable dragging when clicking on label
  170.                         var agent = navigator.userAgent.toLowerCase();
  171.                         $(document).tooltip({
  172.                             position: {
  173.                                 my: "center bottom-20",
  174.                                 at: "center top",
  175.                                 using: function (position, feedback) {
  176.                                     $(this).css(position);
  177.                                     $("<div>")
  178.                                         .addClass("arrow")
  179.                                         .addClass(feedback.vertical)
  180.                                         .addClass(feedback.horizontal)
  181.                                         .appendTo(this);
  182.                                 }
  183.                             }
  184.                         });
  185.                         $('[data-rel=tooltip]').tooltip({container: 'body'});
  186.                         $('[data-rel=popover]').popover({container: 'body'});
  187.                     });
  188.                 </script>    
  189.             {% endblock jquery %}
  190.         {% endblock %}
  191.         <link rel="shortcut icon" href="{{ asset('favicon.ico') }}"/>
  192.     </head>
  193. <body id="container" class="no-skin">
  194. {% block body %}
  195.     {% block menu_sesion %}
  196.     {% endblock menu_sesion %}
  197.     <div class="main-container" id="main-container">
  198.         <script type="text/javascript">
  199.             try {
  200.                 ace.settings.check('main-container', 'fixed')
  201.             } catch (e) {
  202.             }
  203.         </script>
  204.         {% block menu %}
  205.         {% endblock %}
  206.         <div class="main-content">
  207.             <div class="main-content-inner">
  208.                 {% block breadcrumb %}
  209.                 {% endblock %}
  210.                 <div class="page-content" style="position: relative">
  211.                     {% block notice %}
  212.                     {% endblock notice %}
  213.                     <div id="contenido">
  214.                         <div id="dialog_add"></div>
  215.                         {% block content %}
  216.                         {% endblock %}
  217.                     </div>
  218.                 </div>
  219.             </div>
  220.         </div>
  221.         
  222.         {% block footer %}
  223.                  
  224.         <div class="footer" style="margin-top: 100px;">
  225.             <div class="footer-inner">
  226.                 <div class="footer-content">
  227.                             <span class="bigger-110">
  228.                                 <span class="bolder">Desarrollado por Strategic Thrust</span> &copy; 2022
  229.                             </span>
  230.                 </div>
  231.             </div>
  232.         </div>
  233.         {% endblock %}   
  234.         <a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse">
  235.             <i class="ace-icon fa fa-angle-double-up icon-only bigger-110"></i>
  236.         </a>
  237.     </div>
  238. {% endblock body %}
  239. {% block body_javascripts %}
  240. {% endblock %}
  241.     </body>
  242. </html>