The default scoreboard of the PC^2 Contest Control System is not very attractive also not have any option to add contest logo.
If you want to have a custom scoreboard please follow these steps.
Step 1:
Create a file by name “haneef.xsl” with following content and add it to the pc^2folder/data/xsl
Content of the file :
<!-- $Id: full.xsl 1109 2007-11-28 21:45:28Z boudreat $ --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:output method="html" indent="yes"/> <xsl:decimal-format decimal-separator="." grouping-separator="," /> <xsl:template match="contestStandings"> <HTML> <HEAD> <TITLE> Programming Contest Results Scoreboard </TITLE> <META HTTP-EQUIV="EXPIRES" CONTENT="0"/> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"/> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"/> <meta http-equiv="refresh" content="60" /> </HEAD> <BODY> <TABLE width="600" border="1" cellpadding="1" cellspacing="1" align="center"> <tr bgcolor="#000066"> <td colspan="4" style="font-family: Verdana, Geneva, sans-serif; font-size: 36px; color: #FFF; text-align: center;">PROGRAMMING CONTEST</td> </tr> <tr> <td colspan="4" style="font-family: Verdana, Geneva, sans-serif; font-size: 14px; color: #FFF; text-align: center;"> <p><img src="logo.png" /></p> </td> </tr> <tr> <td bgcolor="#0099FF" style="font-family: Verdana, Geneva, sans-serif; font-size: 14px; color: #FFF;"><h2>Rank</h2></td> <td bgcolor="#0099FF" style="font-family: Verdana, Geneva, sans-serif; color: #FFF; font-size: 14px;"><h2>Name</h2></td> <td bgcolor="#0099FF" style="font-family: Verdana, Geneva, sans-serif; font-size: 14px; color: #FFF;"><h2>Solved</h2></td> <td bgcolor="#0099FF" style="font-family: Verdana, Geneva, sans-serif; font-size: 14; color: #FFF;"><h2>Points</h2></td> </tr> <xsl:call-template name="teamStanding"/> <tr style="font-family: Verdana, Geneva, sans-serif; font-size: 12px; color: #F00;"> <td colspan="4">Updated Time : <xsl:value-of select="/contestStandings/standingsHeader/@currentDate"/></td> </tr> </TABLE> </BODY> </HTML> </xsl:template>< <xsl:template name="teamStanding"> <xsl:for-each select="teamStanding"> <tr bgcolor="#FFFF66"> <td style="font-family: Verdana, Geneva, sans-serif; font-size: 12px; color: #900; font-weight: bold;"><xsl:value-of select="@rank"/></td> <td style="font-family: Verdana, Geneva, sans-serif; font-size: 12px; color: #900; font-weight: bold;"><xsl:value-of select="@teamName"/></td> <td style="font-family: Verdana, Geneva, sans-serif; font-size: 12px; color: #900; font-weight: bold;"><xsl:value-of select="@solved"/></td> <td style="font-family: Verdana, Geneva, sans-serif; font-size: 12px; color: #900; font-weight: bold;"><xsl:value-of select="@points"/></td> </tr> </xsl:for-each> </xsl:template> </xsl:stylesheet>
Step 2
Create a banner Image with approximate width 600 pixels and name it as logo.png and save it to folder html inside PC^2 folder
Step 3
Login to scoreboard and keep it open.
Now browse the folder html and double click the file haneef.html it will open in a browser . Make it full screen. This will refresh every one minute and score will be updated as soon there is a new judgement.
Please note that haneef.html file will be created by the system once you login to the scoreboard account. Please keep scoreboard account open to have the results get updated.