git-tfs-id: [http://192.168.1.10:8080/tfs/AyA]$/SINORT;C130
This commit is contained in:
parent
5146ee4b8b
commit
6db485ca22
4 changed files with 197 additions and 104 deletions
|
|
@ -44,13 +44,6 @@ var Comentarios = {
|
|||
|
||||
//#region MOMENT CONFIGURATION (DATE AND TIME CONFIGURATION)
|
||||
|
||||
//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('_'),
|
||||
|
|
@ -786,11 +779,13 @@ $.fn.noRequired = function () {
|
|||
};
|
||||
|
||||
$.fn.readOnly = function () {
|
||||
this.attr('disabled', true);
|
||||
this.attr('readonly', true);
|
||||
this.css('cursor', 'not-allowed');
|
||||
}
|
||||
|
||||
$.fn.noReadOnly = function () {
|
||||
this.attr('disabled', false);
|
||||
this.attr('readonly', false);
|
||||
this.css('cursor', 'default');
|
||||
}
|
||||
|
|
@ -857,7 +852,9 @@ $.fn.TableInit = function (columnOrder, order, bPaginate, bFilter, bInfo, column
|
|||
"data": data,
|
||||
"columns": columnDefinition,
|
||||
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "All"]],
|
||||
|
||||
//"scrollY": '50vh',
|
||||
//"scrollCollapse": true,
|
||||
"fixedHeader": true
|
||||
});
|
||||
};
|
||||
|
||||
|
|
@ -1671,22 +1668,4 @@ CrearMenu = function (data) {
|
|||
|
||||
$("#hiddenMenuCreado").val(1);
|
||||
ENDREQUEST();
|
||||
}
|
||||
$.datepicker.regional['es'] = {
|
||||
closeText: 'Cerrar',
|
||||
prevText: '< Ant',
|
||||
nextText: 'Sig >',
|
||||
currentText: 'Hoy',
|
||||
monthNames: ['Enero', 'Febrero', 'Marzo', 'Abril', 'Mayo', 'Junio', 'Julio', 'Agosto', 'Septiembre', 'Octubre', 'Noviembre', 'Diciembre'],
|
||||
monthNamesShort: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
|
||||
dayNames: ['Domingo', 'Lunes', 'Martes', 'Miércoles', 'Jueves', 'Viernes', 'Sábado'],
|
||||
dayNamesShort: ['Dom', 'Lun', 'Mar', 'Mié', 'Juv', 'Vie', 'Sáb'],
|
||||
dayNamesMin: ['Do', 'Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sá'],
|
||||
weekHeader: 'Sm',
|
||||
dateFormat: 'dd/mm/yy',
|
||||
firstDay: 1,
|
||||
isRTL: false,
|
||||
showMonthAfterYear: false,
|
||||
yearSuffix: ''
|
||||
};
|
||||
$.datepicker.setDefaults($.datepicker.regional['es']);
|
||||
}
|
||||
|
|
@ -6,10 +6,13 @@ var IDComentario = 0;
|
|||
var EsForo = false;
|
||||
|
||||
jQuery(document).ready(function () {
|
||||
|
||||
|
||||
$(document).tooltip();
|
||||
$('#tableParticipantes').TableInit(0, false, true, true, false, null, null);
|
||||
$('#tableParticipantes').DataTable().column(1).visible(false);
|
||||
$('#tableDocAuxiliares').TableInit(0, false, false, false, false, null, null);
|
||||
$('#tableForo').TableInit(0, false, true, true, false, null, null);
|
||||
$('#tableMatriz').TableInit(0, false, true, true, false, null, null);
|
||||
|
||||
$("#tabs").tabs();
|
||||
|
||||
|
|
@ -57,7 +60,11 @@ this.getDataModel = function () {
|
|||
$("#btnAgregarComentario").click(function () {
|
||||
$("#divRespuesta").empty();
|
||||
$("#lblcomentario").text("Comentario");
|
||||
$("#txtAsunto").val('');
|
||||
$("#txtComentario").val('');
|
||||
EsRespuesta = false;
|
||||
|
||||
$('#modalDiscusion-footer').css("display", "block");
|
||||
$('#modalDiscusion').modal('show');
|
||||
});
|
||||
|
||||
|
|
@ -70,7 +77,15 @@ this.getDataModel = function () {
|
|||
$("#btnAgregarElemento").click(function () {
|
||||
$("#divRespuestaMatriz").empty();
|
||||
$("#lblComentarioMatriz").text("Comentario");
|
||||
$("#txtAsuntoMatriz").val('');
|
||||
$("#txtComentarioMatriz").val('');
|
||||
$("#txtCapituloMatriz").val('');
|
||||
$("#txtApartadoMatriz").val('');
|
||||
$("#txtTextoOriginal").val('');
|
||||
$("#txtTextoPropuesto").val('');
|
||||
EsRespuesta = false;
|
||||
|
||||
$('#modalDiscusion-footer').css("display", "block");
|
||||
$('#modalElemento').modal('show');
|
||||
});
|
||||
|
||||
|
|
@ -79,14 +94,12 @@ this.getDataModel = function () {
|
|||
GuardarComentarioMatriz();
|
||||
});
|
||||
|
||||
Datepicker("#txtFechaInicio");
|
||||
$("#txtNombreProyecto").readOnly();
|
||||
$("#txtPromotorProyecto").readOnly();
|
||||
$("#txtEmisor").readOnly();
|
||||
$("#txtAplicacion").readOnly();
|
||||
$("#txtFechaInicio").readOnly();
|
||||
$("#txtFechaFinalizacion").readOnly();
|
||||
$("#txtFechaFinalizacion").datepicker();
|
||||
$("#txtFechaMaxima").readOnly();
|
||||
$("#txtEstado").readOnly();
|
||||
|
||||
|
|
@ -208,27 +221,41 @@ this.CargarConvocados = function () {
|
|||
|
||||
this.CargarForo = function () {
|
||||
|
||||
$("#divComentarios").empty();
|
||||
var tableForo = $('#tableForo').DataTable();
|
||||
var listaComentarios = $.grep(model.ProyectoNormativo.ComentariosProyecto, function (data) {
|
||||
return data.IdTipoComentario == Comentarios.Foro.Codigo;
|
||||
});
|
||||
|
||||
$.each(listaComentarios, function (key, item) {
|
||||
|
||||
var comentario = $("#ucForo").html();
|
||||
var btnComentario = $("#ucbtComentario").html();
|
||||
btnComentario = replaceAll("[$IdComentario]", item.IdComentarioProyecto, btnComentario);
|
||||
btnComentario = replaceAll("[$IdTipoComentario]", item.IdTipoComentario, btnComentario);
|
||||
|
||||
var btnRespuesta = $("#ucbtRespuesta").html();
|
||||
btnRespuesta = replaceAll("[$IdComentario]", item.IdComentarioProyecto, btnRespuesta);
|
||||
|
||||
var btnResponder = $("#ucbtResponder").html();
|
||||
btnResponder = replaceAll("[$IdComentario]", item.IdComentarioProyecto, btnResponder);
|
||||
|
||||
var respuestas = $.grep(listaComentarios, function (data) {
|
||||
return data.Respuesta == item.IdComentarioProyecto;
|
||||
return data.Respuesta == item.IdComentarioProyecto;
|
||||
});
|
||||
|
||||
comentario = replaceAll("[$IdComentario]", item.IdComentarioProyecto, comentario);
|
||||
comentario = replaceAll("[$Usuario]", item.UsuarioSistema, comentario);
|
||||
comentario = replaceAll("[$Asunto]", item.Asunto, comentario);
|
||||
comentario = replaceAll("[$Comentario]", item.Comentario, comentario);
|
||||
comentario = replaceAll("[$Fecha]", DateFormat(item.FechaCreacion), comentario);
|
||||
comentario = replaceAll("[$Respuestas]", respuestas.length, comentario);
|
||||
tableForo.row.add([item.Asunto,
|
||||
btnComentario,
|
||||
btnRespuesta,
|
||||
item.UsuarioSistema,
|
||||
btnResponder]).draw();
|
||||
|
||||
$("#divComentarios").append(comentario);
|
||||
//comentario = replaceAll("[$IdComentario]", item.IdComentarioProyecto, comentario);
|
||||
//comentario = replaceAll("[$Usuario]", item.UsuarioSistema, comentario);
|
||||
//comentario = replaceAll("[$Asunto]", item.Asunto, comentario);
|
||||
//comentario = replaceAll("[$Comentario]", item.Comentario, comentario);
|
||||
//comentario = replaceAll("[$Fecha]", DateFormat(item.FechaCreacion), comentario);
|
||||
//comentario = replaceAll("[$Respuestas]", respuestas.length, comentario);
|
||||
|
||||
//$("#divComentarios").append(comentario);
|
||||
|
||||
});
|
||||
}
|
||||
|
|
@ -313,18 +340,14 @@ this.ResponderComentario = function (IdComentario) {
|
|||
EsRespuesta = true;
|
||||
IDComentario = IdComentario;
|
||||
|
||||
var comentario = $("#Comentario_" + IdComentario).html().trim();
|
||||
var comentario = $.grep(model.ProyectoNormativo.ComentariosProyecto, function (data) {
|
||||
return data.IdComentarioProyecto == IDComentario;
|
||||
})[0];
|
||||
|
||||
var respuesta = $("#ucRespuesta").html();
|
||||
respuesta = replaceAll("[$Contenido]", comentario.Comentario, respuesta);
|
||||
|
||||
$("#divRespuesta").empty();
|
||||
|
||||
if (comentario.lastIndexOf("\n") > 0) {
|
||||
comentario = comentario.substring(0, comentario.lastIndexOf("\n"));
|
||||
}
|
||||
|
||||
//Obtener comentario anterior
|
||||
respuesta = replaceAll("[$Contenido]", comentario, respuesta);
|
||||
|
||||
$("#divRespuesta").append(respuesta);
|
||||
|
||||
$("#btnMostrarCita").unbind("click");
|
||||
|
|
@ -333,6 +356,9 @@ this.ResponderComentario = function (IdComentario) {
|
|||
});
|
||||
|
||||
$("#lblcomentario").text("Respuesta");
|
||||
$("#txtAsunto").val('');
|
||||
$("#txtComentario").val('');
|
||||
$('#modalDiscusion-footer').css("display", "block");
|
||||
$('#modalDiscusion').modal('show');
|
||||
}
|
||||
|
||||
|
|
@ -365,31 +391,66 @@ this.VisualizarRespuestas = function (IdComentario) {
|
|||
$('#modalRespuestasComentario').modal('show');
|
||||
}
|
||||
|
||||
this.VerDetalleAporte = function (IdComentario,IdTipoComentario) {
|
||||
|
||||
var comentario = $.grep(model.ProyectoNormativo.ComentariosProyecto, function (data) {
|
||||
return data.IdComentarioProyecto == IdComentario;
|
||||
})[0];
|
||||
|
||||
if (IdTipoComentario == Comentarios.Foro.Codigo) {
|
||||
$("#divRespuesta").empty();
|
||||
$("#lblcomentario").text("Comentario");
|
||||
$("#txtAsunto").val(comentario.Asunto);
|
||||
$("#txtComentario").val(comentario.Comentario);
|
||||
|
||||
$('#modalDiscusion-footer').css("display", "none");
|
||||
$('#modalDiscusion').modal('show');
|
||||
}
|
||||
|
||||
if (IdTipoComentario == Comentarios.Matriz.Codigo) {
|
||||
$("#divRespuestaMatriz").empty();
|
||||
$("#lblComentarioMatriz").text("Comentario");
|
||||
$("#txtAsuntoMatriz").val(comentario.Asunto);
|
||||
$("#txtComentarioMatriz").val(comentario.Comentario);
|
||||
$("#txtCapituloMatriz").val(comentario.Capitulo);
|
||||
$("#txtApartadoMatriz").val(comentario.Apartadado);
|
||||
$("#txtTextoOriginal").val(comentario.TextoOriginal);
|
||||
$("#txtTextoPropuesto").val(comentario.TextoPropuesto);
|
||||
$('#modalElemento-footer').css("display", "none");
|
||||
$('#modalElemento').modal('show');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//MATRIZ
|
||||
this.CargarMatriz = function () {
|
||||
|
||||
$("#divMatrizCambios").empty();
|
||||
var tableMatriz = $('#tableMatriz').DataTable();
|
||||
var listaComentarios = $.grep(model.ProyectoNormativo.ComentariosProyecto, function (data) {
|
||||
return data.IdTipoComentario == Comentarios.Matriz.Codigo;
|
||||
});
|
||||
|
||||
$.each(listaComentarios, function (key, item) {
|
||||
|
||||
var comentario = $("#ucMatriz").html();
|
||||
var btnComentario = $("#ucbtComentario").html();
|
||||
btnComentario = replaceAll("[$IdComentario]", item.IdComentarioProyecto, btnComentario);
|
||||
btnComentario = replaceAll("[$IdTipoComentario]", item.IdTipoComentario, btnComentario);
|
||||
|
||||
var btnRespuesta = $("#ucbtRespuesta").html();
|
||||
btnRespuesta = replaceAll("[$IdComentario]", item.IdComentarioProyecto, btnRespuesta);
|
||||
|
||||
var btnResponder = $("#ucbtResponderMatriz").html();
|
||||
btnResponder = replaceAll("[$IdComentario]", item.IdComentarioProyecto, btnResponder);
|
||||
|
||||
var respuestas = $.grep(listaComentarios, function (data) {
|
||||
return data.Respuesta == item.IdComentarioProyecto;
|
||||
});
|
||||
|
||||
comentario = replaceAll("[$IdComentario]", item.IdComentarioProyecto, comentario);
|
||||
comentario = replaceAll("[$Usuario]", item.UsuarioSistema, comentario);
|
||||
comentario = replaceAll("[$Asunto]", item.Asunto, comentario);
|
||||
comentario = replaceAll("[$Comentario]", item.Comentario, comentario);
|
||||
comentario = replaceAll("[$Fecha]", DateFormat(item.FechaCreacion), comentario);
|
||||
comentario = replaceAll("[$Respuestas]", respuestas.length, comentario);
|
||||
|
||||
$("#divMatrizCambios").append(comentario);
|
||||
|
||||
tableMatriz.row.add([item.Asunto,
|
||||
btnComentario,
|
||||
btnRespuesta,
|
||||
item.UsuarioSistema,
|
||||
btnResponder]).draw();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
@ -433,7 +494,6 @@ this.ComentarioMatrizGuardado = function (data) {
|
|||
$("#txtApartadoMatriz").val('');
|
||||
$("#txtTextoOriginal").val('');
|
||||
$("#txtTextoPropuesto").val('');
|
||||
$("#txtComentarioMatriz").val('');
|
||||
|
||||
$('#modalElemento').modal('hide');
|
||||
|
||||
|
|
@ -446,18 +506,15 @@ this.ResponderComentarioMatriz = function (IdComentario) {
|
|||
EsRespuesta = true;
|
||||
IDComentario = IdComentario;
|
||||
|
||||
var comentario = $("#Comentario_" + IdComentario).html().trim();
|
||||
var comentario = $.grep(model.ProyectoNormativo.ComentariosProyecto, function (data) {
|
||||
return data.IdComentarioProyecto == IDComentario;
|
||||
})[0];
|
||||
|
||||
var respuesta = $("#ucRespuesta").html();
|
||||
respuesta = replaceAll("[$Contenido]", comentario.Comentario, respuesta);
|
||||
|
||||
|
||||
$("#divRespuestaMatriz").empty();
|
||||
|
||||
if (comentario.lastIndexOf("\n") > 0) {
|
||||
comentario = comentario.substring(0, comentario.lastIndexOf("\n"));
|
||||
}
|
||||
|
||||
//Obtener comentario anterior
|
||||
respuesta = replaceAll("[$Contenido]", comentario, respuesta);
|
||||
|
||||
$("#divRespuestaMatriz").append(respuesta);
|
||||
|
||||
$("#btnMostrarCita").unbind("click");
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@
|
|||
|
||||
<div class=" input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaInicio"></i></span>
|
||||
<input name="txtFechaInicio" disabled="disabled" class="form-control imput-xs" id="txtFechaInicio" type="text" readonly dateformat="DD-MMMM-YYYY">
|
||||
<input name="txtFechaInicio" class="form-control imput-xs" id="txtFechaInicio" type="text" dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -72,7 +72,7 @@
|
|||
|
||||
<div class=" input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaFinalizacion"></i></span>
|
||||
<input name="txtFechaFinalizacion" class="form-control imput-xs" id="txtFechaFinalizacion" type="text" readonly dateformat="DD-MMMM-YYYY" style="cursor:not-allowed">
|
||||
<input name="txtFechaFinalizacion" class="form-control imput-xs" id="txtFechaFinalizacion" type="text" dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
|
||||
<div class=" input-group input-group-sm col-lg-6 col-md-6 col-sm-6 col-xs-6">
|
||||
<span class="input-group-addon"><i class="fa fa-calendar" id="iconFechaMaxima"></i></span>
|
||||
<input name="txtFechaMaxima" disabled="disabled" class="form-control imput-xs" id="txtFechaMaxima" type="text" readonly dateformat="DD-MMMM-YYYY" style="cursor:not-allowed">
|
||||
<input name="txtFechaMaxima" class="form-control imput-xs" id="txtFechaMaxima" type="text" dateformat="DD-MMMM-YYYY">
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -101,11 +101,11 @@
|
|||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" id="btnModificar" class="btn btn-success btn-medium" data-dismiss="modal">
|
||||
<button type="button" id="btnModificar" class="btn btn-success btn-medium" title="Actualizar Información">
|
||||
<i class="fa fa-floppy-o"></i> Guardar
|
||||
</button>
|
||||
<button type="button" id="btnEliminar" class="btn btn-danger btn-medium" data-dismiss="modal">
|
||||
<i class="fa fa-trash"></i> Eliminar propuesta
|
||||
<button type="button" id="btnEliminar" class="btn btn-danger btn-medium" title="Eliminar Propuesta">
|
||||
<i class="fa fa-trash"></i> Eliminar
|
||||
</button>
|
||||
|
||||
</div>
|
||||
|
|
@ -144,13 +144,13 @@
|
|||
<input name="txtUsuario" title="" class="form-control TextBoxCatalogo" id="txtUsuario" type="text" readonly>
|
||||
|
||||
<span class="input-group-btn">
|
||||
<button class="btn btn-default btn-medium" id="btn_eliminarUsuario" type="button" onclick="javascript: LimpiarUsuario()">
|
||||
<button class="btn btn-default btn-medium" id="btn_eliminarUsuario" type="button" onclick="javascript: LimpiarUsuario()" title="Limpiar">
|
||||
<i class="fa fa-close"></i>
|
||||
</button>
|
||||
<button class="btn btn-info btn-medium btn-margin-catalogo" id="btnBuscarUsuario" type="button" data-target="#modalUsuarios">
|
||||
<button class="btn btn-info btn-medium btn-margin-catalogo" id="btnBuscarUsuario" type="button" data-target="#modalUsuarios" title="Buscar Usuarios">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnAgregarUsuario" type="button">
|
||||
<button class="btn btn-success btn-medium btn-margin-catalogo" id="btnAgregarUsuario" type="button" title="Agregar Usuario">
|
||||
<i class="fa fa-plus"></i>
|
||||
</button>
|
||||
</span>
|
||||
|
|
@ -163,33 +163,33 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="tabs-3">
|
||||
@* Foro *@
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
|
||||
@* Foro *@
|
||||
<div class="col-md-8">
|
||||
<div class="col-md-12" id="divForo">
|
||||
<div class="modal-header" id="divForo">
|
||||
<button class="btn btn-info btn-xs btn-margin-catalogo" id="btnAgregarComentario" type="button">
|
||||
<i class="fa fa-comments"></i>
|
||||
Foro - Nueva Discusión
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divComentarios">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-12" id="divMatriz">
|
||||
<br />
|
||||
<button class="btn btn-info btn-xs btn-margin-catalogo" id="btnAgregarElemento" type="button">
|
||||
<i class="fa fa-comments"></i>
|
||||
Matriz Cambios - Nuevo Elemento
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divMatrizCambios">
|
||||
|
||||
<table id="tableForo" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-6">Asunto</th>
|
||||
<th>Comentario</th>
|
||||
<th>Respuestas</th>
|
||||
<th class="col-sm-4">Creado Por</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@* Documentos *@
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-success">
|
||||
<div class="panel-heading">
|
||||
|
|
@ -197,13 +197,7 @@
|
|||
<i class="fa fa fa-folder-open-o"></i> <label id="lbTituloAccion">Documentos Auxliares</label>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="input-group input-group-sm">
|
||||
<button class="btn btn-info btn-medium btn-margin-catalogo" id="btnAdjuntarDocumentoAux" type="button">
|
||||
<i class="glyphicon glyphicon-paperclip"></i>
|
||||
Adjuntar
|
||||
</button>
|
||||
</div>
|
||||
<div class="panel-body" style="height: 250px;">
|
||||
|
||||
<table id="tableDocAuxiliares" class="display">
|
||||
<thead>
|
||||
|
|
@ -215,7 +209,44 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@* Matriz*@
|
||||
<div class="col-md-8">
|
||||
<div class="modal-header" id="divMatriz">
|
||||
<br />
|
||||
<button class="btn btn-info btn-xs btn-margin-catalogo" id="btnAgregarElemento" type="button">
|
||||
<i class="fa fa-comments"></i>
|
||||
Matriz Cambios - Nuevo Elemento
|
||||
</button>
|
||||
</div>
|
||||
<div class="col-md-12" style="overflow-y: scroll; height:250px;" id="divMatrizCambios">
|
||||
<table id="tableMatriz" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
<th class="col-sm-6">Asunto</th>
|
||||
<th>Detalle</th>
|
||||
<th>Respuestas</th>
|
||||
<th class="col-sm-4">Creado Por</th>
|
||||
<th></th>
|
||||
</tr>
|
||||
</thead>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@* Calendario *@
|
||||
<div class="col-md-4">
|
||||
<div class="panel panel-success">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
<i class="fa fa fa-calendar"></i> <label id="lbTituloAccion">Calendario</label>
|
||||
</h4>
|
||||
</div>
|
||||
<div class="panel-body" style="height: 250px;">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -248,7 +279,7 @@
|
|||
<div id="Comentario_[$IdComentario]" style="border-bottom: 2px solid">
|
||||
<h4> [$Asunto] </h4>
|
||||
<h5> [$Comentario]</h5>
|
||||
<h6> <i class="fa fa-user"> </i> [$Usuario] - [$Fecha] <i onclick="VisualizarRespuestas([$IdComentario])" class="fa fa-commenting"> </i> [$Respuestas] <i onclick="ResponderComentario([$IdComentario])" style="float:right" class="fa fa-share"></i> </h6>
|
||||
<h6> <i class="fa fa-user"> </i> [$Usuario] - [$Fecha] </h6>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
@ -280,6 +311,32 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div id="ucbtComentario" style=" display:none;">
|
||||
<button type="button" id="btnComentario" class="btn btn-default btn-xs" onclick="VerDetalleAporte([$IdComentario],[$IdTipoComentario])" title="Ver Comentario">
|
||||
<i class="fa fa-search"></i> Ver
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="ucbtRespuesta" style=" display:none;">
|
||||
<button type="button" id="btnRespuesta" class="btn btn-default btn-xs" title="Ver Respuestas" onclick="VisualizarRespuestas([$IdComentario])">
|
||||
<i class="fa fa-search"></i> Ver
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="ucbtResponder" style=" display:none;">
|
||||
<button type="button" id="btnResponder" class="btn btn-default btn-xs" title="Responder" onclick="ResponderComentario([$IdComentario])">
|
||||
<i class=" fa fa-share">
|
||||
</i> Responder
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div id="ucbtResponderMatriz" style=" display:none;">
|
||||
<button type="button" id="btnResponderMatriz" class="btn btn-default btn-xs" title="Responder" onclick="ResponderComentarioMatriz([$IdComentario])">
|
||||
<i class=" fa fa-share">
|
||||
</i> Responder
|
||||
</button>
|
||||
</div>
|
||||
|
||||
@section Modals{
|
||||
|
||||
@*---------------------Usuario ---------------------------------------------------------*@
|
||||
|
|
@ -345,7 +402,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<div class="modal-footer" id="modalDiscusion-footer">
|
||||
<button type="button" id="btnGuardarComentario" class="btn btn-success btn-sm" data-dismiss="modal">Aceptar</button>
|
||||
<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal">Cerrar</button>
|
||||
</div>
|
||||
|
|
@ -448,7 +505,7 @@
|
|||
</form>
|
||||
</div>
|
||||
|
||||
<div class="modal-footer">
|
||||
<div class="modal-footer" id="modalElemento-footer">
|
||||
<button type="button" id="btnGuardarComentarioMatriz" class="btn btn-success btn-sm" data-dismiss="modal">Aceptar</button>
|
||||
<button type="button" class="btn btn-danger btn-sm" data-dismiss="modal">Cerrar</button>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -33,9 +33,9 @@
|
|||
|
||||
@Scripts.Render("~/bundles/modernizr")
|
||||
@Scripts.Render("~/bundles/jquery")
|
||||
@Scripts.Render("~/bundles/bootstrap")
|
||||
@Scripts.Render("~/bundles/jqueryui")
|
||||
@Scripts.Render("~/bundles/jqueryval")
|
||||
@Scripts.Render("~/bundles/bootstrap")
|
||||
@Scripts.Render("~/bundles/moment")
|
||||
@Scripts.Render("~/bundles/toastr")
|
||||
@Scripts.Render("~/bundles/jquery-dataTables")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue