diff --git a/README.md b/README.md index 53e109c09..1190b8a2b 100755 --- a/README.md +++ b/README.md @@ -95,6 +95,8 @@ Usamos la siguiente estructura para el versionado: * **Camilo José Cruz Rivera** - [cjcruzrivera](https://github.com/cjcruzrivera) * **Isabella Serna Ramírez** - [isabella317](https://github.com/isabella317) * **Juan Pablo Castro** - [jpcv222](https://github.com/jpcv222) +* **Jorge Eduardo Mayor Fernández** - [Jorgemayor](https://github.com/Jorgemayor) +* **Alejandro Palacios Hurtado** - [alexoph](https://github.com/alexoph) * **Joan Manuel Tovar Guzmán** - [joanmtg](https://github.com/joanmtg) * **ASES Dev** - [sistemasases](https://github.com/sistemasases) * **Fabio Andres Castañeda Duarte** - [fabioacd](https://github.com/fabioacd) diff --git a/amd/build/_ases_api.js b/amd/build/_ases_api.js new file mode 100644 index 000000000..e506579e5 --- /dev/null +++ b/amd/build/_ases_api.js @@ -0,0 +1 @@ +'use strict';define(['jquery','block_ases/loading_indicator'],function(a,b){var d=['POST','GET'],e=function(h,i){var j=2'+f.groups[j].name+'');0===f.groups.length&&(g.push('Sin grupo'),h.find('.ucontainer').find('.groups_container').append('Sin grupo')),h.find('.ucontainer').attr('data-glist',g),h.appendTo('#plugin_members_container')}),d.push('Sin grupo'),d.forEach(function(f){a('#step_0_selector').append('
'+f+'
')}),a('#step_0_selector').append('
Todos (Con varios grupos)
')},error:function error(c){b.hide(),console.log(c)}}),{init:function init(){a(document).on('click','[data-toggle="ases-pill"]',function(){var d=a(this),f=d.parent();f.find('li').removeClass('ases-active'),d.addClass('ases-active');var g=d.data('tab'),h=a(g),j=h.parent().find('.ases-tab-pane');j.removeClass('ases-tab-active'),j.removeClass('ases-fade'),j.removeClass('ases-in'),h.addClass('ases-fade'),h.addClass('ases-in'),h.addClass('ases-tab-active')})}}}); \ No newline at end of file +'use strict';define(['jquery','block_ases/_ases_api'],function(a,b){console.log('Plugin status initialised'),a(document).on('click','#select-visibles',function(g){g.preventDefault(),a('.user_enrolled[data-visible=\'true\']').find('.remove_check').attr('checked',!0),a('.user_enrolled[data-visible=\'true\']').find('.ucontainer').addClass('user-selected')}),a(document).on('click','#clear-selection',function(g){g.preventDefault(),a('.user_enrolled').find('.remove_check').attr('checked',!1),a('.user_enrolled').find('.ucontainer').removeClass('user-selected')}),a(document).on('click','#remove-selected',function(g){g.preventDefault();var h=[];a('.user_enrolled[data-visible=\'true\']').find('.ucontainer').each(function(){!0===a(void 0).find('.remove_check').prop('checked')&&h.push(a(void 0).data('id'))});b.post('plugin_status','remove_enrolled_users',[450299,h],async=!1,use_loading_indicator=!0,ok_callback=function ok_callback(){alert('Eliminado(s)')})}),a(document).on('click','.ucontainer',function(){var g=a(void 0),h=a(void 0).find('.remove_check');!0===h.prop('checked')?(h.attr('checked',!1),g.removeClass('user-selected')):(h.attr('checked',!0),g.addClass('user-selected'))}),a(document).on('click','.mfilter',function(){a('.ucontainer').find('.remove_check').attr('checked',!1),a('.ucontainer').removeClass('user-selected');var g=a(void 0);a('.mfilter').removeClass('filter-selected'),g.addClass('filter-selected');var h=g.data('filter');a('.ucontainer').parent().show(),a('.ucontainer').parent().attr('data-visible',!0),'all'!==h&&(a('.ucontainer').not('.ucontainer[data-glist="'+h+'"]').parent().attr('data-visible',!1),a('.ucontainer').not('.ucontainer[data-glist="'+h+'"]').parent().hide())});b.post('plugin_status','get_users_data_by_instance',[450299],async=!0,use_loading_indicator=!0,ok_callback=function c(g){var h=[],j=[];j.S='Sin grupo',g.data_response.forEach(function(k){var l=[],m=a(a('#user_enrolled_template').html());m.find('.ucontainer').find('.fname').text(k.user.firstname),m.find('.ucontainer').find('.lname').text(k.user.lastname),m.find('.ucontainer').attr('data-id',k.user.id),m.find('.ucontainer').attr('data-groups',JSON.stringify(k.groups)),m.find('.ucontainer').attr('data-groups-number',k.groups.length);for(var n=0;nk.groups[n].name.length&&(r+='1')}l.push(o),h.includes(o)||h.push(o),m.find('.ucontainer').find('.groups_container').append(''+p+'')}0===k.groups.length&&(l.push('Sin grupo'),m.find('.ucontainer').find('.groups_container').append('S')),m.find('.ucontainer').attr('data-glist',l),m.appendTo('#plugin_members_container')}),h.push('Sin grupo'),h.forEach(function(k){a('#step_0_selector').append('
'+k+'
')}),a('#step_0_selector').append('
Sin filtro
')}),b.post('plugin_status','get_all_periods',[],async=!0,use_loading_indicator=!0,ok_callback=function d(g){g.data_response.forEach(function(h){var k=a(a('#period-template').html());k.find('.p-name').text(h.nombre),k.find('.start-d').text(h.fecha_inicio),k.find('.end-d').text(h.fecha_fin),k.appendTo('#list-of-periods')})});b.post('plugin_status','initialization_available',[],async=!1,use_loading_indicator=!0).data_response;return{init:function init(){a(document).on('click','[data-toggle="ases-pill"]',function(){var h=a(void 0),j=h.parent();j.find('li').removeClass('ases-active'),h.addClass('ases-active');var k=h.data('tab'),l=a(k),m=l.parent().find('.ases-tab-pane');m.removeClass('ases-tab-active'),m.removeClass('ases-fade'),m.removeClass('ases-in'),l.addClass('ases-fade'),l.addClass('ases-in'),l.addClass('ases-tab-active')})}}}); \ No newline at end of file diff --git a/amd/build/upload_history_main.min.js b/amd/build/upload_history_main.min.js index 736345b1d..a2f4d3b4d 100755 --- a/amd/build/upload_history_main.min.js +++ b/amd/build/upload_history_main.min.js @@ -1 +1 @@ -'use strict';define(['jquery','block_ases/bootstrap','block_ases/sweetalert'],function(a){return{init:function init(){function d(){var f=new FormData;if(void 0==a('#archivo')[0].files[0])return swal({title:'Archivo no registrado.',text:'Seleccione el archivo a subir',html:!0,type:'error',confirmButtonColor:'#d51b23'}),void e();f.append('file',a('#archivo')[0].files[0]);var g=a('#selector').val()+'_processing.php';a.ajax({url:'../managers/historic_management/'+g,data:f,type:'POST',dataType:'json',cache:!1,contentType:!1,processData:!1,beforeSend:function beforeSend(){a('#response').html('')},success:function success(h){swal({title:'Exito',text:'Archivo Cargado. Por favor consulte los detalles',html:!0,type:'warning',showCancelButton:!1,showConfirmButton:!1,timer:1300}),a('#response').empty(),a('#informacion').empty(),h.success?a('#informacion').append('

Informaci\xF3n

Exito!

'+h.success+'

'):h.warning?a('#informacion').append('

Informaci\xF3n

Cargado con inconsitencias!
'+h.warning+'
'):h.error&&a('#informacion').append('

Informaci\xF3n

Error!
'+h.error+'
'),a('#informacion').append(h.urlzip)},error:function error(h){console.log(h),swal({title:'Error en conexion al servidor.',text:'No se ha podido establecer conexion al servidor',html:!0,type:'error',confirmButtonColor:'#d51b23'}),a('#response').html(''),e()}})}function e(){var f=a('#selector').val();switch(a('#informacion').empty(),f){case'academic':a('#informacion').append('

Informaci\xF3n de carga hist\xF3rico acad\xE9mico


Para tener en cuenta...

Columnas obligatorias:

  • codigo_estudiante
  • semestre
  • programa
  • promedio_semestre
  • promedio_acumulado

Columnas extras aceptadas:

  • numero_bajo
  • puesto_estimulo
  • fecha_cancelacion

');break;case'materias':a('#informacion').append('

Informaci\xF3n de carga materias


Para tener en cuenta...

Columnas obligatorias:

  • codigo_estudiante
  • semestre
  • programa
  • nombre_materia
  • codigo_materia
  • creditos
  • nota
  • fecha_cancelacion_materia

');break;case'icetex':a('#informacion').append('

Informaci\xF3n de carga hist\xF3rico ICETEX


Para tener en cuenta...

Columnas obligatorias:

  • cedula_estudiante
  • programa
  • codigo_resolucion
  • monto_estudiante

');break;case'resolution':a('#informacion').append('

Informaci\xF3n de carga resoluci\xF3n ICETEX


Para tener en cuenta...

Columnas obligatorias:

  • codigo_resolucion
  • nombre_semestre
  • fecha
  • total_girado

Columnas extras aceptadas:

  • nota_credito
  • cantidad_estudiantes
');break;case'historic_icetex_status':a('#informacion').append('

Informaci\xF3n de carga hist\xF3rico de estados ICETEX


Para tener en cuenta...

Columnas obligatorias:

  • cedula_estudiante
  • semestre
  • estado_icetex

');break;default:}}e(),a('#selector').on('change',function(){e()}),a('#boton_subir').on('click',function(){a('#informacion').empty(),d()})}}}); \ No newline at end of file +'use strict';define(['jquery','block_ases/bootstrap','block_ases/sweetalert'],function(a){return{init:function init(){function d(){var f=new FormData;if(void 0==a('#archivo')[0].files[0])return swal({title:'Archivo no registrado.',text:'Seleccione el archivo a subir',html:!0,type:'error',confirmButtonColor:'#d51b23'}),void e();f.append('file',a('#archivo')[0].files[0]);var g=a('#selector').val()+'_processing.php';a.ajax({url:'../managers/historic_management/'+g,data:f,type:'POST',dataType:'json',cache:!1,contentType:!1,processData:!1,beforeSend:function beforeSend(){a('#response').html('')},success:function success(h){swal({title:'Exito',text:'Archivo Cargado. Por favor consulte los detalles',html:!0,type:'warning',showCancelButton:!1,showConfirmButton:!1,timer:1300}),a('#response').empty(),a('#informacion').empty(),h.success?a('#informacion').append('

Informaci\xF3n

Exito!

'+h.success+'

'):h.warning?a('#informacion').append('

Informaci\xF3n

Cargado con inconsitencias!
'+h.warning+'
'):h.error&&a('#informacion').append('

Informaci\xF3n

Error!
'+h.error+'
'),a('#informacion').append(h.urlzip)},error:function error(h){console.log(h),swal({title:'Error en conexion al servidor.',text:'No se ha podido establecer conexion al servidor',html:!0,type:'error',confirmButtonColor:'#d51b23'}),a('#response').html(''),e()}})}function e(){var f=a('#selector').val();switch(a('#informacion').empty(),f){case'academic':a('#informacion').append('

Informaci\xF3n de carga hist\xF3rico acad\xE9mico


Para tener en cuenta...

Columnas obligatorias:

  • codigo_estudiante
  • semestre
  • programa
  • promedio_semestre
  • promedio_acumulado

Columnas extras aceptadas:

  • numero_bajo
  • puesto_estimulo
  • fecha_cancelacion

');break;case'materias':a('#informacion').append('

Informaci\xF3n de carga materias


Para tener en cuenta...

Columnas obligatorias:

  • codigo_estudiante
  • semestre
  • programa
  • nombre_materia
  • codigo_materia
  • creditos
  • nota
  • fecha_cancelacion_materia

');break;case'icetex':a('#informacion').append('

Informaci\xF3n de carga hist\xF3rico ICETEX


Para tener en cuenta...

Columnas obligatorias:

  • cedula_estudiante
  • programa
  • codigo_resolucion
  • monto_estudiante

');break;case'resolution':a('#informacion').append('

Informaci\xF3n de carga resoluci\xF3n ICETEX


Para tener en cuenta...

Columnas obligatorias:

  • codigo_resolucion
  • nombre_semestre
  • fecha
  • total_girado

Columnas extras aceptadas:

  • nota_credito
  • cantidad_estudiantes
');break;case'historic_icetex_status':a('#informacion').append('

Informaci\xF3n de carga hist\xF3rico de estados ICETEX


Para tener en cuenta...

Columnas obligatorias:

  • cedula_estudiante
  • semestre
  • estado_icetex

');break;case'student_status':a('#informacion').append('

Informaci\xF3n de carga de estado de estudiantes


Para tener en cuenta...

Columnas obligatorias:

  • codigo_estudiante
  • codigo_programa
  • semestre

Columnas extras aceptadas:

  • estado_grado
  • cancelo_semestre

');break;default:}}e(),a('#selector').on('change',function(){e()}),a('#boton_subir').on('click',function(){a('#informacion').empty(),d()})}}}); \ No newline at end of file diff --git a/amd/src/_ases_api.js b/amd/src/_ases_api.js new file mode 100644 index 000000000..1ab650d38 --- /dev/null +++ b/amd/src/_ases_api.js @@ -0,0 +1,128 @@ +/** + * @package block_ases + * @author Jeison Cardona Gómez - + * @copyright 2019 + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later + * @module block_ases/_ases_api + */ + + +define([ + + 'jquery', + 'block_ases/loading_indicator' + +], function ( $, loading_indicator ) { + + const MANAGER_DIR_BASE = "../managers"; + const METHODS = [ "POST", "GET" ]; + + /** + * Method that allow make Ajax requests to ASES's managers. + * + * @param {string} manager_name [description] + * @param {string} function_name [description] + * @param {array} parameters [description] + * @param {string} method [description] + * @param {bool} async_call [description] + * @param {bool} use_loading_indicator [description] + * @param {Function} ok_callback [description] + * @param {Function} error_callback [description] + * + * @return {array} parameters [description] + * + **/ + let general_call = ( + manager_name, function_name, parameters = [], + method = "POST", async_call = true, use_loading_indicator = false, + ok_callback, error_callback + ) => { + + method = method.toUpperCase(); // Normalization of method name. + + if( use_loading_indicator ){ // Check if can be user loading indicator. + loading_indicator.show(); // Display a loading indication in the screen. + } + + if( !METHODS.includes( method ) ){ // Check if the given method is valid. + throw new Error( `'${method}' is not a valid method.` ); // Throw if the given method is invalid. + } + + let to_return; // If is not an async call, in this variable will be stored the request response. + + $.ajax({ // jQuery AJAX request. + type: method, + url: `${MANAGER_DIR_BASE}/${manager_name}/${manager_name}_api.php`, // Manager API location. + data: JSON.stringify( + { + function: function_name, // Function name to call in API. + params: parameters // Function parameters. + } + ), + contentType: "application/json; charset=utf-8", + dataType: "json", + cache: false, + processData: false, // Preventing default data parse behavior. + async: async_call, + success: function (data) { + if( use_loading_indicator ){ + loading_indicator.hide(); + } + + if (ok_callback instanceof Function) { // Check if exist a callback for a success response. + ok_callback( data ); // Callback execution. + } + + if( !async_call ){ + to_return = data; // Asignation of response to return var. + } + + }, + error: function (data) { + if( use_loading_indicator ){ + loading_indicator.hide(); + } + + if (error_callback instanceof Function) { + error_callback( data ); + } + + if( !async_call ){ + to_return = data; + } + } + }); + + if( !async_call ){ + return to_return; + } + + }; + + let get = ( + manager_name, function_name, parameters = [], async_call = true, // Short function to GET method. + use_loading_indicator = false, ok_callback, error_callback + ) => { + return general_call( + manager_name, function_name, parameters, "GET", + async_call, use_loading_indicator, ok_callback, error_callback + ); + }; + + let post = ( // Short function to POST method. + manager_name, function_name, parameters = [], async_call = true, + use_loading_indicator = false, ok_callback, error_callback + ) => { + return general_call( + manager_name, function_name, parameters, "POST", + async_call, use_loading_indicator, ok_callback, error_callback + ); + }; + + console.log("Ases API initialised"); + + return { + get: get, + post: post + }; +}); \ No newline at end of file diff --git a/amd/src/aaspect.js b/amd/src/aaspect.js new file mode 100644 index 000000000..71e0d34b2 --- /dev/null +++ b/amd/src/aaspect.js @@ -0,0 +1,45 @@ +define(['jquery'], ( $ ) => { + +/*! + * AAspect + * Licensed under the MIT license + */ + + if (typeof jQuery === 'undefined') { + throw new Error('AAspect\'s JavaScript requires jQuery') + } + +//Tab pane control ++function( $ ){ + 'use strict'; + + function change_tab_to( element ){ + + var pill = $( element ).parent(); + var pills = pill.parent().parent(); + pills.find( "li" ).removeClass( "ases-active" ); + pill.addClass( "ases-active" ); + + var href = $( element ).attr( "href" ); + var tab_id = href.slice( 1 ); + var selected_tab = $( "#" + tab_id ); + var tabs = selected_tab.parent().find( ".ases-tab-pane" ); + tabs.removeClass( "ases-tab-active" ); + tabs.removeClass( "ases-fade" ); + tabs.removeClass( "ases-in" ); + selected_tab.addClass( "ases-fade" ); + selected_tab.addClass( "ases-in" ); + selected_tab.addClass( "ases-tab-active" ); + + } + + var click_handler = function ( e ) { + e.preventDefault(); + change_tab_to( this ); + } + + $( document ).on( 'click', '[data-toggle="ases-pill"]', click_handler ); + +}( jQuery ); + +}); diff --git a/amd/src/plugin_status.js b/amd/src/plugin_status.js index daa7da7c9..cba10cf51 100644 --- a/amd/src/plugin_status.js +++ b/amd/src/plugin_status.js @@ -4,172 +4,190 @@ * @copyright ASES * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ - - /** - * @author Jeison Cardona Gómez - * @module block_ases/plugin_status - */ - - define( - [ - 'jquery', - 'block_ases/loading_indicator' - ], - function($, loading_indicator) { - - console.log( "Plugin status initialised" ); - - $(document).on("click", "#select-visibles", - function( event ){ - event.preventDefault(); - $(".user_enrolled[data-visible='true']").find(".remove_check").attr("checked", true); - $(".user_enrolled[data-visible='true']").find(".ucontainer").addClass( "user-selected" ); - } - ); - - $(document).on("click", "#clear-selection", - function( event ){ - event.preventDefault(); - $(".user_enrolled").find(".remove_check").attr("checked", false); - $(".user_enrolled").find(".ucontainer").removeClass( "user-selected" ); - } - ); - - $(document).on("click", "#remove-selected", - function( event ){ - event.preventDefault(); - let uenroll_id = []; - $(".user_enrolled[data-visible='true']").find(".ucontainer").each( - function( index ){ - if( $(this).find(".remove_check").prop("checked") == true ){ - uenroll_id.push( $(this).data("id") ); - } - } - ); - - //Funciona - /*$.ajax({ - type: "POST", - data: JSON.stringify( { function:"remove_enrolled_users", params:[ 450299, uenroll_id ] } ), - url: "../managers/plugin_status/plugin_status_api.php", - dataType: "json", - cache: "false", - success: function( data ) { - loading_indicator.hide(); - alert( "Eliminado" ); - }, - error: function( data ) { - loading_indicator.hide(); - console.log( data ); - }, - });*/ +/** + * @author Jeison Cardona Gómez + * @module block_ases/plugin_status + */ +define( + [ + 'jquery', + 'block_ases/_ases_api', + 'block_ases/aaspect' + ], + ($, ases_api, aaspect) => { + + console.log("Plugin status initialised"); + + $(document).on("click", "#select-visibles", (event) => { + event.preventDefault(); + $(".user_enrolled[data-visible='true']").find(".remove_check").attr("checked", true); + $(".user_enrolled[data-visible='true']").find(".ucontainer").addClass("user-selected"); + }); + + $(document).on("click", "#clear-selection", (event) => { + event.preventDefault(); + $(".user_enrolled").find(".remove_check").attr("checked", false); + $(".user_enrolled").find(".ucontainer").removeClass("user-selected"); + }); + + $(document).on("click", "#remove-selected", (event) => { + event.preventDefault(); + let uenroll_id = []; + + $(".user_enrolled[data-visible='true']").find(".ucontainer").each(() => { + if ($(this).find(".remove_check").prop("checked") === true) { + uenroll_id.push($(this).data("id")); } - ); - - $(document).on("click", ".ucontainer", function(){ - let ucontainer = $(this); - let ucontainer_checkbox = $(this).find(".remove_check"); - if( ucontainer_checkbox.prop("checked") == true ){ - ucontainer_checkbox.attr("checked", false); - ucontainer.removeClass( "user-selected" ); - }else{ - ucontainer_checkbox.attr("checked", true); - ucontainer.addClass( "user-selected" ); - }; }); - $(document).on("click",".mfilter", - function(){ - $(".ucontainer").find(".remove_check").attr("checked", false); - $(".ucontainer").removeClass( "user-selected" ); - let filter = $(this); - $(".mfilter").removeClass( "filter-selected" ); - filter.addClass( "filter-selected" ); - let filter_value = filter.data( "filter" ); - $(".ucontainer").parent().show(); - $(".ucontainer").parent().attr("data-visible", true); - if( filter_value !== "all" ){ - $(".ucontainer").not('.ucontainer[data-glist="' + filter_value + '"]').parent().attr("data-visible", false); - $(".ucontainer").not('.ucontainer[data-glist="' + filter_value + '"]').parent().hide(); - } - } - ); - - loading_indicator.show(); - $.ajax({ - type: "POST", - data: JSON.stringify( { function:"get_users_data_by_instance", params:[ 450299 ] } ), - url: "../managers/plugin_status/plugin_status_api.php", - dataType: "json", - cache: "false", - success: function( data ) { - loading_indicator.hide(); - let global_filter = []; - - data.data_response.forEach( - function( elem ){ - let groups = []; - let template = $($("#user_enrolled_template").html()); - template.find(".ucontainer").find(".fname").text( elem.user.firstname ); - template.find(".ucontainer").find(".lname").text( elem.user.lastname ); - template.find(".ucontainer").attr( "data-id", elem.user.id ); - template.find(".ucontainer").attr( "data-groups", JSON.stringify(elem.groups) ); - template.find(".ucontainer").attr( "data-groups-number", elem.groups.length ); - - for( let i = 0; i < elem.groups.length; i++ ){ - let group_name = elem.groups[i].name; - groups.push( group_name ); - if( !global_filter.includes( group_name ) ){ - global_filter.push( group_name ); + let response = ases_api.post( + "plugin_status", "remove_enrolled_users", [450299, uenroll_id], + async = false, use_loading_indicator = true, ok_callback = () => { alert("Eliminado(s)"); + }); + }); + + $(document).on("click", ".ucontainer", () => { + let ucontainer = $(this); + let ucontainer_checkbox = $(this).find(".remove_check"); + if (ucontainer_checkbox.prop("checked") === true) { + ucontainer_checkbox.attr("checked", false); + ucontainer.removeClass("user-selected"); + } else { + ucontainer_checkbox.attr("checked", true); + ucontainer.addClass("user-selected"); + }; + }); + + $(document).on("click", ".mfilter", () => { + $(".ucontainer").find(".remove_check").attr("checked", false); + $(".ucontainer").removeClass("user-selected"); + let filter = $(this); + $(".mfilter").removeClass("filter-selected"); + filter.addClass("filter-selected"); + let filter_value = filter.data("filter"); + $(".ucontainer").parent().show(); + $(".ucontainer").parent().attr("data-visible", true); + if (filter_value !== "all") { + $(".ucontainer").not('.ucontainer[data-glist="' + filter_value + '"]').parent().attr("data-visible", false); + $(".ucontainer").not('.ucontainer[data-glist="' + filter_value + '"]').parent().hide(); + } + }); + + + let _load_users = (data) => { + let global_filter = []; + let groups_abbreviations = []; + groups_abbreviations["S"] = "Sin grupo"; + data.data_response.forEach((elem) => { + + let groups = []; + let template = $($("#user_enrolled_template").html()); + template.find(".ucontainer").find(".fname").text(elem.user.firstname); + template.find(".ucontainer").find(".lname").text(elem.user.lastname); + template.find(".ucontainer").attr("data-id", elem.user.id); + template.find(".ucontainer").attr("data-groups", JSON.stringify(elem.groups)); + template.find(".ucontainer").attr("data-groups-number", elem.groups.length); + + for (let i = 0; i < elem.groups.length; i++) { + + let group_name = elem.groups[i].name; + let short_group_name = ""; + if (!(group_name[0] in groups_abbreviations)) { + groups_abbreviations[ group_name[0] ] = group_name; + short_group_name = group_name[0]; + } else { + let char_control = 1; + let auxiliar_salt = ""; + while (true) { + let _group_name = elem.groups[i].name + auxiliar_salt; + if (_group_name.substring(0, char_control) in groups_abbreviations) { + if (groups_abbreviations[ _group_name.substring(0, char_control) ] === _group_name) { + short_group_name = _group_name.substring(0, char_control); + break; } - template.find(".ucontainer").find(".groups_container").append( '' + elem.groups[i].name + '' ); + } else { + groups_abbreviations[ _group_name.substring(0, char_control) ] = _group_name; + short_group_name = _group_name.substring(0, char_control); + break; } - - if( elem.groups.length === 0 ){ - groups.push( "Sin grupo" ); - template.find(".ucontainer").find(".groups_container").append( 'Sin grupo' ); + char_control++; + if (char_control > elem.groups[i].name.length) { + auxiliar_salt += "1"; } + } + } - template.find(".ucontainer").attr( "data-glist", groups ); - template.appendTo( "#plugin_members_container" ); - - } - ); - global_filter.push( "Sin grupo" ); - global_filter.forEach( - function( element ){ - $("#step_0_selector").append( '
' + element + '
' ); - } - ); - $("#step_0_selector").append( '
Todos (Con varios grupos)
' ); - }, - error: function( data ) { - loading_indicator.hide(); - console.log( data ); - }, - }); + groups.push(group_name); + if (!global_filter.includes(group_name)) { + global_filter.push(group_name); + } + template.find(".ucontainer").find(".groups_container").append('' + short_group_name + ''); + } - return { - init: function() { - - $(document).on('click', '[data-toggle="ases-pill"]', function(e){ - var pill = $( this ); - var pills = pill.parent(); - pills.find( "li" ).removeClass( "ases-active" ); - pill.addClass( "ases-active" ); - var tab_id = pill.data( "tab" ); - var selected_tab = $( tab_id ); - var tabs = selected_tab.parent().find( ".ases-tab-pane" ); - tabs.removeClass( "ases-tab-active" ); - tabs.removeClass( "ases-fade" ); - tabs.removeClass( "ases-in" ); - selected_tab.addClass( "ases-fade" ); - selected_tab.addClass( "ases-in" ); - selected_tab.addClass( "ases-tab-active" ); - }); + if (elem.groups.length === 0) { + groups.push("Sin grupo"); + template.find(".ucontainer").find(".groups_container").append('S'); } - }; - } -); \ No newline at end of file + + template.find(".ucontainer").attr("data-glist", groups); + template.appendTo("#plugin_members_container"); + + }); + + global_filter.push("Sin grupo"); + global_filter.forEach((element) => { + $("#step_0_selector").append('
' + element + '
'); + }); + + $("#step_0_selector").append('
Sin filtro
'); + }; + + let _load_periods = (data) => { + data.data_response.forEach( (elem) => { + let groups = []; + let template = $($("#period-template").html()); + template.find(".p-name").text(elem.nombre); + template.find(".start-d").text(elem.fecha_inicio); + template.find(".end-d").text(elem.fecha_fin); + template.appendTo("#list-of-periods"); + }); + }; + + ases_api.post( + "plugin_status", "get_users_data_by_instance", [450299], + async = true, use_loading_indicator = true, ok_callback = _load_users + ); + + ases_api.post( + "plugin_status", "get_all_periods", [], + async = true, use_loading_indicator = true, ok_callback = _load_periods + ); + + let initialization_available = ases_api.post( + "plugin_status", "initialization_available", [], + async = false, use_loading_indicator = true + ).data_response; + + return { + init: () => { + $(document).on('click', '[data-toggle="ases-pill"]', (e) => { + var pill = $(this); + var pills = pill.parent(); + pills.find("li").removeClass("ases-active"); + pill.addClass("ases-active"); + var tab_id = pill.data("tab"); + var selected_tab = $(tab_id); + var tabs = selected_tab.parent().find(".ases-tab-pane"); + tabs.removeClass("ases-tab-active"); + tabs.removeClass("ases-fade"); + tabs.removeClass("ases-in"); + selected_tab.addClass("ases-fade"); + selected_tab.addClass("ases-in"); + selected_tab.addClass("ases-tab-active"); + }); + } + }; + +}); \ No newline at end of file diff --git a/core/cache/v1/entrypoint.php b/core/cache/v1/entrypoint.php index 54f4a09b0..aca9279b3 100644 --- a/core/cache/v1/entrypoint.php +++ b/core/cache/v1/entrypoint.php @@ -63,8 +63,8 @@ function cache_key_exist( $key ){ $tablename = $DB_PREFIX . "talentospilos_cache"; $data_cache = $DB->get_record_sql( "SELECT id, fecha_hora_expiracion, now() AS current_time FROM $tablename WHERE clave = '$key'" ); - - if( property_exists($data_cache, "id") ){ + + if( isset($data_cache->id) ){ $current_db_time = strtotime($data_cache->current_time); $expiration_time = strtotime($data_cache->fecha_hora_expiracion); diff --git a/core/periods/periods.php b/core/periods/periods.php index 0703a42d5..b5ade086b 100644 --- a/core/periods/periods.php +++ b/core/periods/periods.php @@ -16,7 +16,8 @@ $PERIODS_TABLENAME = $GLOBALS[ 'CFG' ]->prefix . "talentospilos_semestre"; require_once( __DIR__ . "/v" . VERSION . "/entrypoint.php"); -/* Interface to periods_get_current_period +/** + * Interface to periods_get_current_period * * @author Jeison Cardona Gomez * @since 1.0.0 @@ -28,7 +29,8 @@ function core_periods_get_current_period(){ return periods_get_current_period(); } -/* Interface to periods_get_period_by_id +/** + * Interface to periods_get_period_by_id * * @author Jeison Cardona Gomez * @since 1.0.0 @@ -45,4 +47,48 @@ function core_periods_get_period_by_id( int $period_id ){ return periods_get_period_by_id( $period_id ); } +/** + * Interface to periods_get_all_periods + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @see periods_get_all_periods(...) in entrypoint.php + * + * @return array List of periods. + */ +function core_periods_get_all_periods(){ + return periods_get_all_periods(); +} + +/** + * Interface to periods_get_last_period + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @see periods_get_last_period(...) in entrypoint.php + * + * @return stdClass Last period. + */ +function core_periods_get_last_period(){ + return periods_get_last_period(); +} + + +/** + * Interface to periods_check_if_exist + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @see periods_check_if_exist(...) in entrypoint.php + * + * @param integer $period_id Period ID. + * + * @return bool True if exist. + */ +function core_periods_check_if_exist( int $period_id ){ + return periods_check_if_exist( $period_id ); +} ?> diff --git a/core/periods/v1/entrypoint.php b/core/periods/v1/entrypoint.php index e85a29461..1a21e0d41 100644 --- a/core/periods/v1/entrypoint.php +++ b/core/periods/v1/entrypoint.php @@ -7,7 +7,6 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ - /** * Function that return the current (last by end date) period * @author Jeison CArdona Gomez @@ -62,7 +61,66 @@ function periods_get_period_by_id( int $period_id ):stdClass }else{ return $result; } +} + +/** + * Function that return all periods. + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @return array List of periods. + */ +function periods_get_all_periods():array +{ + global $DB; + global $PERIODS_TABLENAME; + + $query = "SELECT * + FROM $PERIODS_TABLENAME + ORDER BY fecha_fin DESC"; + return $DB->get_records_sql( $query ); +} + +/** + * Function that return the last period in the database. + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @return stdClass Last period. + */ +function periods_get_last_period():stdClass +{ + global $DB; + global $PERIODS_TABLENAME; + + $query = "SELECT * + FROM $PERIODS_TABLENAME + ORDER BY fecha_fin DESC LIMIT 1"; + + return $DB->get_record_sql( $query ); +} + +/** + * Function that check if exist a period given an ID. + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @param integer $period_id Period ID. + * + * @return bool True if exist. + */ +function periods_check_if_exist( int $period_id ): bool +{ + try { + periods_get_period_by_id( $period_id ); + return true; + } catch (Exception $exc) { + return false; + } } diff --git a/db/install.xml b/db/install.xml index 5ceaba3e7..8ba97dc3d 100755 --- a/db/install.xml +++ b/db/install.xml @@ -1,5 +1,5 @@ - @@ -1201,5 +1201,18 @@ + + + + + + + + + + + + +
\ No newline at end of file diff --git a/db/upgrade.php b/db/upgrade.php index 6a88e89cc..c3104a28b 100755 --- a/db/upgrade.php +++ b/db/upgrade.php @@ -5,7 +5,7 @@ function xmldb_block_ases_upgrade($oldversion = 0) { $dbman = $DB->get_manager(); $result = true; - if ($oldversion < 2019092518030 ) { + if ($oldversion < 2019100716060 ) { // // ************************************************************************************************************ // // Actualización que crea la tabla para los campos extendidos de usuario (Tabla: {talentospilos_user_extended}) @@ -725,6 +725,8 @@ function xmldb_block_ases_upgrade($oldversion = 0) { // $regla_depende->regla = 'DEPENDS'; // $regla_enlazado = new stdClass(); // $regla_enlazado->regla = 'BOUND'; + // $regla_excluye = new stdClass(); + // $regla_excluye->regla = 'EXCLUDE'; // $records = array(); // array_push($records, $regla_mayor_que); // array_push($records, $regla_menor_que); @@ -732,6 +734,7 @@ function xmldb_block_ases_upgrade($oldversion = 0) { // array_push($records, $regla_diferente); // array_push($records, $regla_depende); // array_push($records, $regla_enlazado); + // array_push($records, $regla_excluye); // $DB->insert_records('talentospilos_df_reglas', $records); // } // $sql_intel = "DELETE FROM {talentospilos_df_reglas} WHERE id <> 1 and id <> 2 and id <> 3 and id <> 4 and id <> 5 and id <> 6"; @@ -3895,8 +3898,32 @@ function xmldb_block_ases_upgrade($oldversion = 0) { if (!$dbman->table_exists($table)) { $dbman->create_table($table); } + + //*****************************************************************************************// + // Creación de tablas: Se crea tabla para gestionar el estado del plugin. // + // Versión: 2019100716060 // + //*****************************************************************************************// + + // Define table talentospilos_plugin_status to be created. + $table = new xmldb_table('talentospilos_plugin_status'); + + // Adding fields to table talentospilos_plugin_status. + $table->add_field('id', XMLDB_TYPE_INTEGER, '10', null, XMLDB_NOTNULL, XMLDB_SEQUENCE, null); + $table->add_field('id_semestre', XMLDB_TYPE_INTEGER, '20', null, XMLDB_NOTNULL, null, null); + $table->add_field('documento', XMLDB_TYPE_TEXT, null, null, XMLDB_NOTNULL, null, null); + + // Adding keys to table talentospilos_plugin_status. + $table->add_key('primary', XMLDB_KEY_PRIMARY, array('id')); + + // Adding indexes to table talentospilos_plugin_status. + $table->add_index('id_semestre_unique_id', XMLDB_INDEX_UNIQUE, array('id_semestre')); + + // Conditionally launch create table for talentospilos_plugin_status. + if (!$dbman->table_exists($table)) { + $dbman->create_table($table); + } - upgrade_block_savepoint(true, 2019092518030, 'ases'); + upgrade_block_savepoint(true, 2019100716060, 'ases'); return $result; } diff --git a/managers/dphpforms/procesador.php b/managers/dphpforms/procesador.php index ed0e01f54..cd1489691 100755 --- a/managers/dphpforms/procesador.php +++ b/managers/dphpforms/procesador.php @@ -1069,64 +1069,38 @@ function dphpforms_reglas_validator($respuestas, $reglas){ $satisfied_reglas = true; //echo "REGLA " . $regla . " CUMPLIDA\n"; } - }elseif($regla == 'DEPENDS'){ - /* - BOUND replaces DEPENDS + }/* @deprecated elseif( $regla == 'DEPENDS' ){ } */ + elseif( ($regla == 'BOUND') || ($regla == 'DEPENDS') ){ + /** + * Se usa -#$%- para enviar cuando el RadioButton está vacío, esto con el fin + * de asignarle un valor nulo diferente a 0, con el fin de no entrar en conflicto + * con lo enviado por un CheckBox */ - }elseif(($regla == 'BOUND')||($regla == 'DEPENDS')){ - /* - Se usa -#$%- para enviar cuando el RadioButton está vacío, esto con el fin - de asignarle un valor nulo diferente a 0, con el fin de no entrar en conflicto - con lo enviado por un CheckBox - */ - - - - /*if(!is_null($respuesta_a->{'valor'})){ - if(trim($respuesta_a->{'valor'}) == ''){ - $respuesta_tmp = clone $respuesta_a; - $respuesta_a = new stdClass(); - $respuesta_a->id = $respuesta_tmp->{'id'}; - $respuesta_a->valor = null; - } - } - - if(!is_null($respuesta_b->{'valor'})){ - if(trim($respuesta_b->{'valor'}) == ''){ - $respuesta_tmp = clone $respuesta_b; - $respuesta_b = new stdClass(); - $respuesta_b->id = $respuesta_tmp->{'id'}; - $respuesta_b->valor = null; - } - }*/ - if((( !is_null($respuesta_a->{'valor'}) ) && ($respuesta_a->{'valor'} !== "-#$%-") && ($respuesta_a->{'valor'} !== "") ) && (( is_null($respuesta_b->{'valor'}) )||($respuesta_b->{'valor'} === "-#$%-")||($respuesta_b->{'valor'} === "") )){ + if( + (( !is_null($respuesta_a->{'valor'}) ) && ($respuesta_a->{'valor'} !== "-#$%-") && ($respuesta_a->{'valor'} !== "") ) && + (( is_null($respuesta_b->{'valor'}) )||($respuesta_b->{'valor'} === "-#$%-")||($respuesta_b->{'valor'} === "") ) + ){ $satisfied_reglas = false; - /*echo "REGLA " . $regla . " NO CUMPLIDA\n"; - print_r($respuesta_a); - print_r($respuesta_b); - echo 'VALOR A' . $respuesta_a->{'valor'} . ' VALOR B' . $respuesta_a->{'valor'};*/ break; - }elseif((( is_null($respuesta_a->{'valor'}) ) || ($respuesta_a->{'valor'} === "-#$%-" ) || ($respuesta_a->{'valor'} === "" )) && (( !is_null($respuesta_b->{'valor'}) ) && ($respuesta_b->{'valor'} !== "-#$%-") && ($respuesta_b->{'valor'} !== "") )){ + }elseif( + (( is_null($respuesta_a->{'valor'}) ) || ($respuesta_a->{'valor'} === "-#$%-" ) || ($respuesta_a->{'valor'} === "" )) && + (( !is_null($respuesta_b->{'valor'}) ) && ($respuesta_b->{'valor'} !== "-#$%-") && ($respuesta_b->{'valor'} !== "") ) + ){ $satisfied_reglas = false; - /*echo "REGLA " . $regla . " NO CUMPLIDA\n"; - print_r($respuesta_a); - print_r($respuesta_b); - echo 'VALOR A' . $respuesta_a->{'valor'} . ' VALOR B' . $respuesta_a->{'valor'};*/ break; }else{ $satisfied_reglas = true; - //echo "REGLA " . $regla . " CUMPLIDA\n"; } + }elseif( $regla == 'EXCLUDE' ){ - /*print_r($respuesta_a); - if($satisfied_reglas){ - echo 'SATISFECHA'; + if( dphpforms_is_field_empty($respuesta_a) === dphpforms_is_field_empty($respuesta_b) ){ + $satisfied_reglas = false; + break; }else{ - echo 'NO SATISFECHA'; + $satisfied_reglas = true; } - print_r($respuesta_b); - echo '=====================' . "\n";*/ + } } return array( @@ -1136,6 +1110,56 @@ function dphpforms_reglas_validator($respuestas, $reglas){ //return $satisfied_reglas; } +function dphpforms_is_field_empty( $response ){ + + // Check for simple checkbox. A simple checkbox is a checkbox with one value + + $field = dphpforms_get_pregunta( $response->id ); + + + if( $field->campo === "CHECKBOX" ){ + $options = json_decode( $field->opciones_campo ); + if( count( $options ) === 1 ){ + return ( + + is_null($response->{'valor'}) || /* Isn't NULL. */ + ( $response->{'valor'} === "-#$%-" ) || /* Isn't NULL chain. */ + ( $response->{'valor'} === "" ) || /* Isn't Empty. */ + ( $response->{'valor'} === "-1" ) /* Is empty */ + ? true : false + + ); + } + } + + return ( + + is_null($response->{'valor'}) || /* Isn't NULL. */ + ( $response->{'valor'} === "-#$%-" ) || /* Isn't NULL chain. */ + ( $response->{'valor'} === "" ) /* Isn't Empty. */ + ? true : false + + ); +} + +function dphpforms_get_pregunta( $id ){ + + global $DB; + + $sql = " + SELECT * + FROM + {talentospilos_df_preguntas} AS P, + {talentospilos_df_tipo_campo} as T + WHERE + P.tipo_campo = T.id AND + P.id = '$id'"; + + $field = $DB->get_record_sql( $sql ); + + return ( isset( $field->id ) ? $field : NULL ); +} + function dphpforms_get_respuestas_form_completed($idFormularioDiligenciado){ global $DB; diff --git a/managers/dphpforms/triggers/d_seguimientos_pares.json b/managers/dphpforms/triggers/d_seguimientos_pares.json index 31762e867..d8697fb2d 100644 --- a/managers/dphpforms/triggers/d_seguimientos_pares.json +++ b/managers/dphpforms/triggers/d_seguimientos_pares.json @@ -1568,6 +1568,74 @@ "permisos": [] } ] + }, + { + "campo": "71", + "permisos": [ + { + "rol": "administrativo", + "permisos": [] + }, + { + "rol": "reportes", + "permisos": [] + }, + { + "rol": "profesional_ps", + "permisos": [ + "lectura" + ] + }, + { + "rol": "monitor_ps", + "permisos": [ + "lectura" + ] + }, + { + "rol": "estudiante_t", + "permisos": [] + }, + { + "rol": "sistemas", + "permisos": [ + "lectura", + "escritura" + ] + }, + { + "rol": "practicante_ps", + "permisos": [ + "lectura" + ] + }, + { + "rol": "geografo", + "permisos": [] + }, + { + "rol": "academico", + "permisos": [] + }, + { + "rol": "director_prog", + "permisos": [] + }, + { + "rol": "geografico", + "permisos": [] + }, + { + "rol": "dir_socioeducativo", + "permisos": [ + "lectura" + ] + }, + { + "rol": "financiero", + "permisos": [] + } + ] } ], "comportamiento_condicion_no_cumplida": [ @@ -3145,7 +3213,8 @@ { "rol": "profesional_ps", "permisos": [ - "lectura" + "lectura", + "escritura" ] }, { @@ -3199,10 +3268,80 @@ "permisos": [] } ] + }, + { + "campo": "71", + "permisos": [ + { + "rol": "administrativo", + "permisos": [] + }, + { + "rol": "reportes", + "permisos": [] + }, + { + "rol": "profesional_ps", + "permisos": [ + "lectura", + "escritura" + ] + }, + { + "rol": "monitor_ps", + "permisos": [ + "lectura", + "escritura" + ] + }, + { + "rol": "estudiante_t", + "permisos": [] + }, + { + "rol": "sistemas", + "permisos": [ + "lectura", + "escritura" + ] + }, + { + "rol": "practicante_ps", + "permisos": [ + "lectura", + "escritura" + ] + }, + { + "rol": "geografo", + "permisos": [] + }, + { + "rol": "academico", + "permisos": [] + }, + { + "rol": "director_prog", + "permisos": [] + }, + { + "rol": "geografico", + "permisos": [] + }, + { + "rol": "dir_socioeducativo", + "permisos": [ + "lectura" + ] + }, + { + "rol": "financiero", + "permisos": [] + } + ] } ] } ] } ] - \ No newline at end of file diff --git a/managers/menu_options.php b/managers/menu_options.php index 74cc27546..c10a85284 100755 --- a/managers/menu_options.php +++ b/managers/menu_options.php @@ -184,7 +184,7 @@ function create_menu_options($userid, $blockid, $courseid) 'instanceid' => $blockid, )); - $menu_options = ' Reportes de seguimientos '; + $menu_options = ' Reporte de seguimientos '; $soc_ed_options["Reportes de seguimientos"] = $menu_options; } @@ -380,21 +380,8 @@ function create_menu_options($userid, $blockid, $courseid) 'instanceid' => $blockid, )); - - if ($function == 'ases_graphic_reports') { - $url = new moodle_url("/blocks/ases/view/ases_graphic_reports.php", array( - 'courseid' => $courseid, - 'instanceid' => $blockid, - )); - - $menu_options = '
  • '; - - $indexed['Reportes gráficos ASES'] = $menu_options; + $menu_options = 'Reportes gráficos ASES'; $soc_ed_options['Reportes Gráficos'] = $menu_options; - } - - - } diff --git a/managers/plugin_status/plugin_status_api.php b/managers/plugin_status/plugin_status_api.php index 3fad80558..29b52532b 100644 --- a/managers/plugin_status/plugin_status_api.php +++ b/managers/plugin_status/plugin_status_api.php @@ -134,6 +134,66 @@ return_with_code( -2 ); } + }else if( $input->function == "get_all_periods" ){ + + /* In this request is only valid pass like param(Parameters) the instance identificatior, + * for this reason, the input param only can be equal in quantity to one. + * */ + + if( count( $input->params ) == 0 ){ + + // Order of params + /** + * No params + */ + + if( true ){ + + echo json_encode( + array( + "status_code" => 0, + "error_message" => "", + "data_response" => plugin_status_get_all_periods() + ) + ); + + }else{ + return_with_code( -2 ); + } + }else{ + return_with_code( -2 ); + } + + }else if( $input->function == "initialization_available" ){ + + /* In this request is only valid pass like param(Parameters) the instance identificatior, + * for this reason, the input param only can be equal in quantity to one. + * */ + + if( count( $input->params ) == 0 ){ + + // Order of params + /** + * No params + */ + + if( true ){ + + echo json_encode( + array( + "status_code" => 0, + "error_message" => "", + "data_response" => plugin_status_initialization_available() + ) + ); + + }else{ + return_with_code( -2 ); + } + }else{ + return_with_code( -2 ); + } + }else{ // Function not defined return_with_code( -4 ); diff --git a/managers/plugin_status/plugin_status_lib.php b/managers/plugin_status/plugin_status_lib.php index f3fa8bc95..8d8a74ed3 100644 --- a/managers/plugin_status/plugin_status_lib.php +++ b/managers/plugin_status/plugin_status_lib.php @@ -23,9 +23,12 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once( dirname(__FILE__). '/../../../../config.php' ); +require_once(dirname(__FILE__). '/../../core/module_loader.php'); require_once( $CFG->dirroot.'/blocks/ases/managers/lib/lib.php' ); require_once( $CFG->dirroot.'/blocks/ases/managers/user_management/user_management_lib.php' ); +module_loader("periods"); +module_loader("cache"); //Eliminar usuarios y desmatricular. function plugin_status_get_users_data_by_instance( $instanceid ){ @@ -228,18 +231,59 @@ function plugin_status_get_course_groups( $courseid ){ */ function plugin_status_get_groups_from_user_by_course( $userid, $courseid ){ - global $DB; + global $DB; - $sql = "SELECT * - FROM {groups} AS G0 - INNER JOIN {groups_members} GM0 - ON G0.id = GM0.groupid - WHERE - G0.courseid = '$courseid' AND GM0.userid = '$userid'"; + $sql = "SELECT * + FROM {groups} AS G0 + INNER JOIN {groups_members} GM0 + ON G0.id = GM0.groupid + WHERE + G0.courseid = '$courseid' AND GM0.userid = '$userid'"; - return $DB->get_records_sql( $sql ); + return $DB->get_records_sql( $sql ); } +function plugin_status_get_all_periods(){ + return array_values( core_periods_get_all_periods() ); +} + + +function plugin_status_initialization_available(){ + $last_period = core_periods_get_last_period(); + return ( time() > strtotime( $last_period->fecha_fin ) ? true : false ); +} + +/** + * Function that return the document associated to a plugin initialization. + * + * @author Jeison Cardona Gomez + * @since 1.0.0 + * + * @param integer $period_id Period id. + * + * @throws Exception If the period doesn't exist. + * + * @return stdClass|NULL Plugin initialization record object. + */ +function plugin_status_get_initialization_doc( $period_id ){ + + if( !core_periods_check_if_exist($period_id) ){ + throw new Exception( "The period '$period_id' doesn't exist.", -1 ); + } + + global $DB; + + $query = " + SELECT * + FROM {talentospilos_plugin_status} + WHERE id_semestre = '$period_id'"; + + $result = $DB->get_record_sql( $query ); + + return ( property_exists($result, 'id') ? $result : NULL ); + +} + ?> diff --git a/style/aaspect.min.css b/style/aaspect.min.css index ba3f022a6..b3c360508 100644 --- a/style/aaspect.min.css +++ b/style/aaspect.min.css @@ -1 +1 @@ -*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}::after,::before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}button{font-size:inherit;padding:1px 6px 1px 6px;border-width:2px;color:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}[hidden]{display:none !important}template{display:none !important}.ases-fade.ases-in{opacity:1}.ases-fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.ases-container-fluid,.ases-container{margin-top:0px;margin-right:auto;margin-bottom:0px;margin-left:auto;padding-top:0px;padding-right:15px;padding-bottom:0px;padding-left:15px;clear:both}.ases-container::after,.ases-container::before,.ases-container-fluid::after,.ases-container-fluid::before{clear:both}.ases-row{clear:both}.ases-container-fluid .ases-row{margin-left:-15px;margin-right:-15px}.ases-container-fluid .ases-row::after,.ases-container-fluid .ases-row::before{display:table;content:" ";clear:both}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-1,.ases-col-xs-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-xs-offset-1,.ases-col-xs-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-1,.ases-col-sm-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-sm-offset-1,.ases-col-sm-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-1,.ases-col-md-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-md-offset-1,.ases-col-md-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-1,.ases-col-lg-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-lg-offset-1,.ases-col-lg-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-2,.ases-col-xs-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-xs-offset-2,.ases-col-xs-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-2,.ases-col-sm-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-sm-offset-2,.ases-col-sm-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-2,.ases-col-md-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-md-offset-2,.ases-col-md-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-2,.ases-col-lg-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-lg-offset-2,.ases-col-lg-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-3,.ases-col-xs-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-xs-offset-3,.ases-col-xs-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-3,.ases-col-sm-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-sm-offset-3,.ases-col-sm-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-3,.ases-col-md-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-md-offset-3,.ases-col-md-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-3,.ases-col-lg-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-lg-offset-3,.ases-col-lg-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-4,.ases-col-xs-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-xs-offset-4,.ases-col-xs-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-4,.ases-col-sm-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-sm-offset-4,.ases-col-sm-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-4,.ases-col-md-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-md-offset-4,.ases-col-md-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-4,.ases-col-lg-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-lg-offset-4,.ases-col-lg-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-5,.ases-col-xs-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-xs-offset-5,.ases-col-xs-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-5,.ases-col-sm-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-sm-offset-5,.ases-col-sm-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-5,.ases-col-md-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-md-offset-5,.ases-col-md-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-5,.ases-col-lg-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-lg-offset-5,.ases-col-lg-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-6,.ases-col-xs-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-xs-offset-6,.ases-col-xs-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-6,.ases-col-sm-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-sm-offset-6,.ases-col-sm-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-6,.ases-col-md-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-md-offset-6,.ases-col-md-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-6,.ases-col-lg-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-lg-offset-6,.ases-col-lg-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-7,.ases-col-xs-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-xs-offset-7,.ases-col-xs-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-7,.ases-col-sm-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-sm-offset-7,.ases-col-sm-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-7,.ases-col-md-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-md-offset-7,.ases-col-md-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-7,.ases-col-lg-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-lg-offset-7,.ases-col-lg-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-8,.ases-col-xs-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-xs-offset-8,.ases-col-xs-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-8,.ases-col-sm-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-sm-offset-8,.ases-col-sm-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-8,.ases-col-md-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-md-offset-8,.ases-col-md-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-8,.ases-col-lg-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-lg-offset-8,.ases-col-lg-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-9,.ases-col-xs-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-xs-offset-9,.ases-col-xs-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-9,.ases-col-sm-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-sm-offset-9,.ases-col-sm-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-9,.ases-col-md-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-md-offset-9,.ases-col-md-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-9,.ases-col-lg-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-lg-offset-9,.ases-col-lg-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-10,.ases-col-xs-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-xs-offset-10,.ases-col-xs-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-10,.ases-col-sm-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-sm-offset-10,.ases-col-sm-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-10,.ases-col-md-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-md-offset-10,.ases-col-md-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-10,.ases-col-lg-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-lg-offset-10,.ases-col-lg-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-11,.ases-col-xs-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-xs-offset-11,.ases-col-xs-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-11,.ases-col-sm-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-sm-offset-11,.ases-col-sm-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-11,.ases-col-md-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-md-offset-11,.ases-col-md-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-11,.ases-col-lg-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-lg-offset-11,.ases-col-lg-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-12,.ases-col-xs-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-xs-offset-12,.ases-col-xs-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-12,.ases-col-sm-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-sm-offset-12,.ases-col-sm-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-12,.ases-col-md-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-md-offset-12,.ases-col-md-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-12,.ases-col-lg-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-lg-offset-12,.ases-col-lg-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}.ases-btn{cursor:pointer;display:inline-block;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.ases-btn-default{color:#333;background-color:#fff;border-color:#ccc}.ases-btn:hover,.ases-btn:focus,.ases-btn.focus{color:#333;background-color:#ddd;text-decoration:none}.ases-btn:active,.ases-btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.ases-btn.disabled,.ases-btn[disabled]{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.ases-btn-xs{margin:0px;padding:calc( ( 767px * 0.0366666 * 0.305 ) / 2 );font-size:calc( 767px * 0.0366666 * 0.39 )}.ases-btn-sm{margin:0px;padding:calc( ( 991px * 0.0366666 * 0.305 ) / 2 );font-size:calc( 991px * 0.0366666 * 0.39 )}.ases-btn-md{margin:0px;padding:calc( ( 1199px * 0.0366666 * 0.305 ) / 2 );font-size:calc( 1199px * 0.0366666 * 0.39 )}.ases-btn-lg{margin:0px;padding:calc( ( calc( 1200px * 1.2920 ) * 0.0366666 * 0.305 ) / 2 );font-size:calc( calc( 1200px * 1.2920 ) * 0.0366666 * 0.39 )}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.ases-form-control{display:block;width:100%;background-clip:padding-box;background-color:#fff;border:1px solid #ccc;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:outline-color ease-in-out 0.15,border-color ease-in-out 0.15,-webkit-box-shadow ease-in-out 0.15;-o-transition:outline-color ease-in-out 0.15,border-color ease-in-out 0.15,box-shadow ease-in-out 0.15;transition:outline-color ease-in-out 0.15,border-color ease-in-out 0.15,box-shadow ease-in-out 0.15;transition-property:outline-color,border-color,box-shadow;transition-duration:0.15,0.15,0.15;transition-timing-function:ease-in-out,ease-in-out,ease-in-out;border-radius:4px}.ases-form-control:focus{outline:0;border-color:#66afe9;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)}.ases-form-group{margin-bottom:15px}.ases-form-group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700;color:inherit}.checkbox,.radio{margin-top:10px;margin-bottom:10px;cursor:pointer}.checkbox label,.radio label{cursor:pointer}.ases-form-control.textarea{height:auto}input[type=color].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=date].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=datetime-local].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=file].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=email].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=month].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=number].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=password].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=search].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=tel].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=text].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=time].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=url].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=week].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=range]{height:34px;padding:6px 12px 6px 12px}@font-face{font-family:"Glyphicons Halflings";src:url("../fonts/glyphicons-halflings-regular.eot");src:url("../fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/glyphicons-halflings-regular.woff2") format("woff2"),url("../fonts/glyphicons-halflings-regular.woff") format("woff"),url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"),url("../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg")}.ases-glyphicon{position:relative;top:1px;display:inline-block;font-family:"Glyphicons Halflings";font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ases-glyphicon-asterisk:before{content:"*"}.ases-glyphicon-plus:before{content:"+"}.ases-glyphicon-euro:before,.ases-glyphicon-eur:before{content:"€"}.ases-glyphicon-minus:before{content:"−"}.ases-glyphicon-cloud:before{content:"☁"}.ases-glyphicon-envelope:before{content:"✉"}.ases-glyphicon-pencil:before{content:"✏"}.ases-glyphicon-glass:before{content:""}.ases-glyphicon-music:before{content:""}.ases-glyphicon-search:before{content:""}.ases-glyphicon-heart:before{content:""}.ases-glyphicon-star:before{content:""}.ases-glyphicon-star-empty:before{content:""}.ases-glyphicon-user:before{content:""}.ases-glyphicon-film:before{content:""}.ases-glyphicon-th-large:before{content:""}.ases-glyphicon-th:before{content:""}.ases-glyphicon-th-list:before{content:""}.ases-glyphicon-ok:before{content:""}.ases-glyphicon-remove:before{content:""}.ases-glyphicon-zoom-in:before{content:""}.ases-glyphicon-zoom-out:before{content:""}.ases-glyphicon-off:before{content:""}.ases-glyphicon-signal:before{content:""}.ases-glyphicon-cog:before{content:""}.ases-glyphicon-trash:before{content:""}.ases-glyphicon-home:before{content:""}.ases-glyphicon-file:before{content:""}.ases-glyphicon-time:before{content:""}.ases-glyphicon-road:before{content:""}.ases-glyphicon-download-alt:before{content:""}.ases-glyphicon-download:before{content:""}.ases-glyphicon-upload:before{content:""}.ases-glyphicon-inbox:before{content:""}.ases-glyphicon-play-circle:before{content:""}.ases-glyphicon-repeat:before{content:""}.ases-glyphicon-refresh:before{content:""}.ases-glyphicon-list-alt:before{content:""}.ases-glyphicon-lock:before{content:""}.ases-glyphicon-flag:before{content:""}.ases-glyphicon-headphones:before{content:""}.ases-glyphicon-volume-off:before{content:""}.ases-glyphicon-volume-down:before{content:""}.ases-glyphicon-volume-up:before{content:""}.ases-glyphicon-qrcode:before{content:""}.ases-glyphicon-barcode:before{content:""}.ases-glyphicon-tag:before{content:""}.ases-glyphicon-tags:before{content:""}.ases-glyphicon-book:before{content:""}.ases-glyphicon-bookmark:before{content:""}.ases-glyphicon-print:before{content:""}.ases-glyphicon-camera:before{content:""}.ases-glyphicon-font:before{content:""}.ases-glyphicon-bold:before{content:""}.ases-glyphicon-italic:before{content:""}.ases-glyphicon-text-height:before{content:""}.ases-glyphicon-text-width:before{content:""}.ases-glyphicon-align-left:before{content:""}.ases-glyphicon-align-center:before{content:""}.ases-glyphicon-align-right:before{content:""}.ases-glyphicon-align-justify:before{content:""}.ases-glyphicon-list:before{content:""}.ases-glyphicon-indent-left:before{content:""}.ases-glyphicon-indent-right:before{content:""}.ases-glyphicon-facetime-video:before{content:""}.ases-glyphicon-picture:before{content:""}.ases-glyphicon-map-marker:before{content:""}.ases-glyphicon-adjust:before{content:""}.ases-glyphicon-tint:before{content:""}.ases-glyphicon-edit:before{content:""}.ases-glyphicon-share:before{content:""}.ases-glyphicon-check:before{content:""}.ases-glyphicon-move:before{content:""}.ases-glyphicon-step-backward:before{content:""}.ases-glyphicon-fast-backward:before{content:""}.ases-glyphicon-backward:before{content:""}.ases-glyphicon-play:before{content:""}.ases-glyphicon-pause:before{content:""}.ases-glyphicon-stop:before{content:""}.ases-glyphicon-forward:before{content:""}.ases-glyphicon-fast-forward:before{content:""}.ases-glyphicon-step-forward:before{content:""}.ases-glyphicon-eject:before{content:""}.ases-glyphicon-chevron-left:before{content:""}.ases-glyphicon-chevron-right:before{content:""}.ases-glyphicon-plus-sign:before{content:""}.ases-glyphicon-minus-sign:before{content:""}.ases-glyphicon-remove-sign:before{content:""}.ases-glyphicon-ok-sign:before{content:""}.ases-glyphicon-question-sign:before{content:""}.ases-glyphicon-info-sign:before{content:""}.ases-glyphicon-screenshot:before{content:""}.ases-glyphicon-remove-circle:before{content:""}.ases-glyphicon-ok-circle:before{content:""}.ases-glyphicon-ban-circle:before{content:""}.ases-glyphicon-arrow-left:before{content:""}.ases-glyphicon-arrow-right:before{content:""}.ases-glyphicon-arrow-up:before{content:""}.ases-glyphicon-arrow-down:before{content:""}.ases-glyphicon-share-alt:before{content:""}.ases-glyphicon-resize-full:before{content:""}.ases-glyphicon-resize-small:before{content:""}.ases-glyphicon-exclamation-sign:before{content:""}.ases-glyphicon-gift:before{content:""}.ases-glyphicon-leaf:before{content:""}.ases-glyphicon-fire:before{content:""}.ases-glyphicon-eye-open:before{content:""}.ases-glyphicon-eye-close:before{content:""}.ases-glyphicon-warning-sign:before{content:""}.ases-glyphicon-plane:before{content:""}.ases-glyphicon-calendar:before{content:""}.ases-glyphicon-random:before{content:""}.ases-glyphicon-comment:before{content:""}.ases-glyphicon-magnet:before{content:""}.ases-glyphicon-chevron-up:before{content:""}.ases-glyphicon-chevron-down:before{content:""}.ases-glyphicon-retweet:before{content:""}.ases-glyphicon-shopping-cart:before{content:""}.ases-glyphicon-folder-close:before{content:""}.ases-glyphicon-folder-open:before{content:""}.ases-glyphicon-resize-vertical:before{content:""}.ases-glyphicon-resize-horizontal:before{content:""}.ases-glyphicon-hdd:before{content:""}.ases-glyphicon-bullhorn:before{content:""}.ases-glyphicon-bell:before{content:""}.ases-glyphicon-certificate:before{content:""}.ases-glyphicon-thumbs-up:before{content:""}.ases-glyphicon-thumbs-down:before{content:""}.ases-glyphicon-hand-right:before{content:""}.ases-glyphicon-hand-left:before{content:""}.ases-glyphicon-hand-up:before{content:""}.ases-glyphicon-hand-down:before{content:""}.ases-glyphicon-circle-arrow-right:before{content:""}.ases-glyphicon-circle-arrow-left:before{content:""}.ases-glyphicon-circle-arrow-up:before{content:""}.ases-glyphicon-circle-arrow-down:before{content:""}.ases-glyphicon-globe:before{content:""}.ases-glyphicon-wrench:before{content:""}.ases-glyphicon-tasks:before{content:""}.ases-glyphicon-filter:before{content:""}.ases-glyphicon-briefcase:before{content:""}.ases-glyphicon-fullscreen:before{content:""}.ases-glyphicon-dashboard:before{content:""}.ases-glyphicon-paperclip:before{content:""}.ases-glyphicon-heart-empty:before{content:""}.ases-glyphicon-link:before{content:""}.ases-glyphicon-phone:before{content:""}.ases-glyphicon-pushpin:before{content:""}.ases-glyphicon-usd:before{content:""}.ases-glyphicon-gbp:before{content:""}.ases-glyphicon-sort:before{content:""}.ases-glyphicon-sort-by-alphabet:before{content:""}.ases-glyphicon-sort-by-alphabet-alt:before{content:""}.ases-glyphicon-sort-by-order:before{content:""}.ases-glyphicon-sort-by-order-alt:before{content:""}.ases-glyphicon-sort-by-attributes:before{content:""}.ases-glyphicon-sort-by-attributes-alt:before{content:""}.ases-glyphicon-unchecked:before{content:""}.ases-glyphicon-expand:before{content:""}.ases-glyphicon-collapse-down:before{content:""}.ases-glyphicon-collapse-up:before{content:""}.ases-glyphicon-log-in:before{content:""}.ases-glyphicon-flash:before{content:""}.ases-glyphicon-log-out:before{content:""}.ases-glyphicon-new-window:before{content:""}.ases-glyphicon-record:before{content:""}.ases-glyphicon-save:before{content:""}.ases-glyphicon-open:before{content:""}.ases-glyphicon-saved:before{content:""}.ases-glyphicon-import:before{content:""}.ases-glyphicon-export:before{content:""}.ases-glyphicon-send:before{content:""}.ases-glyphicon-floppy-disk:before{content:""}.ases-glyphicon-floppy-saved:before{content:""}.ases-glyphicon-floppy-remove:before{content:""}.ases-glyphicon-floppy-save:before{content:""}.ases-glyphicon-floppy-open:before{content:""}.ases-glyphicon-credit-card:before{content:""}.ases-glyphicon-transfer:before{content:""}.ases-glyphicon-cutlery:before{content:""}.ases-glyphicon-header:before{content:""}.ases-glyphicon-compressed:before{content:""}.ases-glyphicon-earphone:before{content:""}.ases-glyphicon-phone-alt:before{content:""}.ases-glyphicon-tower:before{content:""}.ases-glyphicon-stats:before{content:""}.ases-glyphicon-sd-video:before{content:""}.ases-glyphicon-hd-video:before{content:""}.ases-glyphicon-subtitles:before{content:""}.ases-glyphicon-sound-stereo:before{content:""}.ases-glyphicon-sound-dolby:before{content:""}.ases-glyphicon-sound-5-1:before{content:""}.ases-glyphicon-sound-6-1:before{content:""}.ases-glyphicon-sound-7-1:before{content:""}.ases-glyphicon-copyright-mark:before{content:""}.ases-glyphicon-registration-mark:before{content:""}.ases-glyphicon-cloud-download:before{content:""}.ases-glyphicon-cloud-upload:before{content:""}.ases-glyphicon-tree-conifer:before{content:""}.ases-glyphicon-tree-deciduous:before{content:""}.ases-glyphicon-cd:before{content:""}.ases-glyphicon-save-file:before{content:""}.ases-glyphicon-open-file:before{content:""}.ases-glyphicon-level-up:before{content:""}.ases-glyphicon-copy:before{content:""}.ases-glyphicon-paste:before{content:""}.ases-glyphicon-door:before{content:"🚪"}.ases-glyphicon-key:before{content:"🔑"}.ases-glyphicon-alert:before{content:""}.ases-glyphicon-equalizer:before{content:""}.ases-glyphicon-king:before{content:""}.ases-glyphicon-queen:before{content:""}.ases-glyphicon-pawn:before{content:""}.ases-glyphicon-bishop:before{content:""}.ases-glyphicon-knight:before{content:""}.ases-glyphicon-baby-formula:before{content:""}.ases-glyphicon-tent:before{content:"⛺"}.ases-glyphicon-blackboard:before{content:""}.ases-glyphicon-bed:before{content:""}.ases-glyphicon-apple:before{content:""}.ases-glyphicon-erase:before{content:""}.ases-glyphicon-hourglass:before{content:"⌛"}.ases-glyphicon-lamp:before{content:""}.ases-glyphicon-duplicate:before{content:""}.ases-glyphicon-piggy-bank:before{content:""}.ases-glyphicon-scissors:before{content:""}.ases-glyphicon-bitcoin:before{content:""}.ases-glyphicon-btc:before{content:""}.ases-glyphicon-xbt:before{content:""}.ases-glyphicon-yen:before{content:"¥"}.ases-glyphicon-jpy:before{content:"¥"}.ases-glyphicon-ruble:before{content:"₽"}.ases-glyphicon-rub:before{content:"₽"}.ases-glyphicon-scale:before{content:""}.ases-glyphicon-ice-lolly:before{content:""}.ases-glyphicon-ice-lolly-tasted:before{content:""}.ases-glyphicon-education:before{content:""}.ases-glyphicon-option-horizontal:before{content:""}.ases-glyphicon-option-vertical:before{content:""}.ases-glyphicon-menu-hamburger:before{content:""}.ases-glyphicon-modal-window:before{content:""}.ases-glyphicon-oil:before{content:""}.ases-glyphicon-grain:before{content:""}.ases-glyphicon-sunglasses:before{content:""}.ases-glyphicon-text-size:before{content:""}.ases-glyphicon-text-color:before{content:""}.ases-glyphicon-text-background:before{content:""}.ases-glyphicon-object-align-top:before{content:""}.ases-glyphicon-object-align-bottom:before{content:""}.ases-glyphicon-object-align-horizontal:before{content:""}.ases-glyphicon-object-align-left:before{content:""}.ases-glyphicon-object-align-vertical:before{content:""}.ases-glyphicon-object-align-right:before{content:""}.ases-glyphicon-triangle-right:before{content:""}.ases-glyphicon-triangle-left:before{content:""}.ases-glyphicon-triangle-bottom:before{content:""}.ases-glyphicon-triangle-top:before{content:""}.ases-glyphicon-console:before{content:""}.ases-glyphicon-superscript:before{content:""}.ases-glyphicon-subscript:before{content:""}.ases-glyphicon-menu-left:before{content:""}.ases-glyphicon-menu-right:before{content:""}.ases-glyphicon-menu-down:before{content:""}.ases-glyphicon-menu-up:before{content:""}.ases-nav{padding-left:0;margin-bottom:0;list-style:none;clear:both}.ases-nav-pills{padding-left:0;margin-bottom:0;list-style:none}.ases-nav-pills>li.ases-active>a,.ases-nav-pills>li.ases-active>a:focus,.ases-nav-pills>li.ases-active>a:hover{color:#fff;background-color:#337ab7}.ases-nav-pills>li:hover>a{background-color:#eee}.ases-nav-pills>li>a{border-radius:4px}.ases-nav-pills>li+li{margin-left:2px}.ases-nav-pills>li{float:left}.ases-nav>li{position:relative;display:block}.ases-tab-content{display:block;clear:both}.ases-nav>li>a{position:relative;display:block;padding:10px 15px}.ases-tab-content>.ases-tab-pane{display:none}.ases-tab-content>.ases-tab-active{display:block}.ases-success{border:1px solid #54a854;background:#f5fff6;color:#54a854}.ases-success:hover{border:1px solid #54a854;background:#54a854;color:#fff}.ases-warning{border:1px solid #ffa330;background:#fff8f5;color:#ffa330}.ases-warning:hover{border:1px solid #ffa330;background:#ffa330;color:#fff}.ases-danger{border:1px solid #ff3030;background:#fff5f5;color:#ff3030}.ases-danger:hover{border:1px solid #ff3030;background:#ff3030;color:#fff}.ases-info{border:1px solid #2dbcd8;background:#f5fffe;color:#2dbcd8}.ases-info:hover{border:1px solid #2dbcd8;background:#2dbcd8;color:#fff}.ases-primary{border:1px solid #30acff;background:#f5fffe;color:#30acff}.ases-primary:hover{border:1px solid #30acff;background:#30acff;color:#fff}/*# sourceMappingURL=aaspect.min.css.map */ +*{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}::after,::before{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}body{font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;font-size:14px;line-height:1.42857143;color:#333;background-color:#fff}hr{margin-top:20px;margin-bottom:20px;border:0;border-top:1px solid #eee}button{font-size:inherit;padding:1px 6px 1px 6px;border-width:2px;color:inherit;line-height:inherit}a{color:#337ab7;text-decoration:none}[hidden]{display:none !important}template{display:none !important}.ases-fade.ases-in{opacity:1}.ases-fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.ases-container-fluid,.ases-container{margin-top:0px;margin-right:auto;margin-bottom:0px;margin-left:auto;padding-top:0px;padding-right:15px;padding-bottom:0px;padding-left:15px;clear:both}@media(min-width: 0)and (max-width: 767px){.ases-container{width:621.27px}}@media(min-width: 768px)and (max-width: 991px){.ases-container{width:802.71px}}@media(min-width: 992px)and (max-width: 1199px){.ases-container{width:971.19px}}@media(min-width: 1200px){.ases-container{width:1170px}}.ases-container::after,.ases-container::before,.ases-container-fluid::after,.ases-container-fluid::before{clear:both}.ases-row{clear:both}.ases-container-fluid .ases-row,.ases-container .ases-row{margin-left:-15px;margin-right:-15px}.ases-container-fluid .ases-row::after,.ases-container-fluid .ases-row::before,.ases-container .ases-row::after,.ases-container .ases-row::before{display:table;content:" ";clear:both}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-1,.ases-col-xs-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-xs-offset-1,.ases-col-xs-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-1,.ases-col-sm-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-sm-offset-1,.ases-col-sm-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-1,.ases-col-md-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-md-offset-1,.ases-col-md-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-1,.ases-col-lg-1{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 1 )}.ases-row .ases-col-lg-offset-1,.ases-col-lg-offset-1{margin-left:calc( ( 100% / 12 ) * 1 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-2,.ases-col-xs-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-xs-offset-2,.ases-col-xs-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-2,.ases-col-sm-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-sm-offset-2,.ases-col-sm-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-2,.ases-col-md-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-md-offset-2,.ases-col-md-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-2,.ases-col-lg-2{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 2 )}.ases-row .ases-col-lg-offset-2,.ases-col-lg-offset-2{margin-left:calc( ( 100% / 12 ) * 2 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-3,.ases-col-xs-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-xs-offset-3,.ases-col-xs-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-3,.ases-col-sm-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-sm-offset-3,.ases-col-sm-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-3,.ases-col-md-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-md-offset-3,.ases-col-md-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-3,.ases-col-lg-3{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 3 )}.ases-row .ases-col-lg-offset-3,.ases-col-lg-offset-3{margin-left:calc( ( 100% / 12 ) * 3 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-4,.ases-col-xs-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-xs-offset-4,.ases-col-xs-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-4,.ases-col-sm-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-sm-offset-4,.ases-col-sm-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-4,.ases-col-md-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-md-offset-4,.ases-col-md-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-4,.ases-col-lg-4{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 4 )}.ases-row .ases-col-lg-offset-4,.ases-col-lg-offset-4{margin-left:calc( ( 100% / 12 ) * 4 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-5,.ases-col-xs-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-xs-offset-5,.ases-col-xs-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-5,.ases-col-sm-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-sm-offset-5,.ases-col-sm-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-5,.ases-col-md-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-md-offset-5,.ases-col-md-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-5,.ases-col-lg-5{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 5 )}.ases-row .ases-col-lg-offset-5,.ases-col-lg-offset-5{margin-left:calc( ( 100% / 12 ) * 5 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-6,.ases-col-xs-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-xs-offset-6,.ases-col-xs-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-6,.ases-col-sm-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-sm-offset-6,.ases-col-sm-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-6,.ases-col-md-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-md-offset-6,.ases-col-md-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-6,.ases-col-lg-6{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 6 )}.ases-row .ases-col-lg-offset-6,.ases-col-lg-offset-6{margin-left:calc( ( 100% / 12 ) * 6 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-7,.ases-col-xs-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-xs-offset-7,.ases-col-xs-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-7,.ases-col-sm-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-sm-offset-7,.ases-col-sm-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-7,.ases-col-md-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-md-offset-7,.ases-col-md-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-7,.ases-col-lg-7{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 7 )}.ases-row .ases-col-lg-offset-7,.ases-col-lg-offset-7{margin-left:calc( ( 100% / 12 ) * 7 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-8,.ases-col-xs-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-xs-offset-8,.ases-col-xs-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-8,.ases-col-sm-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-sm-offset-8,.ases-col-sm-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-8,.ases-col-md-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-md-offset-8,.ases-col-md-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-8,.ases-col-lg-8{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 8 )}.ases-row .ases-col-lg-offset-8,.ases-col-lg-offset-8{margin-left:calc( ( 100% / 12 ) * 8 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-9,.ases-col-xs-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-xs-offset-9,.ases-col-xs-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-9,.ases-col-sm-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-sm-offset-9,.ases-col-sm-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-9,.ases-col-md-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-md-offset-9,.ases-col-md-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-9,.ases-col-lg-9{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 9 )}.ases-row .ases-col-lg-offset-9,.ases-col-lg-offset-9{margin-left:calc( ( 100% / 12 ) * 9 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-10,.ases-col-xs-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-xs-offset-10,.ases-col-xs-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-10,.ases-col-sm-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-sm-offset-10,.ases-col-sm-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-10,.ases-col-md-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-md-offset-10,.ases-col-md-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-10,.ases-col-lg-10{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 10 )}.ases-row .ases-col-lg-offset-10,.ases-col-lg-offset-10{margin-left:calc( ( 100% / 12 ) * 10 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-11,.ases-col-xs-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-xs-offset-11,.ases-col-xs-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-11,.ases-col-sm-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-sm-offset-11,.ases-col-sm-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-11,.ases-col-md-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-md-offset-11,.ases-col-md-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-11,.ases-col-lg-11{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 11 )}.ases-row .ases-col-lg-offset-11,.ases-col-lg-offset-11{margin-left:calc( ( 100% / 12 ) * 11 )}}@media(min-width: 0)and (max-width: 767px){.ases-row .ases-col-xs-12,.ases-col-xs-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-xs-offset-12,.ases-col-xs-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}@media(min-width: 768px)and (max-width: 991px){.ases-row .ases-col-sm-12,.ases-col-sm-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-sm-offset-12,.ases-col-sm-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}@media(min-width: 992px)and (max-width: 1199px){.ases-row .ases-col-md-12,.ases-col-md-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-md-offset-12,.ases-col-md-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}@media(min-width: 1200px){.ases-row .ases-col-lg-12,.ases-col-lg-12{float:left;position:relative;min-height:1px;padding-right:15px;padding-left:15px;width:calc( ( 100% / 12 ) * 12 )}.ases-row .ases-col-lg-offset-12,.ases-col-lg-offset-12{margin-left:calc( ( 100% / 12 ) * 12 )}}.ases-btn{cursor:pointer;display:inline-block;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.ases-btn-default{color:#333;background-color:#fff;border-color:#ccc}.ases-btn:hover,.ases-btn:focus,.ases-btn.focus{color:#333;background-color:#ddd;text-decoration:none}.ases-btn:active,.ases-btn.active{outline:0;background-image:none;-webkit-box-shadow:inset 0 3px 5px rgba(0,0,0,.125);box-shadow:inset 0 3px 5px rgba(0,0,0,.125)}.ases-btn.disabled,.ases-btn[disabled]{cursor:not-allowed;opacity:.65;filter:alpha(opacity=65);-webkit-box-shadow:none;box-shadow:none}.ases-btn-xs{margin:0px;padding:calc( ( 767px * 0.0366666 * 0.305 ) / 2 );font-size:calc( 767px * 0.0366666 * 0.39 )}.ases-btn-sm{margin:0px;padding:calc( ( 991px * 0.0366666 * 0.305 ) / 2 );font-size:calc( 991px * 0.0366666 * 0.39 )}.ases-btn-md{margin:0px;padding:calc( ( 1199px * 0.0366666 * 0.305 ) / 2 );font-size:calc( 1199px * 0.0366666 * 0.39 )}.ases-btn-lg{margin:0px;padding:calc( ( calc( 1200px * 1.2920 ) * 0.0366666 * 0.305 ) / 2 );font-size:calc( calc( 1200px * 1.2920 ) * 0.0366666 * 0.39 )}.badge{display:inline-block;min-width:10px;padding:3px 7px;font-size:12px;font-weight:700;line-height:1;color:#fff;text-align:center;white-space:nowrap;vertical-align:middle;background-color:#777;border-radius:10px}.ases-form-control{display:block;width:100%;background-clip:padding-box;background-color:#fff;border:1px solid #ccc;box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075);-webkit-transition:outline-color ease-in-out 0.15,border-color ease-in-out 0.15,-webkit-box-shadow ease-in-out 0.15;-o-transition:outline-color ease-in-out 0.15,border-color ease-in-out 0.15,box-shadow ease-in-out 0.15;transition:outline-color ease-in-out 0.15,border-color ease-in-out 0.15,box-shadow ease-in-out 0.15;transition-property:outline-color,border-color,box-shadow;transition-duration:0.15,0.15,0.15;transition-timing-function:ease-in-out,ease-in-out,ease-in-out;border-radius:4px}.ases-form-control:focus{outline:0;border-color:#66afe9;-webkit-box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);box-shadow:inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6)}.ases-form-group{margin-bottom:15px}.ases-form-group label{display:inline-block;max-width:100%;margin-bottom:5px;font-weight:700;color:inherit}.checkbox,.radio{margin-top:10px;margin-bottom:10px;cursor:pointer}.checkbox label,.radio label{cursor:pointer}.ases-form-control.textarea{height:auto}input[type=color].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=date].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=datetime-local].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=file].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=email].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=month].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=number].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=password].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=search].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=tel].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=text].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=time].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=url].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=week].ases-form-control{height:34px;border-width:1px;padding:6px 12px 6px 12px;color:inherit}input[type=range]{height:34px;padding:6px 12px 6px 12px}@font-face{font-family:"Glyphicons Halflings";src:url("../fonts/glyphicons-halflings-regular.eot");src:url("../fonts/glyphicons-halflings-regular.eot?#iefix") format("embedded-opentype"),url("../fonts/glyphicons-halflings-regular.woff2") format("woff2"),url("../fonts/glyphicons-halflings-regular.woff") format("woff"),url("../fonts/glyphicons-halflings-regular.ttf") format("truetype"),url("../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular") format("svg")}.ases-glyphicon{position:relative;top:1px;display:inline-block;font-family:"Glyphicons Halflings";font-style:normal;font-weight:normal;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ases-glyphicon-asterisk:before{content:"*"}.ases-glyphicon-plus:before{content:"+"}.ases-glyphicon-euro:before,.ases-glyphicon-eur:before{content:"€"}.ases-glyphicon-minus:before{content:"−"}.ases-glyphicon-cloud:before{content:"☁"}.ases-glyphicon-envelope:before{content:"✉"}.ases-glyphicon-pencil:before{content:"✏"}.ases-glyphicon-glass:before{content:""}.ases-glyphicon-music:before{content:""}.ases-glyphicon-search:before{content:""}.ases-glyphicon-heart:before{content:""}.ases-glyphicon-star:before{content:""}.ases-glyphicon-star-empty:before{content:""}.ases-glyphicon-user:before{content:""}.ases-glyphicon-film:before{content:""}.ases-glyphicon-th-large:before{content:""}.ases-glyphicon-th:before{content:""}.ases-glyphicon-th-list:before{content:""}.ases-glyphicon-ok:before{content:""}.ases-glyphicon-remove:before{content:""}.ases-glyphicon-zoom-in:before{content:""}.ases-glyphicon-zoom-out:before{content:""}.ases-glyphicon-off:before{content:""}.ases-glyphicon-signal:before{content:""}.ases-glyphicon-cog:before{content:""}.ases-glyphicon-trash:before{content:""}.ases-glyphicon-home:before{content:""}.ases-glyphicon-file:before{content:""}.ases-glyphicon-time:before{content:""}.ases-glyphicon-road:before{content:""}.ases-glyphicon-download-alt:before{content:""}.ases-glyphicon-download:before{content:""}.ases-glyphicon-upload:before{content:""}.ases-glyphicon-inbox:before{content:""}.ases-glyphicon-play-circle:before{content:""}.ases-glyphicon-repeat:before{content:""}.ases-glyphicon-refresh:before{content:""}.ases-glyphicon-list-alt:before{content:""}.ases-glyphicon-lock:before{content:""}.ases-glyphicon-flag:before{content:""}.ases-glyphicon-headphones:before{content:""}.ases-glyphicon-volume-off:before{content:""}.ases-glyphicon-volume-down:before{content:""}.ases-glyphicon-volume-up:before{content:""}.ases-glyphicon-qrcode:before{content:""}.ases-glyphicon-barcode:before{content:""}.ases-glyphicon-tag:before{content:""}.ases-glyphicon-tags:before{content:""}.ases-glyphicon-book:before{content:""}.ases-glyphicon-bookmark:before{content:""}.ases-glyphicon-print:before{content:""}.ases-glyphicon-camera:before{content:""}.ases-glyphicon-font:before{content:""}.ases-glyphicon-bold:before{content:""}.ases-glyphicon-italic:before{content:""}.ases-glyphicon-text-height:before{content:""}.ases-glyphicon-text-width:before{content:""}.ases-glyphicon-align-left:before{content:""}.ases-glyphicon-align-center:before{content:""}.ases-glyphicon-align-right:before{content:""}.ases-glyphicon-align-justify:before{content:""}.ases-glyphicon-list:before{content:""}.ases-glyphicon-indent-left:before{content:""}.ases-glyphicon-indent-right:before{content:""}.ases-glyphicon-facetime-video:before{content:""}.ases-glyphicon-picture:before{content:""}.ases-glyphicon-map-marker:before{content:""}.ases-glyphicon-adjust:before{content:""}.ases-glyphicon-tint:before{content:""}.ases-glyphicon-edit:before{content:""}.ases-glyphicon-share:before{content:""}.ases-glyphicon-check:before{content:""}.ases-glyphicon-move:before{content:""}.ases-glyphicon-step-backward:before{content:""}.ases-glyphicon-fast-backward:before{content:""}.ases-glyphicon-backward:before{content:""}.ases-glyphicon-play:before{content:""}.ases-glyphicon-pause:before{content:""}.ases-glyphicon-stop:before{content:""}.ases-glyphicon-forward:before{content:""}.ases-glyphicon-fast-forward:before{content:""}.ases-glyphicon-step-forward:before{content:""}.ases-glyphicon-eject:before{content:""}.ases-glyphicon-chevron-left:before{content:""}.ases-glyphicon-chevron-right:before{content:""}.ases-glyphicon-plus-sign:before{content:""}.ases-glyphicon-minus-sign:before{content:""}.ases-glyphicon-remove-sign:before{content:""}.ases-glyphicon-ok-sign:before{content:""}.ases-glyphicon-question-sign:before{content:""}.ases-glyphicon-info-sign:before{content:""}.ases-glyphicon-screenshot:before{content:""}.ases-glyphicon-remove-circle:before{content:""}.ases-glyphicon-ok-circle:before{content:""}.ases-glyphicon-ban-circle:before{content:""}.ases-glyphicon-arrow-left:before{content:""}.ases-glyphicon-arrow-right:before{content:""}.ases-glyphicon-arrow-up:before{content:""}.ases-glyphicon-arrow-down:before{content:""}.ases-glyphicon-share-alt:before{content:""}.ases-glyphicon-resize-full:before{content:""}.ases-glyphicon-resize-small:before{content:""}.ases-glyphicon-exclamation-sign:before{content:""}.ases-glyphicon-gift:before{content:""}.ases-glyphicon-leaf:before{content:""}.ases-glyphicon-fire:before{content:""}.ases-glyphicon-eye-open:before{content:""}.ases-glyphicon-eye-close:before{content:""}.ases-glyphicon-warning-sign:before{content:""}.ases-glyphicon-plane:before{content:""}.ases-glyphicon-calendar:before{content:""}.ases-glyphicon-random:before{content:""}.ases-glyphicon-comment:before{content:""}.ases-glyphicon-magnet:before{content:""}.ases-glyphicon-chevron-up:before{content:""}.ases-glyphicon-chevron-down:before{content:""}.ases-glyphicon-retweet:before{content:""}.ases-glyphicon-shopping-cart:before{content:""}.ases-glyphicon-folder-close:before{content:""}.ases-glyphicon-folder-open:before{content:""}.ases-glyphicon-resize-vertical:before{content:""}.ases-glyphicon-resize-horizontal:before{content:""}.ases-glyphicon-hdd:before{content:""}.ases-glyphicon-bullhorn:before{content:""}.ases-glyphicon-bell:before{content:""}.ases-glyphicon-certificate:before{content:""}.ases-glyphicon-thumbs-up:before{content:""}.ases-glyphicon-thumbs-down:before{content:""}.ases-glyphicon-hand-right:before{content:""}.ases-glyphicon-hand-left:before{content:""}.ases-glyphicon-hand-up:before{content:""}.ases-glyphicon-hand-down:before{content:""}.ases-glyphicon-circle-arrow-right:before{content:""}.ases-glyphicon-circle-arrow-left:before{content:""}.ases-glyphicon-circle-arrow-up:before{content:""}.ases-glyphicon-circle-arrow-down:before{content:""}.ases-glyphicon-globe:before{content:""}.ases-glyphicon-wrench:before{content:""}.ases-glyphicon-tasks:before{content:""}.ases-glyphicon-filter:before{content:""}.ases-glyphicon-briefcase:before{content:""}.ases-glyphicon-fullscreen:before{content:""}.ases-glyphicon-dashboard:before{content:""}.ases-glyphicon-paperclip:before{content:""}.ases-glyphicon-heart-empty:before{content:""}.ases-glyphicon-link:before{content:""}.ases-glyphicon-phone:before{content:""}.ases-glyphicon-pushpin:before{content:""}.ases-glyphicon-usd:before{content:""}.ases-glyphicon-gbp:before{content:""}.ases-glyphicon-sort:before{content:""}.ases-glyphicon-sort-by-alphabet:before{content:""}.ases-glyphicon-sort-by-alphabet-alt:before{content:""}.ases-glyphicon-sort-by-order:before{content:""}.ases-glyphicon-sort-by-order-alt:before{content:""}.ases-glyphicon-sort-by-attributes:before{content:""}.ases-glyphicon-sort-by-attributes-alt:before{content:""}.ases-glyphicon-unchecked:before{content:""}.ases-glyphicon-expand:before{content:""}.ases-glyphicon-collapse-down:before{content:""}.ases-glyphicon-collapse-up:before{content:""}.ases-glyphicon-log-in:before{content:""}.ases-glyphicon-flash:before{content:""}.ases-glyphicon-log-out:before{content:""}.ases-glyphicon-new-window:before{content:""}.ases-glyphicon-record:before{content:""}.ases-glyphicon-save:before{content:""}.ases-glyphicon-open:before{content:""}.ases-glyphicon-saved:before{content:""}.ases-glyphicon-import:before{content:""}.ases-glyphicon-export:before{content:""}.ases-glyphicon-send:before{content:""}.ases-glyphicon-floppy-disk:before{content:""}.ases-glyphicon-floppy-saved:before{content:""}.ases-glyphicon-floppy-remove:before{content:""}.ases-glyphicon-floppy-save:before{content:""}.ases-glyphicon-floppy-open:before{content:""}.ases-glyphicon-credit-card:before{content:""}.ases-glyphicon-transfer:before{content:""}.ases-glyphicon-cutlery:before{content:""}.ases-glyphicon-header:before{content:""}.ases-glyphicon-compressed:before{content:""}.ases-glyphicon-earphone:before{content:""}.ases-glyphicon-phone-alt:before{content:""}.ases-glyphicon-tower:before{content:""}.ases-glyphicon-stats:before{content:""}.ases-glyphicon-sd-video:before{content:""}.ases-glyphicon-hd-video:before{content:""}.ases-glyphicon-subtitles:before{content:""}.ases-glyphicon-sound-stereo:before{content:""}.ases-glyphicon-sound-dolby:before{content:""}.ases-glyphicon-sound-5-1:before{content:""}.ases-glyphicon-sound-6-1:before{content:""}.ases-glyphicon-sound-7-1:before{content:""}.ases-glyphicon-copyright-mark:before{content:""}.ases-glyphicon-registration-mark:before{content:""}.ases-glyphicon-cloud-download:before{content:""}.ases-glyphicon-cloud-upload:before{content:""}.ases-glyphicon-tree-conifer:before{content:""}.ases-glyphicon-tree-deciduous:before{content:""}.ases-glyphicon-cd:before{content:""}.ases-glyphicon-save-file:before{content:""}.ases-glyphicon-open-file:before{content:""}.ases-glyphicon-level-up:before{content:""}.ases-glyphicon-copy:before{content:""}.ases-glyphicon-paste:before{content:""}.ases-glyphicon-door:before{content:"🚪"}.ases-glyphicon-key:before{content:"🔑"}.ases-glyphicon-alert:before{content:""}.ases-glyphicon-equalizer:before{content:""}.ases-glyphicon-king:before{content:""}.ases-glyphicon-queen:before{content:""}.ases-glyphicon-pawn:before{content:""}.ases-glyphicon-bishop:before{content:""}.ases-glyphicon-knight:before{content:""}.ases-glyphicon-baby-formula:before{content:""}.ases-glyphicon-tent:before{content:"⛺"}.ases-glyphicon-blackboard:before{content:""}.ases-glyphicon-bed:before{content:""}.ases-glyphicon-apple:before{content:""}.ases-glyphicon-erase:before{content:""}.ases-glyphicon-hourglass:before{content:"⌛"}.ases-glyphicon-lamp:before{content:""}.ases-glyphicon-duplicate:before{content:""}.ases-glyphicon-piggy-bank:before{content:""}.ases-glyphicon-scissors:before{content:""}.ases-glyphicon-bitcoin:before{content:""}.ases-glyphicon-btc:before{content:""}.ases-glyphicon-xbt:before{content:""}.ases-glyphicon-yen:before{content:"¥"}.ases-glyphicon-jpy:before{content:"¥"}.ases-glyphicon-ruble:before{content:"₽"}.ases-glyphicon-rub:before{content:"₽"}.ases-glyphicon-scale:before{content:""}.ases-glyphicon-ice-lolly:before{content:""}.ases-glyphicon-ice-lolly-tasted:before{content:""}.ases-glyphicon-education:before{content:""}.ases-glyphicon-option-horizontal:before{content:""}.ases-glyphicon-option-vertical:before{content:""}.ases-glyphicon-menu-hamburger:before{content:""}.ases-glyphicon-modal-window:before{content:""}.ases-glyphicon-oil:before{content:""}.ases-glyphicon-grain:before{content:""}.ases-glyphicon-sunglasses:before{content:""}.ases-glyphicon-text-size:before{content:""}.ases-glyphicon-text-color:before{content:""}.ases-glyphicon-text-background:before{content:""}.ases-glyphicon-object-align-top:before{content:""}.ases-glyphicon-object-align-bottom:before{content:""}.ases-glyphicon-object-align-horizontal:before{content:""}.ases-glyphicon-object-align-left:before{content:""}.ases-glyphicon-object-align-vertical:before{content:""}.ases-glyphicon-object-align-right:before{content:""}.ases-glyphicon-triangle-right:before{content:""}.ases-glyphicon-triangle-left:before{content:""}.ases-glyphicon-triangle-bottom:before{content:""}.ases-glyphicon-triangle-top:before{content:""}.ases-glyphicon-console:before{content:""}.ases-glyphicon-superscript:before{content:""}.ases-glyphicon-subscript:before{content:""}.ases-glyphicon-menu-left:before{content:""}.ases-glyphicon-menu-right:before{content:""}.ases-glyphicon-menu-down:before{content:""}.ases-glyphicon-menu-up:before{content:""}.ases-nav{padding-left:0;margin-bottom:0;list-style:none;clear:both}.ases-nav-pills{padding-left:0;margin-bottom:0;list-style:none}.ases-nav-pills>li.ases-active>a,.ases-nav-pills>li.ases-active>a:focus,.ases-nav-pills>li.ases-active>a:hover{color:#fff;background-color:#337ab7}.ases-nav-pills>li:hover>a{background-color:#eee}.ases-nav-pills>li>a{border-radius:4px}.ases-nav-pills>li+li{margin-left:2px}.ases-nav-pills>li{float:left}.ases-nav>li{position:relative;display:block}.ases-tab-content{display:block;clear:both}.ases-nav>li>a{position:relative;display:block;padding:10px 15px}.ases-tab-content>.ases-tab-pane{display:none}.ases-tab-content>.ases-tab-active{display:block}.ases-success{border:1px solid #54a854;background:#f5fff6;color:#54a854}.ases-success:hover{border:1px solid #54a854;background:#54a854;color:#fff}.ases-warning{border:1px solid #ffa330;background:#fff8f5;color:#ffa330}.ases-warning:hover{border:1px solid #ffa330;background:#ffa330;color:#fff}.ases-danger{border:1px solid #ff3030;background:#fff5f5;color:#ff3030}.ases-danger:hover{border:1px solid #ff3030;background:#ff3030;color:#fff}.ases-info{border:1px solid #2dbcd8;background:#f5fffe;color:#2dbcd8}.ases-info:hover{border:1px solid #2dbcd8;background:#2dbcd8;color:#fff}.ases-primary{border:1px solid #30acff;background:#f5fffe;color:#30acff}.ases-primary:hover{border:1px solid #30acff;background:#30acff;color:#fff}/*# sourceMappingURL=aaspect.min.css.map */ diff --git a/style/plugin_status.css b/style/plugin_status.css index 4876661c7..419c578f2 100644 --- a/style/plugin_status.css +++ b/style/plugin_status.css @@ -1,95 +1,71 @@ -.steps-container{ - margin-top: 1.5em; - width: 100%; - position: absolute; - z-index: 1; +.ases-active a{ + background-color: inherit !important; + color: #000000 !important; } -.steps-container ul{ - list-style-type: none; +.ases-active{ + border-color: #d51b23; } -.steps-progressbar li{ - float: left; - width: calc(100% / 4); - position: relative; - text-align: center; +.steps-container{ + margin-top: 1em; } -.steps-progressbar li:before{ - content:"1"; - width: 30px; - height: 30px; - cursor: pointer; -} +.steps-container ul{} -.steps-progressbar li:before{ - content:"1"; - width: 30px; - height: 30px; - border: 2px solid #bebebe; - display: block; - margin: 0 auto 10px auto; - border-radius: 50%; - line-height: 27px; - background: white; - color: #bebebe; - text-align: center; - font-weight: bold; +.steps-progressbar li{ + border-left-width: 0px; + border-top-width: 0px; + border-right-width: 0px; + border-radius: 0px; + border-bottom-width: 3px; } -.steps-progressbar{ - counter-reset: step; +.steps-progressbar li a{ + text-decoration: none; + background-color: white; + color: #000000; } -.steps-progressbar li:before{ - content:counter(step); - counter-increment: step; - width: 30px; - height: 30px; - border: 2px solid #bebebe; - display: block; - margin: 0 auto 10px auto; - border-radius: 50%; - line-height: 27px; - background: white; - color: #bebebe; - text-align: center; - font-weight: bold; +.steps-progressbar li a:hover{ + background-color: inherit !important; } -.steps-progressbar li:after{ - content: ''; - position: absolute; - width:100%; - height: 3px; - background: #979797; - top: 15px; - left: -50%; - z-index: -1; +.collapse-btn{ + width: 100%; + background-color: #e1e1e1; + border-radius: 5px; + cursor: pointer; + padding: 0.5em; + margin-bottom: 0.5em; } -.steps-progressbar li:first-child:after{ - content: none; +.collapse-btn:hover{ + background-color: #C1C1C1; } - -.steps-progressbar li.active::after{ - background: #3aac5d; +.collapse-container{ + padding:1.5em; + border: 1px solid #e1e1e1; + margin-top: 0.5em; + margin-bottom: 0.5em; + border-radius: 5px; } -.steps-progressbar li.active::before{ - border-color: #3aac5d; - background: #3aac5d; - color: white +.period-container:nth-child(3){ + border-top: 1px solid gray; + padding-top: 0.5em; } -.steps-col{ - - min-height: 90px !important; - +.period-container{ + border-bottom: 1px solid #e1e1e1; + margin-bottom: 0.5em; + padding-bottom: 0.5em; } +.period-container:nth-last-child(1){ + border-bottom: 1px solid gray; +} .user_enrolled .ucontainer{ padding: 0.7em; @@ -101,6 +77,7 @@ .user_enrolled .ucontainer .remove_check{ float: right; + display: none; } .user_enrolled .ucontainer .ehr{ @@ -112,22 +89,25 @@ font-size: 0.9em; } - - .user_enrolled .ucontainer .groups_container .enrolled_group{ font-size: 0.8em; padding: 4px; - background: #cececece; + background: #cecece; border-radius: 3px; margin-right: 3px; margin-top: 3px; } +.groups_container{ + float: right; + margin-right: 0.5em; +} + .mfilter{ cursor:pointer; padding: 4px; - background: #cececece; - border: 1px solid #cececece; + background: #cecece; + border: 1px solid #cecece; border-radius: 0px; margin-right: 0.5em; margin-top: 3px; @@ -137,7 +117,7 @@ .filter-selected{ border: 1px solid black; background: #7F7F7F; - border: 1px solid #cececece; + border: 1px solid #cecece; } .user-selected{ @@ -152,4 +132,4 @@ #plugin_members_filter > div > h3, #plugin_members_actions > div > h3{ margin: 0px; -} \ No newline at end of file +} diff --git a/style/side_menu_style.css b/style/side_menu_style.css index 4bee739db..dce3ac6a5 100755 --- a/style/side_menu_style.css +++ b/style/side_menu_style.css @@ -3,7 +3,7 @@ padding: 0; background-color: #d51b23; left: -115px; - margin-top: -10px; + margin-top: -10px; } .top_menu a { diff --git a/templates/massive_upload.mustache b/templates/massive_upload.mustache index 388388355..aab14371d 100644 --- a/templates/massive_upload.mustache +++ b/templates/massive_upload.mustache @@ -42,7 +42,7 @@
    - +
    diff --git a/templates/plugin_status.mustache b/templates/plugin_status.mustache index 59b1bd051..093d71e01 100644 --- a/templates/plugin_status.mustache +++ b/templates/plugin_status.mustache @@ -1,73 +1,149 @@ {{#data}} +
    {{> block_ases/_view.component}}
    +
    -
    -

    -
    -
    -
    -

    Filtrar por:

    -
    - +
    +
    Crear periodo
    +
    +
    +
    +
    +
    + + +
    +
    + + +
    +
    + + +
    + +
    +
    +
    +
    +
    Nombre
    +
    Inicio
    +
    Finalización
    +
    + +
    +
    -
    - -
    -
    - - +
    + +
    +
    + + +
    +
    -