| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <%@ include file="../common/header.jsp"%>
-
- <script type="text/javascript" language="javascript">
- <!--
- function doDownloadOk(){
- document.forms.download.action.value="download_ok";
- document.forms.download.submit();
- doDisable(document.forms.download, "button");
- }
-
- function doDownloadFile(name){
- document.forms.download.name.value=name;
- document.forms.download.action.value="download_file";
- document.forms.download.submit();
- }
-
- -->
- </script>
- <form name="download" action="download.do" method="POST" >
- <input type="hidden" name="action"/>
- <input type="hidden" name="sequence"/>
- <input type="hidden" name="name" value="">
- <input type="hidden" name="redirect" value="create"/>
- <input type="hidden" name="notes" value="<bean:write name="notes"/>">
- <input type="hidden" name="deletionNote" value="<bean:write name="deletionNote"/>">
-
- <table width="100%" border="0" align="center" cellpadding="2" cellspacing="4">
- <td class="titleHeader" align="left"><bean:message key="project.download.key"/> DATA TRANSAKSI</td>
- </table>
-
- <table border="0" width="98%" align="center" cellpadding="2" cellspacing="1">
- <tr><td><html:errors/></td></tr>
- </table>
-
- <table border="0" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr>
- <td width="15%"><b><bean:message key="download.startDate.key"/><font color="#FF0000">*</font></b></td>
- <td width="10">:</td>
- <td width="30%">
- <input type="text" name="startDate" value="<logic:notEmpty name="startDate"><bean:write name="startDate" format="dd/MM/yyyy" /></logic:notEmpty>" size="15" maxlength="10">
- <a href="javascript:cal_startDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
- <script type="text/javascript" language="javascript">
- var cal_startDate = new calendar1(document.forms['download'].elements['startDate']);
- </script>
- </td>
- </tr>
- <tr>
- <td width="15%"><b><bean:message key="download.endDate.key"/><font color="#FF0000">*</font></b></td>
- <td width="10">:</td>
- <td width="30%">
- <input type="text" name="endDate" value="<logic:notEmpty name="endDate"><bean:write name="endDate" format="dd/MM/yyyy" /></logic:notEmpty>" size="15" maxlength="10">
- <a href="javascript:cal_endDate.popup();"><img src="./images/cal.gif" width="16" height="16" border="0" alt=""></a>
- <script type="text/javascript" language="javascript">
- var cal_endDate = new calendar1(document.forms['download'].elements['endDate']);
- </script>
- </td>
- </tr>
-
- <tr>
- <td width="15%" valign="top"><b><bean:message key="download.periode.key" /></b></td>
- <td valign="top">:</td>
- <td valign="top">
- <!--div align="left">
- <select name="periode">
- <option value="">-- Pilih Salah Satu --</option>
- <option value="unhisd">Periode Sekarang</option>
- <option value="unhist">Periode Yang Lalu</option>
- </select>
- </div-->
- <select name="periode" style="width:300">
- <option value="">-- Select Filter --</option>
- <logic:notEmpty name="periodeList">
- <logic:iterate id="element_periode" name="periodeList" >
- <option value="<bean:write name="element_periode" property="code"/>"
- <logic:equal name="periode" value="${element_periode.code}">
- selected
- </logic:equal>
- ><bean:write name="element_periode" property="name" /></option>
- </logic:iterate>
- </logic:notEmpty>
- </select>
- </td>
- <td colspan="4"> </td>
- </tr>
- <tr>
- <td width="15%"></td>
- <td width="10"></td>
- <td width="30%"><input type="button" value=<bean:message key="button.download"/> onclick="doDownloadOk();" ></td>
- <td colspan="4"> </td>
- </tr>
- </table>
- <table>
- <tr>
- <td>
- <font color="#FF0000">*</font><b><logic:notEmpty name="notes"><bean:write name="notes" /></logic:notEmpty></b>
- </td>
- </tr>
- </table>
- <table border="0" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr>
- <td align="left" class="titleField"><bean:message key="download.filename.key"/></td>
- <td align="left" class="titleField"><bean:message key="download.filesize.key"/></td>
- <td align="left" class="titleField"><bean:message key="download.date.key"/></td>
- </tr>
- <tr>
- <logic:notEmpty name="fileList">
- <logic:iterate id="element" name="fileList">
- <tr>
- <logic:equal name="element" property="status" value="1">
- <td align="left" class="celBorder"><logic:notEmpty name="element"><a href="#" onclick="doDownloadFile('<bean:write name="element" property="name"/>');"><bean:write name="element" property="name" /></a></logic:notEmpty> </td>
- </logic:equal>
- <logic:equal name="element" property="status" value="0">
- <td align="left" class="celBorder"><logic:notEmpty name="element"><bean:write name="element" property="name" /></logic:notEmpty> </td>
- </logic:equal>
- <td align="right" class="celBorder"><logic:notEmpty name="element"><bean:write name="element" property="datafileLength"/></logic:notEmpty> </td>
- <logic:equal name="element" property="status" value="1">
- <td align="right" class="celBorder"><logic:notEmpty name="element"><bean:write name="element" property="timestamp" format="dd/MM/yyyy HH:mm:ss SSS"/></logic:notEmpty> </td>
- </logic:equal>
- <logic:equal name="element" property="status" value="0">
- <td align="right" class="celBorder">In Progress</td>
- </logic:equal>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </tr>
- </table>
- <table border="0" width="98%" align="center" class="td" cellpadding="2" cellspacing="1">
- <tr>
- <td align="left" class="celBorder">
- <b><logic:notEmpty name="deletionNote"><bean:write name="deletionNote" /></logic:notEmpty></b>
- </td>
- </tr>
- </table>
- </FORM>
- <%@ include file="../common/footer.jsp" %>
|