����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.142.124.139 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 : |
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format"> <!-- EMM TABLE HEADER --> <xsl:template name="PSTableHeader"> <xsl:param name="tasks"/> <!-- The current implementation is to have the UI be dynamic in the data it shows. Only the columns applicable to the objects will be displayed. The CLI will display all columns of data however to ease script parsing. --> <xsl:variable name="dynamicView"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true' ">false</xsl:when> <xsl:otherwise>true</xsl:otherwise> </xsl:choose> </xsl:variable> <!-- ignore on web is set to true since it's only needed for scripts using the cli --> <Data name="ID" editable="false" type="ustring" ignoreonweb="true"> <xsl:attribute name="display"><xsl:value-of select="$strID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strID"/></xsl:attribute> </Data> <Data name="Status" editable="false" type="ustring" align="center"> <xsl:attribute name="display"><xsl:value-of select="$strStatus"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strStatus"/></xsl:attribute> </Data> <Data name="Name" editable="false" type="ustring" align="left"> <xsl:attribute name="display"><xsl:value-of select="$strName"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strName"/></xsl:attribute> </Data> <Data align="left"> <xsl:attribute name="display"><xsl:value-of select="$strState"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strState"/></xsl:attribute> </Data> <!--Data> MJR Removed for DFCT 100497 <xsl:attribute name="display"><xsl:value-of select="$strEnclID"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strEnclID"/></xsl:attribute> </Data--> <xsl:if test="//PowerSupply/DCStorageObject/PartNo or $dynamicView = 'false'"> <Data align="center"> <xsl:attribute name="display"><xsl:value-of select="$strPartNo"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strPartNo"/></xsl:attribute> </Data> </xsl:if> <xsl:if test="//PowerSupply/DCStorageObject/ProductVersion or $dynamicView = 'false'"> <Data align="center"> <xsl:attribute name="display"><xsl:value-of select="$strFW"/></xsl:attribute> <xsl:attribute name="value"><xsl:value-of select="$strFW"/></xsl:attribute> </Data> </xsl:if> </xsl:template> <!-- EMM TABLE ROWS --> <xsl:template name="PSTableRows"> <xsl:param name="tasks"/> <xsl:variable name="dynamicView"> <xsl:choose> <xsl:when test="/OMA/@cli = 'true' ">false</xsl:when> <xsl:otherwise>true</xsl:otherwise> </xsl:choose> </xsl:variable> <Row> <Data ignoreonweb="true"> <xsl:attribute name="value"><xsl:value-of select="Index"/></xsl:attribute> </Data> <Data type="status" align="center"> <xsl:attribute name="value"><xsl:value-of select="ObjStatus"/></xsl:attribute> </Data> <Data name="Test" editable="false" type="ustring" display="Test" align="left"> <xsl:attribute name="value"><xsl:value-of select="$strPwrSupply"/><xsl:value-of select="Index"/></xsl:attribute> </Data> <Data align="leftr"> <xsl:attribute name="value"><xsl:call-template name="GetState"><xsl:with-param name="state"><xsl:value-of select="ObjState"/></xsl:with-param></xsl:call-template></xsl:attribute> </Data> <!--Data> MJR Removed for DFCT 100497 <xsl:attribute name="value"><xsl:value-of select="Index"/></xsl:attribute> </Data--> <xsl:if test="//PowerSupply/DCStorageObject/PartNo or $dynamicView = 'false'"> <xsl:choose> <xsl:when test="PartNo"> <Data align="center"> <xsl:attribute name="value"><xsl:value-of select="PartNo"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> <xsl:if test="//PowerSupply/DCStorageObject/ProductVersion or $dynamicView = 'false'"> <xsl:choose> <xsl:when test="ProductVersion"> <Data align="center"> <xsl:attribute name="value"><xsl:value-of select="ProductVersion"/></xsl:attribute> </Data> </xsl:when> <xsl:otherwise> <Data align="center"> <xsl:attribute name="value"><xsl:value-of select="$strNotAvailable"/></xsl:attribute> </Data> </xsl:otherwise> </xsl:choose> </xsl:if> </Row> <script language="javascript"> function onExecute(oid) { var encltasks = "encltasks" + oid; var action = document.getElementById(encltasks).value; if (action == "-") { alert("Error! Please select a valid task"); } else { alert("Error! AD Function '"+action+"' not yet implemented"); } } </script> </xsl:template> </xsl:stylesheet>