<commit_before><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im"%>

<!-- customQuery.jsp -->
<html:xhtml/>

<div class="body">
    <div id="leftCol">  
      <div id="pageDesc" class="pageDesc"><p><fmt:message key="customQuery.intro"/></p></div>
	   <div class="actionArea">
	     <h2>Actions:</h2>
	          <html:link action="/importQueries?query_builder=yes">
	            <fmt:message key="begin.import.query"/>
	            <img border="0" class="arrow" src="images/right-arrow.gif" alt="->"/>
	          </html:link>
	          <br/>
	          <html:link action="/mymine.do?page=history">
	            View query history
	            <img border="0" class="arrow" src="images/right-arrow.gif" alt="->"/>
	          </html:link>
	          
          </div>
   </div>

   <div id="rightCol">
	<%-- class chooser --%>	
	<im:roundbox titleKey="customQuery.classChooser" stylename="welcome">
	  <tiles:insert name="classChooser.tile"/>
	</im:roundbox>
   </div>


</div>

<script type="text/javascript">
	Nifty("div#pageDesc","big");
</script>
<!-- /customQuery.jsp --><commit_msg>Re-added query history to query page.<commit_after><%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles" %>
<%@ taglib tagdir="/WEB-INF/tags" prefix="im"%>

<!-- customQuery.jsp -->
<html:xhtml/>

<div class="body">
    <div id="leftCol">  
      <div id="pageDesc" class="pageDesc"><p><fmt:message key="customQuery.intro"/></p></div>
	   <div class="actionArea">
	     <h2>Actions:</h2>
	          <html:link action="/importQueries?query_builder=yes">
	            <fmt:message key="begin.import.query"/>
	            <img border="0" class="arrow" src="images/right-arrow.gif" alt="->"/>
	          </html:link>
	          <br/>
	          <html:link action="/mymine.do?page=history">
	            View query history
	            <img border="0" class="arrow" src="images/right-arrow.gif" alt="->"/>
	          </html:link>
	          
          </div>
   </div>

   <div id="rightCol">
	<%-- class chooser --%>	
	<im:roundbox titleKey="customQuery.classChooser" stylename="welcome">
	  <tiles:insert name="classChooser.tile"/>
	</im:roundbox>
   </div>

	<div id="clearLine"> 
	 	    <%-- query history --%> 
	 	    <im:roundbox title="Query History" stylename="welcome"> 
	 	     <tiles:insert name="historyQueryView.jsp"> 
	 	        <tiles:put name="type" value="history"/> 
	 	      </tiles:insert> 	 	    
	 	     </im:roundbox> 
 	     


	</div> 


</div>

<script type="text/javascript">
	Nifty("div#pageDesc","big");
</script>
<!-- /customQuery.jsp -->
{'fraction_non_alphanumeric': 0.21612579458012712, 'fraction_numerical': 0.0026764804282368685, 'mean_word_length': 2.82842509603073, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 89, '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': '2137770', 'n_tokens_mistral': 1132, 'n_tokens_neox': 1047, 'n_words': 161}