| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208 |
- <%@ include file="../common/header.jsp" %>
- <script type="text/javascript" language="javascript">
- <!--
- function page(start, count){
- document.forms.pycLog.start.value=start;
- document.forms.pycLog.count.value=count;
- document.forms.pycLog.action.value="list";
- document.forms.pycLog.submit();
- doDisable(document.forms.pycLog, "button");
- }
- function doChangePage(count){
- document.forms.pycLog.start.value= (document.forms.pycLog.startx.value-1)*10;
- if(document.forms.pycLog.start.value=="NaN") document.forms.pycLog.start.value = 0;
- document.forms.pycLog.count.value=count;
- document.forms.pycLog.action.value="list";
- document.forms.pycLog.submit();
- doDisable(document.forms.pycLog, "button");
- }
- function fillIndex(val){
- document.forms.pycLog.startx.value = val.value;
- }
- function doFilter(){
- document.forms.pycLog.action.value="list";
- document.forms.pycLog.submit();
- doDisable(document.forms.pycLog, "button");
- }
- function doReset(){
- document.forms.pycLog.logDate_filter.value="";
-
- document.forms.pycLog.clear.value="true";
- document.forms.pycLog.action.value="list";
- document.forms.pycLog.submit();
- doDisable(document.forms.pycLog, "button");
- }
- function doOrder(field, type){
- document.forms.pycLog.pycLog_fieldOrder.value=field;
- document.forms.pycLog.pycLog_orderType.value=type;
- document.forms.pycLog.action.value="list";
- document.forms.pycLog.submit();
- doDisable(document.forms.pycLog, "button");
- }
- -->
- </script>
- <FORM name="pycLog" method="post" action="pycLog.do">
- <input type="hidden" name="start" value="">
- <input type="hidden" name="startx" value="">
- <input type="hidden" name="action" value="">
- <input type="hidden" name="code" value="">
- <input type="hidden" name="count" value="">
- <input type="hidden" name="clear" value="">
- <input type="hidden" name="pycLog_fieldOrder" value="<bean:write name="pycLog_fieldOrder"/>">
- <input type="hidden" name="pycLog_orderType" value="<bean:write name="pycLog_orderType"/>">
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader"><bean:message key="project.pycLog.key"/> - LIST</td>
- </tr>
- <tr>
- <td><%@ include file="../common/paging.jsp"%>
- </td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="1" cellpadding="1">
- <tr>
- <td width="5%" class="titleField"><div align="center">#</div></td>
- <td width="10%" align="left" height="10" valign="top" class="titleField">
- <bean:message key="pycLog.uncode.key"/>
- <logic:equal name="pycLog_fieldOrder" value="uncode">
- <logic:equal name="pycLog_orderType" value="ASC">
- <a href="#" onclick="doOrder('uncode', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="pycLog_orderType" value="DESC">
- <a href="#" onclick="doOrder('uncode', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="pycLog_fieldOrder" value="uncode">
- <a href="#" onclick="doOrder('uncode', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td width="20%" align="left" height="10" valign="top" class="titleField">
- <bean:message key="pycLog.logdet.key"/>
- <logic:equal name="pycLog_fieldOrder" value="logdet">
- <logic:equal name="pycLog_orderType" value="ASC">
- <a href="#" onclick="doOrder('logdet', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="pycLog_orderType" value="DESC">
- <a href="#" onclick="doOrder('logdet', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="pycLog_fieldOrder" value="logdet">
- <a href="#" onclick="doOrder('logdet', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td width="20%" align="left" height="10" valign="top" class="titleField">
- <bean:message key="pycLog.logdes.key"/>
- <logic:equal name="pycLog_fieldOrder" value="logdes">
- <logic:equal name="pycLog_orderType" value="ASC">
- <a href="#" onclick="doOrder('logdes', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="pycLog_orderType" value="DESC">
- <a href="#" onclick="doOrder('logdes', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="pycLog_fieldOrder" value="logdes">
- <a href="#" onclick="doOrder('logdes', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- <td width="10%" align="left" height="10" valign="top" class="titleField">
- <bean:message key="pycLog.date.key"/>
- <logic:equal name="pycLog_fieldOrder" value="logdt8">
- <logic:equal name="pycLog_orderType" value="ASC">
- <a href="#" onclick="doOrder('logdt8', 'DESC');"><img src="./images/arrow_down.gif" border="0" alt=""></a>
- </logic:equal>
- <logic:equal name="pycLog_orderType" value="DESC">
- <a href="#" onclick="doOrder('logdt8', 'ASC');"><img src="./images/arrow_up.gif" border="0" alt=""></a>
- </logic:equal>
- </logic:equal>
- <logic:notEqual name="pycLog_fieldOrder" value="logdt8">
- <a href="#" onclick="doOrder('logdt8', 'ASC');"><img src="./images/arrow.gif" border="0" alt=""></a>
- </logic:notEqual>
- </td>
- </tr>
- <logic:notEmpty name="pycLogList">
- <logic:iterate id="element" name="pycLogList" scope="request" indexId="index">
- <%
- int sequence = 0;
- sequence++;
- String bgcolor = "FFFFFF";
- if(sequence%2 == 0){
- bgcolor = "EDEDE8";
- }
- %>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td align="center" class="celBorder"><%=++seq%> </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="uncode"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="logdet"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="logdes"/>
- </td>
- <td align="left" class="celBorder">
- <bean:write name="element" property="logdt8"/>
- </td>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- <tr>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top"> </td>
- <td valign="top"></td>
- </tr>
- </TABLE>
-
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="search"><bean:message key="project.search.key" /></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="1" cellpadding="2">
- <tr>
- <td width="15%"><b><bean:message key="pycLog.date.key"/></b></td>
- <td width="10">:</td>
- <td width="30%">
- <input type="text" name="logDate_filter" value="<logic:notEmpty name="logDate_filter"><bean:write name="logDate_filter" format="dd/MM/yyyy" /></logic:notEmpty>" size="15" maxlength="10">
- <a href="javascript:cal_logDate_filter.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
- <script language="javascript" type="text/javascript">
- var cal_logDate_filter = new calendar1(document.forms['pycLog'].elements['logDate_filter']);
- </script>
- </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- <tr>
- <td> </td>
- <td> </td>
- <td colspan="3" align="left">
- <input type="button" size="50" maxlength="25" value="<bean:message key="button.reset"/>" onclick="doReset();"/>
-
- <input type="button" value="<bean:message key="button.search"/>" onclick="doFilter();"/>
- </td>
- <td> </td>
- <td> </td>
- <td> </td>
- </tr>
- </table>
- </form>
- <%@ include file="../common/footer.jsp" %>
|