<%--
/*
 * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
 * Use is subject to license terms.
 *
 * ident	"@(#)ClusterStatus.jsp	1.7	05/11/04 SMI"
 */
--%>

<%@page info="ClusterStatus" language="java"%>
<%@taglib uri="/WEB-INF/tld/com_iplanet_jato/jato.tld" prefix="jato"%>
<%@taglib uri="/WEB-INF/tld/com_sun_cluster_spm/spm.tld" prefix="spm"%>
<%@taglib uri="/WEB-INF/tld/com_sun_web_ui/cc.tld" prefix="cc"%>

<!-- Set the viewbean -->
<jato:useViewBean className="com.sun.cluster.spm.cluster.ClusterStatusViewBean">

<!-- Define the resource bundle, html, head, meta, stylesheet and body tags -->
<spm:header pageTitle="clusterStatus.title" copyrightYear="2002"
 baseName="com.sun.cluster.spm.resources.Resources" bundleID="scBundle" 
 event="ESC_cluster_quorum,ESC_cluster_rg_state,ESC_cluster_rg_config_change,ESC_cluster_node_config_change,ESC_cluster_dcs_primaries_changing,ESC_cluster_dcs_config_change,ESC_cluster_dcs_state_change"
 onLoad="reloadTree()">


<jato:form name="scForm" method="post">

<!-- Hidden Field for the tree -->
<cc:hidden name="TreeNodeHiddenField"/>

<!-- Navigation Tabs -->
<cc:tabs name="GenericTabs" bundleID="scBundle" />


<!-- Install mode  Alert -->
<spm:alertinline name="InstallModeAlert" bundleID="scBundle" />

<!-- Status Alert -->
<spm:alertinline name="StatusAlert" bundleID="scBundle" />

<cc:pagetitle name="GenericPageTitle" bundleID="scBundle" pageTitleText="clusterStatus.pageTitle" showPageTitleSeparator="true" pageTitleHelpMessage="clusterStatus.help"/>

<br>
<div class="ConMgn">
  <table border="0" cellpadding="0" cellspacing="0">
    <!-- Cluster Name  -->
    <tr>
      <td valign="top">
	<div class="ConTblCl1Div">&nbsp;
	  <cc:label name="NameLabel" bundleID="scBundle"
                    defaultValue="clusterConfiguration.field0"
                    styleLevel="2"
                    elementName="NameValue" />
	</div>
	</td>
      <td valign="top">
	<div class="ConTblCl2Div">
	  <span id="psLbl2" class="ConDefTxt">
            <cc:text name="NameValue" bundleID="scBundle"/>
	  </span>
	</div>
	</td>
    </tr>
  </table>
</div>

<div><img src="/com_sun_web_ui/images/other/dot.gif"
	  width="1" height="10" alt=""></div>


<spm:rbac auths="solaris.cluster.node.read">
  <jato:containerView name="NodeInfoView">
    <jsp:include page="../node/NodeInfoPagelet.jsp"/>
  </jato:containerView>

<br>
</spm:rbac>

<spm:rbac auths="solaris.cluster.resource.read">
<jato:containerView name="ResourceGroupsStatusView">
<jsp:include page="../rgm/ResourceGroupsStatusPagelet.jsp"/>
</jato:containerView>
<br>
</spm:rbac>

<jato:content name= "Odyssey">
 <jato:containerView name="OdysseyContainer">
  <jsp:include page="./OdysseyClusterPagelet.jsp"/>
 </jato:containerView>
</jato:content>

</jato:form>

</spm:header>
</jato:useViewBean>
