<commit_before><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="javascript/DocumentManager.js"></script>
<script type="text/javascript"
	src="/caNanoLab/dwr/interface/DocumentManager.js"></script>
<script type="text/javascript"
	src="/caNanoLab/dwr/interface/NanoparticleSampleManager.js"></script>
<script type='text/javascript' src='/caNanoLab/dwr/engine.js'></script>
<script type='text/javascript' src='/caNanoLab/dwr/util.js'></script>
<html:form action="searchDocument">
	<table align="center" width="100%">
		<tr>
			<td>
				<h3>
					Search Documents
				</h3>
			</td>
			<td align="right" width="30%">
				<%--<a href="advancedNanoparticleSearch.do" class="helpText">Advanced Search</a> &nbsp; &nbsp; --%>
				<jsp:include page="/webHelp/helpGlossary.jsp">
					<jsp:param name="topic" value="search_reports_help" />
					<jsp:param name="glossaryTopic" value="glossary_help" />
				</jsp:include>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<jsp:include page="/bodyMessage.jsp?bundle=document" />
				<table width="100%" border="0" align="center" cellpadding="3"
					cellspacing="0" summary="">
					<tr class="topBorder">
						<td class="formTitle" colspan="2">
							<div align="justify">
								Search Criteria
							</div>
						</td>
						<td class="formTitle" colspan="4">
							<div align="justify">
								* for searching wildcards
							</div>
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Search Location</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<strong><html:select property="searchLocations"
									styleId="searchLocations"
									onchange="javascript:setReportDropdowns()" multiple="true"
									size="4">
									<html:option value="local">
										Local
									</html:option>
									<c:if test="${! empty allGridNodes}">
										<html:options collection="allGridNodes"
											property="value.hostName" labelProperty="value.hostName" />
									</c:if>
								</html:select> </strong>
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Document Category</strong>
						</td>
						<td class="label" colspan="2">
							<strong><html:select property="publicationOrReport"
									styleId="publicationOrReport" multiple="true" size="2">
									<html:option value="publication">Publication</html:option>
									<html:option value="report">Report</html:option>
								</html:select> </strong>
						</td>
						
						<td class="label" valign="top">
							<strong>Research Category</strong>
						</td>
						<td class="rightLabel" colspan="2">												
							<strong><html:select property="researchArea"
									styleId="researchArea" multiple="true" size="3">
									<html:options name="publicationResearchAreas" />
								</html:select> </strong>
						</td>
					</tr>
					<tr>
						<td class="leftLabel">
							<strong>Document Title</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<html:text property="title" size="100" />
						</td>
					</tr>
					<tr valign="top">
						<td class="leftLabel">
							<strong>Publication Type</strong>
						</td>
						<td class="label">
							<html:select styleId="category" property="category">
								<option value="" />
									<html:options name="publicationCategories" />
							</html:select>
						</td>				
						<td class="label" valign="top">
							<strong>PubMed ID</strong>
						</td>
						<td class="label" valign="top">
							<html:text property="pubMedId" size="20" onkeydown="return filterInteger(event)"/>
							<br>(Please enter the whole PubMedID)<br><br>
						</td>
						<td class="label">
							<strong>Digital Object ID</strong>
						</td>
						<td class="rightLabel">
							<html:text property="digitalObjectId" size="20" />
						</td>
					</tr>
					<tr>
						<td class="leftLabel">
							<strong>Authors</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<html:text property="authorsStr" size="100" />
						</td>
					</tr>
					
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Keywords</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<strong><html:textarea property="keywordsStr"
									cols="30" styleId="keywordsStr" rows="3">
							</html:textarea> </strong>
						</td>
					</tr>
				</table>
				<br>
				
				<table width="100%" border="0" align="center" cellpadding="3"
					cellspacing="0" summary="">
					<tr class="topBorder">
						<td class="formTitle" colspan="2">
							<div align="justify">
								Advance Search
							</div>
						</td>
						<td class="formTitle" colspan="4">
							<div align="justify">
								Nanoparticle Sample
							</div>
						</td>
					</tr>
					<tr>
						<td class="leftLabel">
							<strong>Nanoparticle Name</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<html:text property="nanoparticleName" size="20" />
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Composition<br> Nanoparticle Entity</strong>
						</td>
						<td class="label">
							<strong><html:select property="nanoparticleEntityTypes"<commit_msg>change visual UI on document search<commit_after><%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<script type="text/javascript" src="javascript/DocumentManager.js"></script>
<script type="text/javascript"
	src="/caNanoLab/dwr/interface/DocumentManager.js"></script>
<script type="text/javascript"
	src="/caNanoLab/dwr/interface/NanoparticleSampleManager.js"></script>
