<%--
  /**
   * Copyright (c) 2003 by Sun Microsystems, Inc. All rights reserved.
   * Use is subject to license terms.
   *
   * "@(#)sm_configstoragewiz_confirm.jsp     1.1     03/07/15     SMI"
   * 
   */
 --%>
<%@ include file="/layout/toptags.jsp"%>
<html:html>

<head>
<%@include file="/layout/page_head_section.jsp"%>
</head>

<%@ include file="/layout/wizard_body_tag.jsp" %>
<%@ include file="/layout/user_messages.jsp" %>
<html:form action="/ConfigStorageByProfileWizard.do">
<%@ include file="/wizard/wizard_framework_fields.jsp"%>

<input type="hidden" name="index" value="1">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr class="wizard-content-title-row">

    <td>
      <div class="wizard-content-title-text">
        <bean:message key="configure.storage.wizard.toc.4"/>
      </div>
    </td>
  </tr>
  <tr>
    <td class="wizard-content-divider"><img alt width="1" height="1" src="/images/general/dot.gif"
border="0"></td>
  </tr>

</table>
<!-- spacer between two sections -->
<%@ include file="/layout/spacer.jsp"%>

<table>
  <tr><td>
    <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr><td>
        <table>
          <tr>
            <td>
             <div class="error-message-header-text">              
                 <bean:message key="configure.storage.wizard.confirm.instructions"/>
             </div>
            </td>
          </tr>
        </table>
      </td></tr>
    </table>
  </td></tr>
</table>


<!-- spacer between two sections -->
<%@ include file="/layout/spacer.jsp"%>

<table class="back-table" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td>
      <table class="front-table" border="0" cellspacing="0" cellpadding="0">
        <tr class="header-row">
          <td nowrap>
            <div class="table-header-text">
              <bean:message key="configure.storage.selected.profile.column"/>
            </div>
          </td>                  
        </tr>
        
        <tr>
          <td> 
            <div class="table-normal-text">           
               <bean:write name="<%=Constants.HttpSessionFields.CREATE_POOL_FORM_NAME%>" property="newProfileName"/>
            </div>
          </td>
        </tr>
      </table>

    </td>
  </tr>
</table>

 <!-- spacer between two sections -->
<%@ include file="/layout/spacer.jsp"%>

<!-- Trays and drives to allocate message -->
<table>
  <tr><td>
    <table bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr><td>
        <table>
          <tr>
            <td>
             <div class="error-message-header-text">              
                 <bean:message key="configure.storage.wizard.traysdrives.header"/>
             </div>
            </td>
          </tr>
        </table>
      </td></tr>
    </table>
  </td></tr>
</table>
<!-- End Trays and drives to allocate message -->
 <!-- show trays and drives -->
  <table border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td nowrap>
        <table border="0" cellspacing="0" cellpadding="0">          
          <tr>
            <td><img alt width="1" height="2" border="0" src="images/general/dot.gif"></td>
          </tr>           
          <tr>
            <td nowrap>
              <table class="back-table" border="0" cellspacing="0" cellpadding="1">
                <tr>
                  <td>
                    <table class="front-table" border="0" cellspacing="0" cellpadding="0">
                      <tr class="header-row">
                        <td nowrap>
                          <div class="table-header-text">
                            <bean:message key="tray.table.id"/>
                          </div>
                        </td>      
                        <td nowrap>
                          <div class="table-header-text">
                            <bean:message key="tray.table.drivenum.short"/> 
                          </div>
                        </td>       
                        <td nowrap>
                          <div class="table-header-text">
                            <bean:message key="tray.table.drive.size"/> 
                          </div>
                        </td>                        
                        <td nowrap>
                          <div class="table-header-text">
                            <bean:message key="pools.table.name"/> 
                          </div>
                        </td>
                      </tr>
                      <!-- Begin tray row listing(s) -->              
                                                              
 				     <logic:iterate id="poolBreaks" name="<%=Constants.HttpSessionFields.CREATE_POOL_FORM_NAME%>" property="poolBreakdowns" type="PoolBreakdownForTray" indexId="idx"> 				 	      
                        <%
                            for(int i = 0; i < poolBreaks.getNumPools(); i++) {
                        %>
                     <tr>           
                       <td align="right">     
                         <div class="table-label-text">                    
                           <bean:write name="poolBreaks" property="trayId"/>
                         </div>
                        </td>     
                        <td align="right">  
                          <div class="table-label-text">                        
                            <%=poolBreaks.getNumDisks(i)%>
                          </div>
                        </td>                    
                        <td align="right">        
                          <div class="table-label-text">                  
                            <component:volumeSizeDisplay size="<%=poolBreaks.getEffectiveDiskSize(i).toString()%>"/>
                          </div>
                        </td>      
                        <td>                         
                          <div class="table-label-text"> 
                            <%=poolBreaks.getSuggestedName(i)%>
                          </div>
                        </td>
                      </tr>
                       <% } %>
                     </logic:iterate>
                    </table>
                  </td>
                </tr>             
              </table>
            </td>
          </tr>           
        </table>
      </td>
    </tr>
  </table> <!-- end show tray and drives listing -->

<!-- spacer between two sections -->
<%@ include file="/layout/spacer.jsp"%>



    </td>
  </tr>
  <tr>
    <td><img alt border="0" height="20" width="1" src="images/general/dot.gif"></td>
  </tr>
</table>
          </td>






</html:form>
</body>

</html:html>

