<page xmlns="http://bali.us.oracle.com/cabo/baja" 
      xmlns:baja="http://bali.us.oracle.com/cabo/baja" 
      xmlns:marlin="http://bali.us.oracle.com/cabo/marlin"
      xmlns:html="http://www.w3.org/TR/REC-html40"
      xmlns:data="http://bali.us.oracle.com/cabo/marlin">

  <baja:head xmlns="http://bali.us.oracle.com/cabo/marlin"
             xmlns:uix="http://bali.us.oracle.com/cabo/marlin"
             xmlns:html="http://www.w3.org/TR/REC-html40">
    <dataScope>
      <contents>
        <html:title>
          <text>
           <boundAttribute name="text">
            <concat>
             Oracle Enterprise Manager - Performance Overview 
            </concat>
           </boundAttribute>
          </text> 
        </html:title>
       </contents>
       <provider>
       </provider>
    </dataScope>
  </baja:head>

  <baja:content xmlns="http://bali.us.oracle.com/cabo/marlin">
    <dataScope>

      <contents>
        <pageLayout>
          <mediumAdvertisement>
            <include baja:node="../../oemBanner" />
          </mediumAdvertisement>
          <globalButtons>
            <include baja:node="../../globalButtonBar" />
          </globalButtons>
          <tabs>
            <include baja:node="../../globalTabs" />
          </tabs>
          <pageHeader>
            <include baja:node="../../globalHeader" />
          </pageHeader>

          <location>
            <include baja:node="../../breadCrumbs"/>
          </location>

          <copyright>
            <include baja:node="../../copyright"/>
          </copyright>

          <contents>
           <html:meta http-equiv="Refresh" content="-1" 
                      data:content="refreshRate@filerDetails"/>

    	    <!---  <include baja:node="userInfo" /> -->
            <link name="TOP"/>

            <header data:text="header@filerDetails">
              <contents>
              <!--  >>>>>>>>>> DROPDOWN REFRESH OPTION  >>>>>>>>>>>>>> -->
              <form name="filerSummary">
               <contents>
                  <tableLayout width="100%" rendered="true">
                    <contents>
                      <rowLayout>
                        <contents>
                          <cellFormat>
                            <contents>
                              <rowLayout hAlign="right">
                                <contents>
                                  <switcher data:childName="showtime@filerDetails">
                                    <case name="true">
                                      <flowLayout>
                                        <contents>
                                          <styledText styleClass="OraTipText" data:text="PAGE_REFRESHED@mntrResourceBundle" />
                                          <spacer  width="5"/>
                                          <styledText styleClass="OraTipLabel" data:text="timestamp@filerDetails" />
                                          <spacer  width="5"/>
                                        </contents>
                                      </flowLayout>
                                    </case>
                                  </switcher>
                                  <spacer width="15"/>
                                  <choice name="refChoice" columns="5" 
                                          marlin:selectedIndex="refreshSelection@filerDetails">
                                    <contents marlin:childData="refOption@refreshChoices">
                                      <option marlin:text="name" marlin:selected="selected" 
                                              marlin:value="value"/>
                                    </contents>
                                  </choice>
                                  <spacer width="10"/>
                                  <submitButton data:text="REFRESH@commonResourceBundle" name="event" value="refToOpt" />
                                </contents>
                              </rowLayout>
                            </contents>
                          </cellFormat>
                        </contents>
                      </rowLayout>
                    </contents>
                  </tableLayout> 
               </contents>
              </form>

              <stackLayout> 
               <contents>
                <switcher name="false" data:childName="error@filerDetails">
                 <case name="true">
                  <messageBox data:message="errMsg@filerDetails"
                              messageType="error"
                              longDescURL="unimpl"
                              data:text="ERR_OCCUR@mntrResourceBundle">
                  </messageBox>
                 </case>
                </switcher>
                <spacer height="10"/>

		<switcher data:childName="checkCapacityFlag@filerDetails">
                 <case name="V">
                 <rowLayout vAlign="top" width="100%">
                  <contents> 
                    <stackLayout>
                     <contents>
                      <image data:source="filerVolumeCapacityChart@filerDetails"
                             data:shortDesc="FILER_CAPACITY_VOLUME_HELP@filerResourceBundle"/>
                             <!-- data:destination="filerVolumeCapacityUsedUrl@filerDetails"/> -->
                      <spacer height="5"/>

                      <rowLayout hAlign="left">
                       <contents>
				<spacer width="55"/>
                        <tableLayout cellSpacing="8" 
                                     data:rendered="realtime@filerDetails">
                         <contents>
                          <rowLayout>
                           <contents>
                            <cellFormat hAlign="right">
                             <contents>
                              <styledText data:text="FILER_VOLUME_CAPACITY_USED_TITLE@filerResourceBundle"
                                          wrappingDisabled="true"
                                          styleClass="OraPromptText"/>
                             </contents>
                            </cellFormat>
                            <cellFormat hAlign="center">
                             <contents>
                             </contents>
                            </cellFormat>
                            <cellFormat hAlign="left"> 
                             <contents>
                              <styledText text=""
                                          data:text="VolumeCapacityUsedGb@filerDetails"
                                          styleClass="OraDataText"/>
                                          <!-- data:destination="filerVolumeCapacityUsedUrl@filerDetails"-->
                             </contents>
                            </cellFormat>
                           </contents>
                          </rowLayout>
                         </contents>
                        </tableLayout>
                       </contents>
                      </rowLayout>
                     </contents>
                    </stackLayout> 
	       </contents>
	      </rowLayout>
	      </case>
              <case name="Q">
               <rowLayout vAlign="top" width="100%">
                <contents> 
                 <stackLayout>
                  <contents>
                   <image data:source="filerQtreeCapacityChart@filerDetails"
                           data:shortDesc="FILER_CAPACITY_QTREE_HELP@filerResourceBundle"/> 
                     <spacer height="5"/> 
                      <rowLayout hAlign="left">
                       <contents>
				<spacer width="55"/>
                        <tableLayout cellSpacing="8" 
                                     data:rendered="realtime@filerDetails">
                         <contents>
                          <rowLayout>
                           <contents>
                            <cellFormat hAlign="right">
                             <contents>
                              <styledText data:text="FILER_QTREE_CAPACITY_USED_TITLE@filerResourceBundle"
                                          wrappingDisabled="true"
                                          styleClass="OraPromptText"/>
                             </contents>
                            </cellFormat>
                            <cellFormat hAlign="center">
                             <contents>
                             </contents>
                            </cellFormat>
                            <cellFormat hAlign="left"> 
                             <contents>
                              <styledText text=""
                                          data:text="QtreeCapacityUsedGb@filerDetails"
                                          styleClass="OraDataText"/>
                             </contents>
                            </cellFormat>
                           </contents>
                          </rowLayout>
                         </contents>
                        </tableLayout>
                       </contents>
                      </rowLayout>
                     </contents>
                    </stackLayout> 
	       </contents>
	      </rowLayout>
	      </case>
	      </switcher>

            <spacer height="15"/>
 
              </contents>
             </stackLayout>

            <spacer width="8"/>
	    <spacer height="15"/>
            </contents>
          </header>
         </contents>
        </pageLayout>
      </contents>

      <provider>
        <data name="mntrResourceBundle">
          <bundle class="oracle.sysman.resources.MntrResourceBundle"/>
        </data>
        <data name="commonResourceBundle">
          <bundle class="oracle.sysman.resources.CommonResourceBundle"/>
        </data>
        <data name="filerResourceBundle">
          <bundle class="oracle.sysman.eml.rsc.target.filer.FilerResourceBundle"/>
        </data>

        <data name="filerDetails">
            <method class="oracle.sysman.eml.target.filer.FilerCapacitySummary"
              method="getFilerPerformanceSummary"/>
        </data>

        <data name="refreshChoices">
         <inline>
          <refOption data:name="AUTOMATICALLY@mntrResourceBundle" value="auto"/>
          <refOption data:name="MANUALLY@mntrResourceBundle" value="manual"/>
          <refOption data:name="LAST_DAY@mntrResourceBundle" value="byDay"/>
          <refOption data:name="LAST_WEEK@mntrResourceBundle" value="byWeek"/>
          <refOption data:name="LAST_MONTH@mntrResourceBundle" value="byMonth"/>
         </inline>
        </data>

        <data name="styleClasses">
         <inline selected="OraHeaderSubSub" unselected="OraPromptText"/>
        </data>

      </provider>

    </dataScope>
  </baja:content>

  <handlers>
    <!-- Used for dropdown refresh option -->
    <event name="refToOpt">
      <method class="oracle.sysman.eml.target.filer.FilerCapacitySummary"
              method="doSummaryRefresh"/>
    </event>

  </handlers>

</page>
