<commit_before><%--
 Copyright 2007 The Kuali Foundation.
 
 Licensed under the Educational Community License, Version 1.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
 http://www.opensource.org/licenses/ecl1.php
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
--%>
<%@ include file="/jsp/kfs/kfsTldHeader.jsp"%>

<kul:page showDocumentInfo="false"
	headerTitle="Batch File Set Upload" docTitle="" renderMultipart="true"
	transactionalDocument="false" htmlFormAction="batchUploadFileSet" errorKey="foo">
	<html:hidden property="batchUpload.batchInputTypeName" />
	
    <c:set var="batchUploadAttributes" value="${DataDictionary.BatchUpload.attributes}" />

	<strong><h2>	
	  <bean:message key="${KualiForm.titleKey}"/> <a href="${ConfigProperties.externalizable.help.url}BatchFileFormats.pdf" tabindex="${KualiForm.nextArbitrarilyHighIndex}" target="helpWindow"  title="[Help]Upload">
	                                        <img src="${ConfigProperties.kr.externalizable.images.url}my_cp_inf.gif" alt="[Help]Upload" hspace=5 border=0  align="middle"></a>
	  </h2></strong>
	</br>
	
	<table width="100%" border="0"><tr><td>	
	  <kul:errors keyMatch="*" errorTitle="Errors Found On Page:"/>
	</td></tr></table>  
	</br>
		
	<kul:tabTop tabTitle="Manage Batch Files" defaultOpen="true" tabErrorKey="">
      <div class="tab-container" align="center">
          <h3>Add Batch File Set</h3>
          <table width="100%" summary="" cellpadding="0" cellspacing="0">
            <tr>
              <th width="120">&nbsp;</th>
              <th> <div align="left">Browse File</div></th>
              <th> <div align="left">File Set Identifier</div></th>
              <th width="150"> <div align="center">Actions</div></th>
            </tr>
            
            <c:forEach items="${KualiForm.batchInputFileSetType.fileTypes}" var="fileType" varStatus="loopStatus">
              <tr>
                <th scope="row"><div align="right">add <c:out value="${KualiForm.batchInputFileSetType.fileTypeDescription[fileType]}"/>:</div></th>
                <td class="infoline"><html:file property="uploadedFiles(${fileType})"/>
                  <span class="fineprint"></span>
                </td>
                <td class="infoline">
                  <c:if test="${loopStatus.first}">
                    <div align="left">
                      <kul:htmlControlAttribute attributeEntry="${batchUploadAttributes.fileUserIdentifer}" property="batchUpload.fileUserIdentifer"/>
                    </div>
                  </c:if>
                  <span class="fineprint">&nbsp;</span>
                </td>
                <td class="infoline"><div align="center">
                  <c:if test="${loopStatus.first}">
                    <html:image src="${ConfigProperties.kr.externalizable.images.url}tinybutton-add1.gif" styleClass="globalbuttons" property="methodToCall.save" title="Upload Batch File" alt="Upload Batch File" />
                  </c:if>
                  &nbsp;
                </td>
              </tr>
            </c:forEach>
            <c:if test="${KualiForm.batchInputFileSetType.supportsDoneFileCreation}">
              <tr>
                <th scope="row">&nbsp;</th>
                <td class="infoline">
                  <html:checkbox property="supressDoneFileCreation"/>Click here to prevent the done file from being created.
                </td>
                <td class="infoline">
                  &nbsp;
                </td>
                <td class="infoline"><div align="center">
                  &nbsp;
                </td>
              </tr>
            </c:if>
         </table>
          
          <br>
          <h3>Manage Current Batch File Sets</h3>
          <table width="100%" summary="" cellpadding="0" cellspacing="0">
            <tr>
              <th>&nbsp;</th>
              <th> <div align="left">Select File Set</div></th>
              <th> <div align="center">Download</div></th>
              <th> <div align="center">Delete</div></th>
            </tr>
            <tr>
              <th scope="row"><div align="center">manage:</div></th>
              <td class="infoline"><span class="fineprint"></span> <label>
                <html:select property="batchUpload.existingFileName">
                   <html:optionsCollection property="fileUserIdentifiers" label="label" value="key"/>
                </html:select>
               </label></td>
              <td class="infoline"><div align="center">
                <html:select property="downloadFileType">
                  <html:optionsCollection property="fileTypes" label="label" value="key"/>
                </html:select>
                <html:image src="${ConfigProperties.externalizable.images.url}tinybutton-download.gif" styleClass="globalbuttons" property="methodToCall.download" title="Download Batch File" alt="Download Batch File" onclick="excludeSubmitRestriction=true;"/></div>
              </td>
              <td class="infoline"><div align="center">
                <html:image src="${ConfigProperties.kr.externalizable.images.url}tinybutton-delete1.gif" styleClass="globalbuttons" property="methodToCall.delete" title="Delete Batch File" alt="Delete Batch File" />
              </div></td>
            </tr>
          </table>
      </div>
	</kul:tabTop><commit_msg>KFSMI-653: Made changes for accessibility.<commit_after><%--
 Copyright 2007 The Kuali Foundation.
 
 Licensed under the Educational Community License, Version 1.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at
 
 http://www.opensource.org/licenses/ecl1.php
 
 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
--%>
<%@ include file="/jsp/kfs/kfsTldHeader.jsp"%>

