<!DOCTYPE html>
<!--[if lt IE 7]> <html class="ie ie6 lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]> <html class="ie ie7 lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]> <html class="ie ie8 lt-ie9" lang="en"> <![endif]-->
<!--[if IE 9]> <html class="ie ie9" lang="en"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-ie">
<!--<![endif]-->
<head>
<!-- Meta-->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="author" content="">
<title>Veritas SRL {% block title %}{% endblock%}</title>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]><script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script><script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script><![endif]-->
<!-- Bootstrap CSS-->
<link rel="stylesheet" href="{{ asset('theme/app/css/bootstrap.css') }}">
<!-- Vendor CSS-->
<!-- <link rel="stylesheet" href="{{ asset('theme/vendor/fontawesome/css/font-awesome.min.css') }}"> -->
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<link rel="stylesheet" href="{{ asset('theme/vendor/animo/animate+animo.css') }}">
<link rel="stylesheet" href="{{ asset('theme/vendor/csspinner/csspinner.min.css') }}">
<!-- START Page Custom CSS-->
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.1/themes/smoothness/jquery-ui.css">
<link rel="stylesheet" href="{{ asset('theme/vendor/yadcf-0.8.3/jquery.dataTables.yadcf.css') }}">
<!-- Data Table styles-->
<link rel="stylesheet" href="{{ asset('theme/vendor/datatable/extensions/datatable-bootstrap/css/dataTables.bootstrap.css') }}">
<link rel="stylesheet" href="{{ asset('theme/vendor/datatable/extensions/ColVis/css/dataTables.colVis.css') }}">
<link rel="stylesheet" href="{{ asset('theme/vendor/datatable/extensions/TableTools/css/dataTables.tableTools.css') }}">
<!--Feedback Me Plugin -->
<link rel="stylesheet" href="{{ asset('theme/vendor/feedback_me/css/jquery.feedback_me.css') }}">
<!--Boostrap File Input -->
<link rel="stylesheet" href="{{ asset('theme/vendor/bootstrap-fileinput/css/fileinput.css') }}">
<!-- Add fancyBox main CSS files -->
<link rel="stylesheet" type="text/css" href="{{ asset('theme/vendor/fancybox/jquery.fancybox.css?v=2.1.5')}}" media="screen" />
<link rel="stylesheet" type="text/css" href="{{ asset('theme/vendor/fancybox/helpers/jquery.fancybox-buttons.css?v=1.0.5')}}" />
<!-- END Page Custom CSS-->
{% block customcss %}{% endblock %}
<!-- App CSS-->
<link rel="stylesheet" href="{{ asset('theme/app/css/app.css') }}">
<style>
.table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td {
border: 1px solid #000000;
}
.table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td {
border-top: thin solid;
}
</style>
{% block stylesheets %}{% endblock %}
</head>
<body class="aside-toggled">
{% block body %} {% endblock %}
{% block offsidebar %} {% endblock %}
</section>
<!-- END Main wrapper-->
<!-- START Scripts-->
<!-- Main vendor Scripts-->
<!--<script src="{{ asset('theme/vendor/jquery/jquery.min.js') }}"></script>-->
<!--<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>-->
<script src="{{ asset('theme/js/jquery-2.0.0.js') }}"></script>
<script src="{{ asset('theme/vendor/bootstrap/js/bootstrap.min.js') }}"></script>
<!-- Plugins-->
<script src="{{ asset('theme/vendor/chosen/chosen.jquery.min.js') }}"></script>
<script src="{{ asset('theme/vendor/slider/js/bootstrap-slider.js') }}"></script>
<script src="{{ asset('theme/vendor/filestyle/bootstrap-filestyle.min.js') }}"></script>
<!-- Animo-->
<script src="{{ asset('theme/vendor/animo/animo.min.js') }}"></script>
<!-- Sparklines-->
<script src="{{ asset('theme/vendor/sparklines/jquery.sparkline.min.js') }}"></script>
<!-- Slimscroll-->
<script src="{{ asset('theme/vendor/slimscroll/jquery.slimscroll.min.js') }}"></script>
<!-- START Page Custom Script-->
<!-- jQuery UI-->
<script src="{{ asset('theme/vendor/jqueryui/js/jquery-ui-1.10.4.custom.min.js') }}"></script>
<script src="{{ asset('theme/vendor/touch-punch/jquery.ui.touch-punch.min.js') }}"></script>
<!-- Migrate script-->
<script src="https://code.jquery.com/jquery-migrate-1.0.0.js"></script>
<!-- Data Table Scripts-->
<script src="{{ asset('theme/vendor/datatable/media/js/jquery.dataTables.min.js') }}"></script>
<script src="{{ asset('theme/vendor/datatable/extensions/datatable-bootstrap/js/dataTables.bootstrap.js') }}"></script>
<script src="{{ asset('theme/vendor/datatable/extensions/datatable-bootstrap/js/dataTables.bootstrapPagination.js') }}"></script>
<script src="{{ asset('theme/vendor/datatable/extensions/ColVis/js/dataTables.colVis.min.js') }}"></script>
<script src="{{ asset('theme/vendor/datatable/extensions/TableTools/js/dataTables.tableTools.min.js') }}"></script>
<!-- Modernizr JS Script-->
<script src="{{ asset('theme/vendor/modernizr/modernizr.js') }}" type="application/javascript"></script>
<!-- FastClick for mobiles-->
<script src="{{ asset('theme/vendor/fastclick/fastclick.js') }}" type="application/javascript"></script>
<!-- Yet Another Filter -->
<script src="{{ asset('theme/vendor/yadcf-0.8.3/jquery.dataTables.yadcf.js') }}"></script>
<!--[if lt IE 8]><script src="js/excanvas.min.js"></script><![endif]-->
{% block customjs %}{% endblock %}
<!-- <script src="{{ asset('theme/js/jquery.maskedinput.js')}}" type="text/javascript"></script>-->
<!--Feedback Me Plugin -->
<script src="{{ asset('theme/vendor/feedback_me/js/jquery.feedback_me.js') }}"></script>
<!--Boostrap File Input -->
<script src="{{ asset('theme/vendor/bootstrap-fileinput/js/fileinput.js') }}"></script>
<!-- Add fancyBox main JS files -->
<!-- Add fancyBox main JS files -->
<script type="text/javascript" src="{{ asset('theme/vendor/fancybox/jquery.fancybox.js?v=2.1.5')}}"></script>
<script type="text/javascript" src="{{ asset('theme/vendor/fancybox/helpers/jquery.fancybox-buttons.js?v=1.0.5')}}"></script>
<!-- MomentJs and Datepicker-->
<script src="{{ asset('theme/vendor/moment/min/moment-with-langs.min.js')}}"></script>
<!-- <script src="{{ asset('theme/vendor/moment/min/moment-2.9.min.js')}}"></script> -->
<!--<script src="{{ asset('theme/vendor/eternicode/js/bootstrap-datepicker.js') }}"></script>-->
<!--<script src="vendor/datetimepicker/js/bootstrap-datetimepicker.min.js"></script>-->
<!-- FulCalendar-->
<script src="{{ asset('theme/vendor/fullcalendar/fullcalendar.min.js')}}"></script>
<script src="https://code.jquery.com/jquery-migrate-1.0.0.js"></script>
<!-- Tiny MCE -->
<script type="text/javascript" src="{{ asset('theme/vendor/tinymce/tinymce.min.js')}}"></script>
<script type="text/javascript">
$.datepicker.regional['es'] = {
closeText: 'Cerrar',
prevText: '< Ant',
nextText: 'Sig >',
currentText: 'Hoy',
monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
monthNamesShort: ['Ene','Feb','Mar','Abr', 'May','Jun','Jul','Ago','Sep', 'Oct','Nov','Dic'],
dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'],
dayNamesShort: ['Dom','Lun','Mar','Mié','Juv','Vie','Sáb'],
dayNamesMin: ['Do','Lu','Ma','Mi','Ju','Vi','Sá'],
weekHeader: 'Sm',
dateFormat: 'dd/mm/yy',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: ''
};
$.datepicker.setDefaults($.datepicker.regional['es']);
tinymce.init({
mode : "specific_textareas",
editor_selector : "mceEditor",
language : 'es',
plugins: [
"advlist autolink link image lists code charmap print preview hr anchor pagebreak",
"searchreplace wordcount visualblocks visualchars insertdatetime media nonbreaking",
"table contextmenu directionality emoticons paste textcolor responsivefilemanager"
],
relative_urls: false,
toolbar1: "undo redo | bold italic underline | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | styleselect",
toolbar2: "| responsivefilemanager | link unlink anchor | forecolor backcolor | print preview code ",
image_advtab: true ,
external_filemanager_path:"/prosis/web/gestor-img/filemanager/",
filemanager_title:"Seleccionar / Subir archivo" ,
external_plugins: { "filemanager" : "/prosis/web/gestor-img/filemanager/plugin.min.js"}
});
$( document ).ajaxError(function( event, jqxhr, settings, exception ) {
//Since this handler is attach to all ajax requests we can differentiate by the settings used to build the request
if ( settings.url == "http://localhost/virtus_adm/web/app_dev.php/admin/prefactura/1897/show" ) {
//Handle error
alert('ERROR CRITICO');
}
});
jQuery.extend( jQuery.fn.dataTableExt.oSort, {
"date-uk-pre": function ( a ) {
var ukDatea = a.split('/');
return (ukDatea[2] + ukDatea[1] + ukDatea[0]) * 1;
},
"date-uk-asc": function ( a, b ) {
return ((a < b) ? -1 : ((a > b) ? 1 : 0));
},
"date-uk-desc": function ( a, b ) {
return ((a < b) ? 1 : ((a > b) ? -1 : 0));
}
} );
</script>
{% block feedback %}{% endblock %}
{% block javascripts %}{% endblock %}
<!-- END Page Custom Script-->
<!-- App Main-->
<script src="{{ asset('theme/app/js/app.js') }}"></script>
<!-- END Scripts-->
{% block modal %}{% endblock %}
</body>
</html>