git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C84
This commit is contained in:
parent
3da96c2007
commit
3ed39e7a81
3 changed files with 43 additions and 32 deletions
|
|
@ -28,14 +28,22 @@ var isMobile = {
|
|||
|
||||
//#region MOMENT CONFIGURATION (DATE AND TIME CONFIGURATION)
|
||||
|
||||
moment.lang('es-CR', {
|
||||
months: [
|
||||
"Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio",
|
||||
"Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
|
||||
]
|
||||
//moment.locale('es', {
|
||||
// months: [
|
||||
// "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio",
|
||||
// "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre"
|
||||
// ]
|
||||
//});
|
||||
|
||||
moment.locale('es', {
|
||||
months: 'Enero_Febrero_Marzo_Abril_Mayo_Junio_Julio_Agosto_Septiembre_Octubre_Noviembre_Diciembre'.split('_'),
|
||||
monthsShort: 'Enero._Feb._Mar_Abr._May_Jun_Jul._Ago_Sept._Oct._Nov._Dec.'.split('_'),
|
||||
weekdays: 'Domingo_Lunes_Martes_Miercoles_Jueves_Viernes_Sabado'.split('_'),
|
||||
weekdaysShort: 'Dom._Lun._Mar._Mier._Jue._Vier._Sab.'.split('_'),
|
||||
weekdaysMin: 'Do_Lu_Ma_Mi_Ju_Vi_Sa'.split('_')
|
||||
});
|
||||
|
||||
moment.lang('es-CR');
|
||||
moment.locale('es');
|
||||
|
||||
//#endregion
|
||||
|
||||
|
|
@ -689,29 +697,29 @@ this.LoadMessage = function (Message) {
|
|||
//#region ULTIMUS DATEPIKER CONFIGURATION
|
||||
|
||||
jQuery(function ($) {
|
||||
//$.datepicker.regional['es'] = {
|
||||
// closeText: 'Cerrar',
|
||||
// prevText: '<Ant',
|
||||
// nextText: 'Sig>',
|
||||
// currentText: 'Hoy',
|
||||
// monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
|
||||
// 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
|
||||
// monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun',
|
||||
// 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
|
||||
// dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'],
|
||||
// dayNamesShort: ['Dom', 'Lun', 'Mar', 'Mié', 'Juv', 'Vie', 'Sáb'],
|
||||
// dayNamesMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sá'],
|
||||
// weekHeader: 'Sm',
|
||||
// dateFormat: 'dd-MM-yy',
|
||||
// firstDay: 1,
|
||||
// isRTL: false,
|
||||
// showMonthAfterYear: false,
|
||||
// yearSuffix: '',
|
||||
// yearRange: '1945:' + (new Date).getFullYear(),
|
||||
// changeMonth: true,
|
||||
// changeYear: true
|
||||
//};
|
||||
//$.datepicker.setDefaults($.datepicker.regional['es']);
|
||||
$.datepicker.regional['es'] = {
|
||||
closeText: 'Cerrar',
|
||||
prevText: '<Ant',
|
||||
nextText: 'Sig>',
|
||||
currentText: 'Hoy',
|
||||
monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio',
|
||||
'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
|
||||
monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun',
|
||||
'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
|
||||
dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'],
|
||||
dayNamesShort: ['Dom', 'Lun', 'Mar', 'Mié', 'Juv', 'Vie', 'Sáb'],
|
||||
dayNamesMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sá'],
|
||||
weekHeader: 'Sm',
|
||||
dateFormat: 'dd-MM-yy',
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: '',
|
||||
yearRange: '1945:' + (new Date).getFullYear(),
|
||||
changeMonth: true,
|
||||
changeYear: true
|
||||
};
|
||||
$.datepicker.setDefaults($.datepicker.regional['es']);
|
||||
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,6 @@ this.getDataModel = function () {
|
|||
|
||||
$('#tableParticipantes').TableInit(0, false, true, true, false, null, null);
|
||||
$('#tableParticipantes').DataTable().column(1).visible(false);
|
||||
|
||||
$('#tableForo').TableInit(0, false, true, true, false, null, null);
|
||||
|
||||
$("#tabs").tabs();
|
||||
|
|
@ -29,7 +28,9 @@ this.getDataModel = function () {
|
|||
$("#btnAgregarUsuario").click(function () {
|
||||
AgregarUsuario();
|
||||
});
|
||||
|
||||
|
||||
|
||||
Datepicker("#txtFechaInicio");
|
||||
CargarUsuarios();
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -14,6 +14,8 @@
|
|||
<li><a href="#tabs-2">Usuarios</a></li>
|
||||
<li><a href="#tabs-3">Foro</a></li>
|
||||
<li><a href="#tabs-4">Matriz Cambios</a></li>
|
||||
<li><a href="#tabs-5">Documentos Auxiliares</a></li>
|
||||
<li><a href="#tabs-6">Expediente</a></li>
|
||||
</ul>
|
||||
<div id="tabs-1">
|
||||
@* Informacion General *@
|
||||
|
|
@ -54,7 +56,7 @@
|
|||
|
||||
<div class=" input-group col-md-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaInicio"></i></span>
|
||||
<input name="txtFechaInicio" disabled class="form-control imput-xs" id="txtFechaInicio" type="text" readonly dateformat="DD-MMMM-YYYY" style="cursor:not-allowed">
|
||||
<input name="txtFechaInicio" class="form-control imput-xs" id="txtFechaInicio" type="text" readonly dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue