Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

35 lines
1.2 KiB

  1. <?xml version="1.0"?>
  2. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  3. <xsl:template match="/">
  4. <xsl:for-each select="CIM//INSTANCE">
  5. <DIV STYLE="padding:.3in .1in .3in .3in; font-family:Arial Black; background-color:maroon">
  6. <TABLE>
  7. <TR>
  8. <TD COLSPAN="2">
  9. <DIV STYLE="margin:2px; padding:0em .5em; background-color:teal; color:white">
  10. Processor Load : <xsl:value-of select="PROPERTY[@NAME='LoadPercentage']/VALUE"/>%<BR/>
  11. <OBJECT classid="clsid:0713E8D2-850A-101B-AFC0-4210102A8DA7" id="ProgressBar1" height="15" width="265">
  12. <PARAM NAME="_ExtentX" VALUE="7011"/>
  13. <PARAM NAME="_ExtentY" VALUE="397"/>
  14. <PARAM NAME="_Version" VALUE="327682"/>
  15. <PARAM NAME="BorderStyle" VALUE="0"/>
  16. <PARAM NAME="Appearance" VALUE="1"/>
  17. <PARAM NAME="MousePointer" VALUE="0"/>
  18. <PARAM NAME="Enabled" VALUE="1"/>
  19. <PARAM NAME="OLEDropMode" VALUE="0"/>
  20. <PARAM NAME="Min" VALUE="0"/>
  21. <PARAM NAME="Max" VALUE="100"/>
  22. </OBJECT>
  23. </DIV>
  24. </TD>
  25. </TR>
  26. <TR></TR>
  27. </TABLE>
  28. </DIV>
  29. </xsl:for-each>
  30. </xsl:template>
  31. </xsl:stylesheet>