����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.22.223.160 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 : /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 Enclosure Information page. The associated web plugin is the EnclosureInfoWebPlugin. --> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!-- Include some common templates created by SS --> <xsl:include href="temptbl.xsl"/> <xsl:include href="Utils.xsl"/> <xsl:template match="OMA"> <script language="javascript"> function getThisURL() { document.location.href = top.gnv.appendVID("./DataArea?plugin=com.dell.sm.webplugins.SetTempProbeWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&Name=<xsl:value-of select="/OMA/Name"/>&EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>" + "&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&Action=tempinfo&help=entktmp"); } </script> <xsl:variable name="checkAdmin"> <xsl:choose> <xsl:when test="OMAUserRights = '7'">true</xsl:when> <xsl:otherwise>false</xsl:otherwise> </xsl:choose> </xsl:variable> <DataArea backpagetarget="./DataArea?plugin=com.dell.sm.webplugins.ControllerInfoWebPlugin"> <PageTitle> <xsl:attribute name="status"><xsl:value-of select="/OMA/Health/Component/@status"/></xsl:attribute> <xsl:attribute name="display"><xsl:value-of select="$strTitle1Part1"/><xsl:value-of select="Name"/> <xsl:value-of select="$strTitle1Part2"/></xsl:attribute> </PageTitle> <CustomButton> <Data> <xsl:attribute name="display"><xsl:value-of select="$strRefresh"/></xsl:attribute> <xsl:attribute name="href">./DataArea?plugin=com.dell.sm.webplugins.TempInfoWebPlugin&ControllerOID=<xsl:value-of select="/OMA/ControllerOID"/>&Name=<xsl:value-of select="Name"/>&EnclosureOID=<xsl:value-of select="/OMA/EnclosureOID"/>&ChannelOID=<xsl:value-of select="/OMA/ChannelOID"/>&help=tpprin</xsl:attribute> </Data> </CustomButton> <xsl:if test="$checkAdmin='true'"> <!--check to see if user had admin rights--> <!-- If Enclosure is not supporting Set Temperature Probe, then following condition will fail --> <xsl:if test="TemperatureProbes/DCStorageObject/MainMethodMask and (substring(TemperatureProbes/DCStorageObject/MainMethodMask,29,1)='1')"> <CustomButton align="left"> <Data formSubmit="true"> <xsl:attribute name="display"><xsl:value-of select="$strSetTemp"/></xsl:attribute> <xsl:attribute name="href">javascript:getThisURL()</xsl:attribute> </Data> </CustomButton> </xsl:if> </xsl:if> <xsl:call-template name="TempTable"/> </DataArea> </xsl:template> <xsl:template name="TempTable"> <!-- DISPLAY THE TEMPERATURE INFORMATION IN A TABLE FORMAT--> <TableData columnspacing="true"> <SubHeader> <xsl:attribute name="display"><xsl:value-of select="$strTitle2"/></xsl:attribute> </SubHeader> <xsl:choose> <xsl:when test="count(TemperatureProbes/DCStorageObject)>0"> <xsl:call-template name="TempTableHeader"/> <xsl:for-each select="TemperatureProbes/DCStorageObject"> <xsl:sort select="Index" data-type="number" order="ascending"/> <xsl:call-template name="TempTableRows"/> </xsl:for-each> </xsl:when> </xsl:choose> </TableData> </xsl:template> </xsl:stylesheet>