<script type='text/javascript' src='/caNanoLab/dwr/engine.js'></script>
<script type='text/javascript' src='/caNanoLab/dwr/util.js'></script>
<html:form action="searchDocument">
	<table align="center" width="100%">
		<tr>
			<td>
				<h3>
					Search Documents
				</h3>
			</td>
			<td align="right" width="30%">
				<%--<a href="advancedNanoparticleSearch.do" class="helpText">Advanced Search</a> &nbsp; &nbsp; --%>
				<jsp:include page="/webHelp/helpGlossary.jsp">
					<jsp:param name="topic" value="search_reports_help" />
					<jsp:param name="glossaryTopic" value="glossary_help" />
				</jsp:include>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<jsp:include page="/bodyMessage.jsp?bundle=document" />
				<table width="100%" border="0" align="center" cellpadding="3"
					cellspacing="0" summary="">
					<tr class="topBorder">
						<td class="formTitle" colspan="2">
							<div align="justify">
								Search Criteria
							</div>
						</td>
						<td class="formTitle" colspan="4">
							<div align="justify">
								* for searching wildcards
							</div>
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Search Location</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<strong><html:select property="searchLocations"
									styleId="searchLocations"
									onchange="javascript:setReportDropdowns()" multiple="true"
									size="4">
									<html:option value="local">
										Local
									</html:option>
									<c:if test="${! empty allGridNodes}">
										<html:options collection="allGridNodes"
											property="value.hostName" labelProperty="value.hostName" />
									</c:if>
								</html:select> </strong>
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Document Category</strong>
						</td>
						<td class="label" colspan="1" valign="top">
							<strong><html:select property="publicationOrReport"
									styleId="publicationOrReport" multiple="true" size="2">
									<html:option value="publication">Publication</html:option>
									<html:option value="report">Report</html:option>
								</html:select> </strong>
						</td>
						
						<td class="label" valign="top">
							<strong>Research<br>Category</strong>
						</td>
						<td class="label" valign="top">
							<strong><html:select property="researchArea"
									styleId="researchArea" multiple="true" size="3">
									<html:options name="publicationResearchAreas" />
								</html:select> </strong>
						</td>
						<td class="rightLabel" colspan="2" valign="top" align="left">												
							&nbsp;
						</td>
					</tr>
					<tr>
						<td class="leftLabel">
							<strong>Document Title</strong>
						</td>
						<td class="rightLabel" colspan="5">
							<html:text property="title" size="100" />
						</td>
					</tr>
					<tr valign="top">
						<td class="leftLabel">
							<strong>Publication Type</strong>
						</td>
						<td class="label" valign="top">
							<html:select styleId="category" property="category">
								<option value="" />
									<html:options name="publicationCategories" />
							</html:select>
						</td>				
						<td class="label" valign="top" colspan="2">
							<strong>PubMed ID</strong>
							<html:text property="pubMedId" size="20" onkeydown="return filterInteger(event)"/>
							<br>(Please enter exact numerical PubMed ID)<br><br>
						</td>
						<td class="label" valign="top">
							<strong>Digital Object ID</strong>
						</td>
						<td class="rightLabel" valign="top">
							<html:text property="digitalObjectId" size="20" />
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Authors</strong>
						</td>
						<td class="rightLabel" colspan="5" valign="top">
							<html:text property="authorsStr" size="100" />
						</td>
					</tr>
					
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Keywords</strong>
						</td>
						<td class="rightLabel" colspan="5" valign="top">
							<strong><html:textarea property="keywordsStr"
									cols="30" styleId="keywordsStr" rows="3">
							</html:textarea> </strong>
						</td>
					</tr>
				</table>
				<br>
				
				<table width="100%" border="0" align="center" cellpadding="3"
					cellspacing="0" summary="">
					<tr class="topBorder">
						<td class="formTitle" colspan="2">
							<div align="justify">
								Advance Search
							</div>
						</td>
						<td class="formTitle" colspan="4">&nbsp;
						</td>
					</tr>
					<tr>
						<td class="leftLabel"  valign="top">
							<strong>Nanoparticle Name</strong>
						</td>
						<td class="rightLabel" colspan="5" valign="top">
							<html:text property="nanoparticleName" size="20" />
						</td>
					</tr>
					<tr>
						<td class="leftLabel" valign="top">
							<strong>Composition<br> Nanoparticle Entity</strong>
						</td>
						<td class="label" valign="top">
							<strong><html:select property="nanoparticleEntityTypes"
{'fraction_non_alphanumeric': 0.18228695494843494, 'fraction_numerical': 0.008956034014836259, 'mean_word_length': 2.785958904109589, 'pattern_counts': {'":': 0, '<': 360, '<?xml version=': 0, '>': 358, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1063574', 'n_tokens_mistral': 5283, 'n_tokens_neox': 3511, 'n_words': 655}