<%@ taglib uri="/tags/html" prefix="html" %>
<%@ taglib uri="/tags/neon" prefix="neon" %>
<%@ taglib uri="/tags/bean" prefix="bean" %>
<%@ taglib uri="/tags/tiles" prefix="tiles" %>
<%@ taglib uri="/tags/logic" prefix="logic" %>
<%@ taglib uri="
http://ajaxtags.org/tags/ajax" prefix="ajax"%>
<%String mostrarBotonDescargar = ApplicationEnvironment.getSistemaValue(UserEnvironment.getEmpresa(request).getCodigo(), "ctt.mostrar.descargar", "N");%>
<%String debug = ApplicationEnvironment.getSistemaValue(UserEnvironment.getEmpresa(request).getCodigo(), "debug.listarTpw", "N");%>
<tiles:insert page="/template/pagina.tpl.jsp">
<tiles:put name="titulo"><bean:message key="tpw.listado" bundle="basico"/></tiles:put>
<tiles:put name="contenido">
<link href="<%=UserEnvironment.getResourceContext(pageContext)%>/fullcalendar-2.6.1/fullcalendar.min.css" rel="stylesheet" type="text/css" type="text/css" media="screen" title="no title" charset="utf-8">
<link href="<%=UserEnvironment.getResourceContext(pageContext)%>/fullcalendar-2.6.1/lib/cupertino/cupertino/jquery-ui.min.css" rel="stylesheet" type="text/css" type="text/css" media="screen" title="no title" charset="utf-8">
<link href="<%=UserEnvironment.getResourceContext(pageContext)%>/fullcalendar-2.6.1/fullcalendar.print.css" rel="stylesheet" type="text/css" type="text/css" media="screen" title="no title" charset="utf-8">
<link href="<%=UserEnvironment.getResourceContext(pageContext)%>/jquery/cupertino/jquery-ui.min.css" rel="stylesheet" type="text/css" type="text/css" media="screen" title="no title" charset="utf-8">
<script type="text/javascript" src="<%=UserEnvironment.getResourceContext(pageContext)%>/fullcalendar-2.6.1/lib/moment.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<%=UserEnvironment.getResourceContext(pageContext)%>/fullcalendar-2.6.1/fullcalendar.min.js" charset="utf-8"></script>
<script type="text/javascript" src="<%=UserEnvironment.getResourceContext(pageContext)%>/fullcalendar-2.6.1/gcal.js" charset="utf-8"></script>
<script type="text/javascript" src="<%=UserEnvironment.getResourceContext(pageContext)%>/jquery/jquery-1.12.1.min.js" charset="utf-8"></script>
<script language="JavaScript">
$(document).ready(function() {
$.ajax({
url: 'agenda',
dataType: "json",
success: function(response) {
$('#calendar').fullCalendar({
header: {
left: 'prev,next today',
center: 'title',
right: 'month,agendaWeek,agendaDay'
},
theme: true,
editable: true,
axisFormat: 'H:mmtt',
slotMinutes: 10,
firstHour: 8,
minTime: 8,
maxTime: 22,
// use "[response]" if only one event
events: response
});
}
});
</script>
<div id="calendar"></div>
<%ApplicationUtil.debugLogServer(debug, ApplicationUtil.horaMilisegundos() + " - TPW-FNC (tareasPendientesLST.jsp): ***FIN FORMULARIO []");%>
</form>
</tiles:put>
</tiles:insert>
<%ApplicationUtil.debugLogServer(debug, ApplicationUtil.horaMilisegundos() + " - TPW-FNC (tareasPendientesLST.jsp): ***FIN COMPILACION []");%>