{"size": 1189, "ext": "js", "max_stars_repo_path": "public/utils/js/cover.js", "max_stars_repo_name": "proyectaperutesis/appWeb2", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "public/utils/js/cover.js", "max_issues_repo_name": "proyectaperutesis/appWeb2", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "public/utils/js/cover.js", "max_forks_repo_name": "proyectaperutesis/appWeb2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.7708333333, "max_line_length": 50, "alphanum_fraction": 0.4995794786}
function buscarProyectosLey(){
    console.log('aslkdj');
    var titulo = $('#txtTitulo').val();
    var categoria = $('#selectCategoria').val();
    var fecha = $('#txtFecha').val();
    var tipo = $('#selectTipo').val();

    $.ajax({
        url: 'C_principal/buscarPL',
        data: {
            titulo, categoria, fecha, tipo
        },
        type: 'POST'
    }).done(function (response) {
        let data = JSON.parse(response);
        //console.log(data.html);
        $("#divContainerPLs").html(data.html);
    }).fail(function () {
        alert("error");
    });

}


function openFullProyecto(id){
    window.location.replace("proyectoley?pl="+id);
}


 $(document).ready(function() {
    $('.datepicker').datetimepicker({
        locale: 'es',
        format: 'DD/MM/YYYY',
        icons: {
            time: "fa fa-clock-o",
            date: "fa fa-calendar",
            up: "fa fa-chevron-up",
            down: "fa fa-chevron-down",
            previous: 'fa fa-chevron-left',
            next: 'fa fa-chevron-right',
            today: 'fa fa-screenshot',
            clear: 'fa fa-trash',
            close: 'fa fa-remove'
        }
        
        
     });
});