<kul:page showDocumentInfo="false"
	headerTitle="Batch File Set Upload" docTitle="" renderMultipart="true"
	transactionalDocument="false" htmlFormAction="batchUploadFileSet" errorKey="foo">
	<html:hidden property="batchUpload.batchInputTypeName" />
	
    <c:set var="batchUploadAttributes" value="${DataDictionary.BatchUpload.attributes}" />

	<strong><h2>	
	  <bean:message key="${KualiForm.titleKey}"/> <a href="${ConfigProperties.externalizable.help.url}BatchFileFormats.pdf" tabindex="${KualiForm.nextArbitrarilyHighIndex}" target="helpWindow"  title="[Help]Upload">
	                                        <img src="${ConfigProperties.kr.externalizable.images.url}my_cp_inf.gif" title="[Help] Upload" alt="[Help] Upload" hspace=5 border=0  align="middle"></a>
	  </h2></strong>
	</br>
	
	<table width="100%" border="0"><tr><td>	
	  <kul:errors keyMatch="*" errorTitle="Errors Found On Page:"/>
	</td></tr></table>  
	</br>
		
	<kul:tabTop tabTitle="Manage Batch Files" defaultOpen="true" tabErrorKey="">
      <div class="tab-container" align="center">
          <h3>Add Batch File Set</h3>
          <table width="100%" summary="" cellpadding="0" cellspacing="0">
            <tr>
              <th width="120">&nbsp;</th>
              <th> <div align="left">Browse File</div></th>
              <th> <div align="left"><label for="batchUpload.fileUserIdentifer">File Set Identifier</label></div></th>
              <th width="150"> <div align="center">Actions</div></th>
            </tr>
            
            <c:forEach items="${KualiForm.batchInputFileSetType.fileTypes}" var="fileType" varStatus="loopStatus">
              <tr>
                <th scope="row"><div align="right">add <c:out value="${KualiForm.batchInputFileSetType.fileTypeDescription[fileType]}"/>:</div></th>
                <td class="infoline"><html:file title="Browse File" property="uploadedFiles(${fileType})"/>
                  <span class="fineprint"></span>
                </td>
                <td class="infoline">
                  <c:if test="${loopStatus.first}">
                    <div align="left">
                      <kul:htmlControlAttribute attributeEntry="${batchUploadAttributes.fileUserIdentifer}" property="batchUpload.fileUserIdentifer"/>
                    </div>
                  </c:if>
                  <span class="fineprint">&nbsp;</span>
                </td>
                <td class="infoline"><div align="center">
                  <c:if test="${loopStatus.first}">
                    <html:image src="${ConfigProperties.kr.externalizable.images.url}tinybutton-add1.gif" styleClass="globalbuttons" property="methodToCall.save" title="Upload Batch File" alt="Upload Batch File" />
                  </c:if>
                  &nbsp;
                </td>
              </tr>
            </c:forEach>
            <c:if test="${KualiForm.batchInputFileSetType.supportsDoneFileCreation}">
              <tr>
                <th scope="row">&nbsp;</th>
                <td class="infoline">
                  <html:checkbox styleId="supressDoneFileCreation" property="supressDoneFileCreation"/><label for="supressDoneFileCreation">Click here to prevent the done file from being created.</label>
                </td>
                <td class="infoline">
                  &nbsp;
                </td>
                <td class="infoline"><div align="center">
                  &nbsp;
                </td>
              </tr>
            </c:if>
         </table>
          
          <br>
          <h3>Manage Current Batch File Sets</h3>
          <table width="100%" summary="" cellpadding="0" cellspacing="0">
            <tr>
              <th>&nbsp;</th>
              <th> <div align="left"><label for="batchUpload.existingFileName">Select File Set</label></div></th>
              <th> <div align="center">Download</div></th>
              <th> <div align="center">Delete</div></th>
            </tr>
            <tr>
              <th scope="row"><div align="center">manage:</div></th>
              <td class="infoline"><span class="fineprint"></span>
                <html:select styleId="batchUpload.existingFileName" property="batchUpload.existingFileName">
                   <html:optionsCollection property="fileUserIdentifiers" label="label" value="key"/>
                </html:select>
               </td>
              <td class="infoline"><div align="center">
                <html:select title="File Type" property="downloadFileType">
                  <html:optionsCollection property="fileTypes" label="label" value="key"/>
                </html:select>
                <html:image src="${ConfigProperties.externalizable.images.url}tinybutton-download.gif" styleClass="globalbuttons" property="methodToCall.download" title="Download Batch File" alt="Download Batch File" onclick="excludeSubmitRestriction=true;"/></div>
              </td>
              <td class="infoline"><div align="center">
                <html:image src="${ConfigProperties.kr.externalizable.images.url}tinybutton-delete1.gif" styleClass="globalbuttons" property="methodToCall.delete" title="Delete Batch File" alt="Delete Batch File" />
              </div></td>
            </tr>
          </table>
      </div>
	</kul:tabTop>
{'fraction_non_alphanumeric': 0.14916889156834037, 'fraction_numerical': 0.006631642408061321, 'mean_word_length': 2.4365196803788103, 'pattern_counts': {'":': 0, '<': 283, '<?xml version=': 0, '>': 283, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7582703', 'n_tokens_mistral': 3276, 'n_tokens_neox': 3088, 'n_words': 668}