| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <%@ include file="../common/header.jsp"%>
- <script type="text/javascript" language="javascript">
- <!--
- function doStop(id,status){
- var x = window.confirm(" Are you sure to stop End Of Day ? ")
- if (x) {
- document.forms.eodConfig.id.value=id;
- document.forms.eodConfig.status.value=status;
- document.forms.eodConfig.action.value="stop";
- document.forms.eodConfig.submit();
- doDisable(document.forms.eodConfig, "button");
- }
- }
-
- function doStart(id,status){
- var x = window.confirm(" Are you sure to start End Of Day ?")
- if (x) {
- document.forms.eodConfig.id.value=id;
- document.forms.eodConfig.status.value=status;
- document.forms.eodConfig.action.value="start";
- document.forms.eodConfig.submit();
- doDisable(document.forms.eodConfig, "button");
- }
- }
- -->
- </script>
- <!-- CONTENT -->
- <form name="eodConfig" method="post" action="eodConfig.do">
- <input type="hidden" name="action" value="">
- <input type="hidden" name="id" value="">
- <input type="hidden" name="status" value =""/>
- <!--td width="80%" valign="top"-->
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <tr>
- <td class="titleHeader"><bean:message key="project.eodConfig.key"/></td>
- </tr>
- </table>
- <table width="100%" border="0" cellspacing="1" cellpadding="1">
- <logic:notEmpty name="eodConfig">
- <%
- sequence = 0;
- String bgcolor = "FFFFFF";
- if(sequence%2 == 0){
- bgcolor = "FFFFFF";
- }
- %>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td width="15%"><b><bean:message key="eodConfig.status.key"/></b></td>
- <td width="10">:</td>
- <td width="35%">
- <logic:equal name="eodConfig" property="eodStatus" value="1">
- start
- </logic:equal>
- <logic:equal name="eodConfig" property="eodStatus" value="0">
- stop
- </logic:equal>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="30%"> </td>
- </tr>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td width="15%"><b><bean:message key="eodConfig.modifiedBy.key"/></b></td>
- <td width="10">:</td>
- <td width="35%">
- <bean:write name="eodConfig" property="modifiedBy"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="30%"> </td>
- </tr>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td width="15%"><b><bean:message key="eodConfig.modifiedDate.key"/></b></td>
- <td width="10">:</td>
- <td width="35%">
- <bean:write name="eodConfig" property="modifiedDate.time" format="yyyy-MMM-dd HH:mm:ss.SSS"/>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="30%"> </td>
- </tr>
- <tr bgcolor="<% out.print(bgcolor); %>" onmouseover="mOvr(this);" onmouseout="mOut(this, '<% out.print(bgcolor); %>');">
- <td width="15%"></td>
- <td width="10"></td>
- <td width="35%">
- <logic:equal name="eodConfig" property="eodStatus" value="1">
- <input type="button" value="Stop" onclick="doStop('<bean:write name="eodConfig" property="code"/>','stop');">
- </logic:equal>
- <logic:equal name="eodConfig" property="eodStatus" value="0">
- <input type="button" value="Start" onclick="doStart('<bean:write name="eodConfig" property="code"/>','start');">
- </logic:equal>
- </td>
- <td width="5%"> </td>
- <td width="15%"> </td>
- <td width="30%"> </td>
- </tr>
- </logic:notEmpty>
-
- </tr>
- </TABLE>
- </td>
- </form>
- <!-- END CONTENT -->
- <%@ include file="../common/footer.jsp"%>
-
|