<%@ page contentType="text/html;charset=Shift_JIS" language="java" %>
<%-- 共通ページヘッダ --%>
<%@ include file="/jsp/common/PageHeader.inc" %>
<%-- bean --%>

<html:html locale="true">
<head>
<!--バグ検索-->
  <title><bean:message key="search.tile.displayname" /></title>
<html:base/>
<LINK rel="stylesheet" href="style.css">
</head>

<body>
<!--======================= メニュー ==============================-->
<%@ include file="/jsp/common/Menu3.inc" %>
<!--======================= メニュー end ==========================-->
<br>
<font color="red"><html:errors/></font>
<html:form action="/serch.do?action=submit">
  <table border="0" cellpadding="3" cellspacing="2">
    <tr align="center"> 
    <!-- ステータス検索 -->
      <td class="labelHeader" colspan="7"><bean:message key="search.category1.displayname" /></td>
    </tr>
    <tr>
      <td class="label1"><bean:message key="status.displayname" /></td>
      <td class="label1"><bean:message key="resolution.displayname" /></td>
      <td class="label1"><bean:message key="priority.displayname" /></td>
      <td class="label1"><bean:message key="severity.displayname" /></td>
      <td class="label1"><bean:message key="milestone.displayname" /></td>
      <td class="label1"><bean:message key="subsystem.displayname" /></td>
      <td class="label1"><bean:message key="functionName.displayname" /></td>
    </tr>
    <tr>
      <td class="bak1">
        <html:select property="status" multiple="true" size="7">
          <html:options collection="statuses" property="status" labelProperty="statusString"/>
        </html:select>
      </td>
      <td class="bak1"> 
        <html:select property="resolution" multiple="true" size="7">
          <html:options collection="resolutions" property="code" labelProperty="shortName"/>
        </html:select>
      </td>
      <td class="bak1"> 
        <html:select property="priority" multiple="true" size="7">
          <html:options collection="prioritys" property="code" labelProperty="shortName"/>
        </html:select>
      </td>
      <td class="bak1"> 
        <html:select property="severity" multiple="true" size="7">
          <html:options collection="severitys" property="code" labelProperty="shortName"/>
        </html:select>
      </td>
      <td class="bak1"> 
        <html:select property="milestone" multiple="true" size="7">
          <html:options collection="milestones" property="code" labelProperty="shortName"/>
        </html:select>
      </td>
      <td class="bak1"> 
        <html:select property="subsystem" multiple="true" size="7">
          <html:options collection="subsystems" property="code" labelProperty="shortName"/>
        </html:select>
      </td>
      <td class="bak1"> 
        <html:select property="function" multiple="true" size="7">
          <html:options collection="functions" property="code" labelProperty="shortName"/>
        </html:select>
      </td>
    </tr>
  </table>
  <table border="0" cellpadding="3" cellspacing="2">
    <tr> 
    <!-- 範囲検索 -->
      <td class="labelHeader" colspan="4"><bean:message key="search.category2.displayname" /></td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="bno.displayname" /></td>
      <td class="bak1"> 
        <html:text property="choiceBno" size="20" />
      </td>
      <td class="label2"><bean:message key="updateDate.displayname" /></td>
      <td class="bak1"> <nobr> 
        <html:text property="updateFromDate" size="10" />
        </nobr><nobr>〜 
        <html:text property="updateToDate" size="10" />
        </nobr><br>
        (yy/mm/dd)
      </td>
    </tr>
    <tr> 
    <!-- 期間 -->
      <td class="label2"><bean:message key="search.dateRange.displayname" /></td>
      <td class="bak1" colspan="3"><bean:message key="search.past.msg1.displayname" /><nobr> 
        <html:text property="pastDate" size="8" />
        <bean:message key="search.past.msg2.displayname" /></nobr>に<br>
        <html:checkbox property="issuDate" /><bean:message key="search.past.msg3.displayname" />
        <html:checkbox property="authDate" /><bean:message key="search.past.msg4.displayname" /><br>
        <html:checkbox property="analizeDate" /><bean:message key="search.past.msg5.displayname" />
        <html:checkbox property="bugUpdateDate" /><bean:message key="search.past.msg6.displayname" />
        <html:checkbox property="confirmDate" /><bean:message key="search.past.msg7.displayname" />
      </td>
    </tr>
    <!-- 担当 -->
    <tr>
      <td class="label2"><bean:message key="bug.assign.displayname" /></td>
      <td class="bak1" colspan="3"><bean:message key="search.assign.msg1.displayname" />
        <html:select property="assigne">
          <html:options collection="allUsers" property="uno" labelProperty="nickname"/>
        </html:select>
        が<br>
        <html:checkbox property="issuer" /><bean:message key="search.assign.msg2.displayname" />
        <html:checkbox property="auther" /><bean:message key="search.assign.msg3.displayname" /><br>
        <html:checkbox property="analyst" /><bean:message key="search.assign.msg4.displayname" />
        <html:checkbox property="bugUpdater" /><bean:message key="search.assign.msg5.displayname" />
        <html:checkbox property="confirmer" /><bean:message key="search.assign.msg6.displayname" />
    </tr>
  </table>
  <!-- テキスト検索 -->
  <table border="0" cellpadding="3" cellspacing="2">
    <tr> 
      <td class="labelHeader" colspan="4"><bean:message key="search.text.msg1.displayname" /></td>
    </tr>
    <tr>
     <td class="label2"><bean:message key="search.text.msg2.displayname" /></td>
	<td class="bak1">
        <html:text property="serchText" size="90" />
    </td>
    </tr>
    <tr>
        <td class="label2"><bean:message key="search.text.msg3.displayname" /></td>
        <td class="bak1">
        <html:checkbox property="title" /><bean:message key="search.text.msg4.displayname" />
    	<html:checkbox property="troubleText" /><bean:message key="search.text.msg5.displayname" />
        <html:checkbox property="principalText" /><bean:message key="search.text.msg6.displayname" />
        <html:checkbox property="causelText" /><bean:message key="search.text.msg7.displayname" />
        <html:checkbox property="updateText" /><bean:message key="search.text.msg8.displayname" />
        <html:checkbox property="confirmText" /><bean:message key="search.text.msg9.displayname" />
          </td>
          </tr>
    </table>
    <!-- リソース検索 -->
    <table border="0" cellpadding="3" cellspacing="2">
    <tr> 
      <td class="labelHeader" colspan="4"><bean:message key="search.resource.msg1.displayname" /></td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="search.resource.msg2.displayname" /></font></td>
      <td class="bak1"> 
        <html:text property="updateSrc" size="30" />
      </td>
      <td class="label2"><bean:message key="search.resource.msg3.displayname" /></font></td>
      <td class="bak1"> 
        <html:text property="updateDoc" size="30" />
      </td>
    </tr>
  </table>
  <!-- キーワード検索 -->
  <table border="0" cellpadding="3" cellspacing="2">
    <tr> 
      <td class="labelHeader" colspan="2"><bean:message key="search.keyword.msg1.displayname" /></td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="search.keyword.msg2.displayname" /></font></td>
      <td class="bak1"> 
        <html:text property="keyword1" size="30" maxlength="30" />
      </td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="search.keyword.msg3.displayname" /></font></td>
      <td class="bak1"> 
        <html:text property="keyword2" size="30" maxlength="30" />
      </td>
    </tr>
    <tr> 
      <td class="label2"><bean:message key="search.keyword.msg4.displayname" /></font></td>
      <td class="bak1"> 
        <html:text property="keyword3" size="30" maxlength="30" />
      </td>
    </tr>
  </table>
  <html:submit property="submit">
  <bean:message key="search.submit.displayname" />
  </html:submit>
  <html:reset>
  <bean:message key="reset.displayname" />
  </html:reset>
</html:form>

<%-- 共通ページフッダ --%>
<%@ include file="/jsp/common/PageFooter.inc" %>
</body>
</html:html>
