First Commit - Source Code from Reply
This commit is contained in:
161
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/SistemiConfigurazione.jsp
Normal file
161
dbcmnpsrc/FE/mnpdev/crontab/web/jsp/SistemiConfigurazione.jsp
Normal file
@@ -0,0 +1,161 @@
|
||||
<%@page import = "mnp.crontab.utility.Resources"%>
|
||||
<%@page import = "mnp.crontab.command.ApplicationManagerCostants"%>
|
||||
<%@page import = "mnp.crontab.command.AmministrazioneCostants"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.ItemBean"%>
|
||||
<%@page import = "mnp.crontab.config.ui.ProfileConfig"%>
|
||||
<%@page import = "mnp.crontab.database.dao.ProfiloDAO"%>
|
||||
<%@page import = "mnp.crontab.objects.ui.LoginBean"%>
|
||||
|
||||
<jsp:useBean id="resultBean" scope="request" class="java.util.ArrayList" />
|
||||
<HTML>
|
||||
<head>
|
||||
<TITLE>
|
||||
Mnp
|
||||
</TITLE>
|
||||
<%@page import = "mnp.crontab.objects.*, mnp.crontab.utility.ui.Res"%>
|
||||
<jsp:include page="/jsp/VerificheScriptCrontab.txt" flush = "true"/>
|
||||
|
||||
<%
|
||||
String pathCfg = (String)request.getAttribute(ApplicationManagerCostants.OBJECT_NOME_FILE);
|
||||
LoginBean aLoginBean = (LoginBean) session.getAttribute(AmministrazioneCostants.OBJECT_LOGINBEAN_SESSION);
|
||||
ProfiloDAO pr = new ProfiloDAO();
|
||||
ProfileConfig _prConf = pr.listFunctionApplication(aLoginBean.getCodiceProfilo(), ProfileConfig.DOMINIO_APPLICATION_MANAGER,ProfileConfig.SISTEMI_CONFIGURAZIONE);
|
||||
|
||||
%>
|
||||
|
||||
<form method="post" action="SistemiCommand.do" name="formCentrale">
|
||||
<INPUT type="hidden" name="JSP_FUNCTION" value="">
|
||||
<INPUT type="hidden" name="<%= ApplicationManagerCostants.CAMPO_ELEMENT_CHECKED %>" value="">
|
||||
<BODY >
|
||||
<!-- 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/BannerApplicationManager.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">CONFIGURAZIONE SISTEMI INTERNI </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" colspan="5" bgcolor="#D61414">
|
||||
<b><i>
|
||||
<P class="Titolo"><font color="#FFFFFF">File: <%=pathCfg%> </font></P></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<p align='center'>
|
||||
|
||||
<table width = '90%' border='1' bordercolorlight="#000080" bordercolordark="#000080">
|
||||
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#000080" colspan="5">
|
||||
<b><i>
|
||||
<font color="#FFFFFF">SISTEMI INTERNI</font></i></b>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "left" valign = "top" width="85%" bgcolor="#FFFFCC" colspan="5">
|
||||
<p align="center"><font color="#D61414"><b><i>
|
||||
Lista Sistemi Interni</i></b></font></p>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr >
|
||||
<td align = "center" valign = "top" width="15%" bgcolor="#CCCCCC">
|
||||
<b><i>Sistema</i></b>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="14%" bgcolor="#CCCCCC" colspan="4">
|
||||
<b><i>Abilitazione</i></b>
|
||||
</td>
|
||||
</tr>
|
||||
<% String colore= new String();
|
||||
|
||||
for(int i=0; i<resultBean.size();i++)
|
||||
|
||||
{
|
||||
ItemBean objF = (ItemBean) resultBean.get(i);
|
||||
|
||||
if (i%2 == 0) colore="white";
|
||||
else
|
||||
colore="#99CCFF";
|
||||
|
||||
%>
|
||||
|
||||
<tr bgcolor=<%= colore%> >
|
||||
<td align = "center" valign = "top" width="15%">
|
||||
<b><i><%= objF.getLabels()%></i></B>
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="4%">
|
||||
<B> Si</B>
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="4%">
|
||||
|
||||
<p><input type="radio" value="Si" name="<%= objF.getValues()%>" <% if (objF.isValuesBoolean()) { %>checked <%}%> ></p>
|
||||
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="3%">
|
||||
<B> No</B>
|
||||
|
||||
</td>
|
||||
<td align = "center" valign = "top" width="3%">
|
||||
|
||||
<p><input type="radio" value="No" name="<%= objF.getValues()%>" <% if (!objF.isValuesBoolean()) { %>checked <%}%>></p>
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<% }%>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
</center>
|
||||
</div>
|
||||
<br>
|
||||
<br>
|
||||
<% if (_prConf.visualizzaFunction(String.valueOf(ApplicationManagerCostants.CMD_APPLY_SISTEMI_INTERNI)))
|
||||
{ %>
|
||||
<center>
|
||||
<TABLE nowrap width="20%">
|
||||
<TBODY>
|
||||
<TR >
|
||||
<TD height="17" nowrap align="center" width="20%" class="hmenu">
|
||||
<p align="center"><A title="Conferma gli stati dei Sistemi Interni" class="hmenu" href="javascript:buttonActionPassaggio(document.formCentrale,<%= ApplicationManagerCostants.CMD_APPLY_SISTEMI_INTERNI %>)"> Apply</A></p>
|
||||
</TD>
|
||||
</TR>
|
||||
</TBODY>
|
||||
</TABLE>
|
||||
</center>
|
||||
<% } %>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- tabella x menu -->
|
||||
|
||||
</BODY>
|
||||
</form>
|
||||
</HTML>
|
||||
Reference in New Issue
Block a user