First Commit - Source Code from Reply
This commit is contained in:
111
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Presentazione.jsp
Normal file
111
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/GUI/Presentazione.jsp
Normal file
@@ -0,0 +1,111 @@
|
||||
<%@page import = "mnp.crontab.objects.ui.TaskBean"%>
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
<jsp:useBean id="resultBean" scope="request" class="mnp.crontab.objects.ListaTasks" />
|
||||
|
||||
<jsp:useBean id="statoSchedulatore" scope="request" class="java.lang.String" />
|
||||
|
||||
<form method="post" action="" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<BODY onLoad="aggiornaPresentazione()">
|
||||
<!-- tabella che include il menu verticale -->
|
||||
<table width = "100%" class = "tableBannerRosso" border = 0>
|
||||
<tr>
|
||||
<td align = "left" width = "100%"><IMG border = 0 SRC ="<%=Res.ApplContext%>/images/banner.gif"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width = "100%" border = "0">
|
||||
<tr>
|
||||
<td width = "10%">
|
||||
<jsp:include page="/jsp/GUI/Banner.jsp" flush = "true"/>
|
||||
</td>
|
||||
<td width = "90%" valign="top">
|
||||
<DIV align="center">
|
||||
<center>
|
||||
<table border="0" width="100%">
|
||||
<tr align = "center" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<td><b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">
|
||||
<%= (String)Resources.getDay()%></font></P></i></b>
|
||||
</td>
|
||||
<td align = "right" valign = "top" width="45%" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">STATO ATTUALE DI TASK E PROCESSI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "right" valign = "top" width="85%" colspan="5">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '60%' border='0'>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="6" bgcolor="#000080">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">LISTA TASK ATTIVI</font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Nome</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Ora Partenza</font></td>
|
||||
</tr>
|
||||
<% if (resultBean.getListaTaskBean().length == 0 )
|
||||
{
|
||||
if (statoSchedulatore.equals("A"))
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="2" align="center"><b><font color="#D61414">Schedulatore Abilitato ma nessum Task Attivo.</font></b></td>
|
||||
</tr>
|
||||
<% }
|
||||
else
|
||||
{
|
||||
%>
|
||||
<tr bgcolor=white >
|
||||
<td colspan="2" align="center"><b><font color="#D61414">Schedulatore Disabilitato. Premere Abilitazione per abilitare lo schedulatore</font></b></td>
|
||||
</tr>
|
||||
<%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
TaskBean[] r1 = null;
|
||||
r1 = resultBean.getListaTaskBean();
|
||||
for (int i = 0; i < r1.length; i++) {
|
||||
%>
|
||||
<tr>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=r1[i].getNome()%></font></td>
|
||||
<td class= 'tdGiallo' align='center'><font class = 'normaleTab'><%=r1[i].getOraPartenza()%></font></td>
|
||||
|
||||
</tr>
|
||||
<%}
|
||||
}%>
|
||||
<tr>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Nome</font></td>
|
||||
<td class= 'tdCeleste' align= 'center'><font class = 'normaleTab'>Ora Partenza</font></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user