diff --git a/samps/web/acm-icpc.gif b/samps/web/acm-icpc.gif deleted file mode 100644 index 4dff926b4..000000000 Binary files a/samps/web/acm-icpc.gif and /dev/null differ diff --git a/samps/web/acm.gif b/samps/web/acm.gif deleted file mode 100644 index 7716b50ea..000000000 Binary files a/samps/web/acm.gif and /dev/null differ diff --git a/samps/web/banner.png b/samps/web/banner.png deleted file mode 100644 index 4fa25bf4c..000000000 Binary files a/samps/web/banner.png and /dev/null differ diff --git a/samps/web/xsl/README b/samps/web/xsl/README index 4d171e187..b10899e33 100644 --- a/samps/web/xsl/README +++ b/samps/web/xsl/README @@ -7,20 +7,17 @@ does not exist, it falls back to the data/xsl directory under the pc2 installation directory. index.xsl - Sample index as used at the ACM-ICPC Pacific Northwest Contest. - Includes links to group?.html files -group1.xsl -groupN.xsl - Sample per-group(region/site) files. group1.xsl is for the - 1st group defined in PC^2. Copy and replace the N with the - additional groups (eg the 2nd group is 2 and would be in group2.xsl) + Sample index as used at the ICPC Pacific Northwest Contest. + Includes links to group_*.html files +group.xsl + Sample per-group(region/site) files (based on the groupList/group[included = 1]. or wf.index.xsl - Like the summary.html, but with the ACM-ICPC World Finals ranking + Like the summary.html, but with the ICPC World Finals ranking system. Includes links to the group?.html files -wf.groupN.xsl - Like the above groupN.xsl, except with ACM-ICPC World Finals +wf.group.xsl + Like the above group.xsl, except with ICPC World Finals ranking system. wf.standings.xsl The end of the contest final standings with Honorable Mention and @@ -33,5 +30,3 @@ call this index.xsl/group.xsl (eg remove the "wf." part). Questions? email to pc2@ecs.csus.edu - -# $Id$ diff --git a/samps/web/xsl/index2.xsl b/samps/web/xsl/group.xsl similarity index 66% rename from samps/web/xsl/index2.xsl rename to samps/web/xsl/group.xsl index 8bc33bbd7..a2f639de7 100644 --- a/samps/web/xsl/index2.xsl +++ b/samps/web/xsl/group.xsl @@ -1,185 +1,162 @@ - - - - - - - - - - -<xsl:value-of select="/contestStandings/standingsHeader/@title"/> - - - - - - - - - -
- -


Division 2 Standings

-

-   -
- -
-
- - - - - -
-Goto Division 1 Standings - -
-
-Division 2 Problem Descriptions -   -   - -Sample Division 2 Data -   -   -Technical Notes -
-
-
-
-
- - - - - - - - - - - - -
RankNameSolvedTimeTotal att/solv
-
-
- - - PC^2 Homepage
- CSS by Tomas Cerny and Ray Holder -
-Created by CSUS PC^2 version -
-Last updated - -
- - -
- - - - - -Submitted/1st Yes/Total Yes - - - -/ - - - - - - - -center -/-- -/ - - - - - - - - - - - - -center - - -right - - - -/ - - - - - - - -center - - -right - - - - -/ - - - - - - - - - - -yes - - -pending - - -no - - -center - -/-- - - - - - - -         - - - - -
Color
-
-
- - - - Per Site Standings - -
-
-
- -
+ + + + + + + + + + +<xsl:value-of select="@title"/> Full Info - <xsl:value-of select="/contestStandings/standingsHeader/@title"/> + + + + + + + + + +
+

+

per Site Standings

+   + +
+ +
+
+
+
+ + Overall Standings

+ + + + + + + + + + + + +
RankNameSolvedTimeTotal att/solv
+
+
+ + + PC^2 Homepage
+ CSS by Tomas Cerny and Ray Holder +
+Created by CSUS PC^2 version +
+Last updated + +
+ + +
+ + + + +Submitted/1st Yes/Total Yes + + + +/ + + + + + + + + + + + + +center + + +right + + + +/ + + + + + + + +center + + +right + + + + +/ + + + + + + + + + + +yes + + +pending + + +no + + +center + +/-- + + + + + + + + +center +/-- +/ + + + + + + +         + + + + +
Color
+
+
+ + + + Per Site Standings + +
+
+
+
diff --git a/samps/web/xsl/group1.xsl b/samps/web/xsl/group1.xsl deleted file mode 100644 index 3ffa5b06f..000000000 --- a/samps/web/xsl/group1.xsl +++ /dev/null @@ -1,73 +0,0 @@ - - - - - - - - - - - - - <xsl:for-each select="standingsHeader/groupList/group[@id = $group]"> -<xsl:value-of select="@title"/> Full Info - <xsl:value-of select="/contestStandings/standingsHeader/@title"/> -</xsl:for-each> - - - - - - - - - - -
-

-

per Site Standings

-   - -
- -
-
-
- Overall Standings

- - - -
Group RankNameSolvedTime
-
-
- - - PC^2 Homepage
- CSS by Tomas Cerny and Ray Holder -
-Created by CSUS PC^2 version -
-Last updated - -
- - -
- - - - - - - -center - - -right - - - - -
diff --git a/samps/web/xsl/groupN.xsl b/samps/web/xsl/groupN.xsl deleted file mode 100644 index 74c821b90..000000000 --- a/samps/web/xsl/groupN.xsl +++ /dev/null @@ -1,76 +0,0 @@ - - - - - - - - - - - - - <xsl:for-each select="standingsHeader/groupList/group[@id = $group]"> -<xsl:value-of select="@title"/> Full Info - <xsl:value-of select="/contestStandings/standingsHeader/@title"/> -</xsl:for-each> - - - - - - - - - - -
-

-

per Site Standings

-   - -
- -
-
-
- Overall Standings

- - - -
Group RankNameSolvedTime
-
-
- - - PC^2 Homepage
- CSS by Tomas Cerny and Ray Holder -
-Created by CSUS PC^2 version -
-Last updated - -
- - -
- - - - - - - -center - - -right - - - - -
diff --git a/samps/web/xsl/index.xsl b/samps/web/xsl/index.xsl index b9c6059eb..7b27a3410 100644 --- a/samps/web/xsl/index.xsl +++ b/samps/web/xsl/index.xsl @@ -1,8 +1,11 @@ - - + + + + + @@ -17,10 +20,10 @@ -
+

-

+

per Division Standings

 
@@ -28,12 +31,17 @@


- - - - + + + +
+ + Divison Standings +
+
+
@@ -159,9 +167,8 @@ Last updated - - Per Site Standings - + + Per Site Standings
diff --git a/samps/web/xsl/index1.xsl b/samps/web/xsl/index1.xsl deleted file mode 100644 index f5ff809f1..000000000 --- a/samps/web/xsl/index1.xsl +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - - - - - -<xsl:value-of select="/contestStandings/standingsHeader/@title"/> - - - - - - - - - -
- -


Division 1 Standings

-

-   -
- -
-
-
- - - - - - - -
-Goto Division 2 Standings -
-
-Division 1 Problem Descriptions -   -   -Sample Division 1 Data -   -   -Technical Notes -
-
-
-
-
- - - - - - - - - - - - -
RankNameSolvedTimeTotal att/solv
-
-
- - - PC^2 Homepage
- CSS by Tomas Cerny and Ray Holder -
-Created by CSUS PC^2 version -
-Last updated - -
- - -
- - - - - -Submitted/1st Yes/Total Yes - - - -/ - - - - - - - -center -/-- -/ - - - - - - - - - - - - -center - - -right - - - -/ - - - - - - - -center - - -right - - - - -/ - - - - - - - - - - -yes - - -pending - - -no - - -center - -/-- - - - - - - -         - - - - -
Color
-
-
- - - - Per Site Standings - -
-
-
- -
diff --git a/samps/web/xsl/regional-header.png b/samps/web/xsl/regional-header.png new file mode 100644 index 000000000..ab9d7a01a Binary files /dev/null and b/samps/web/xsl/regional-header.png differ diff --git a/samps/web/standings.css b/samps/web/xsl/standings.css similarity index 85% rename from samps/web/standings.css rename to samps/web/xsl/standings.css index 3fff26a7e..ea948c9ca 100644 --- a/samps/web/standings.css +++ b/samps/web/xsl/standings.css @@ -2,8 +2,9 @@ table { border: 1px solid #ccc; border-bottom: 0; + border-collapse: separate; + border-spacing: 5px; width: 52.7em; - margin-bottom: 2em; } body { font-family: verdana, arial, tahoma, sans-serif; @@ -12,12 +13,15 @@ table th { text-align: center; background: #247eca; color: white; - padding: 0em; + padding: 1px; border: outset 2px #eee8aa; + border-radius: 8px; } table td { border-bottom: 1px solid #DDD; padding: .0em .0em .0em .5em; + border-radius: 8px; + text-align: center; } table tr td.rank { background: transparent; @@ -81,7 +85,7 @@ div.tail { color: #888; //width: 65.875em; width: 80%; - border: 1px solid #ccc; +// border: 1px solid #ccc; margin-left: auto; margin-right: auto; } @@ -97,15 +101,15 @@ table tr.even { background-color: #EEEEFF; color: black; } table tr td.yes { - background-color: #00ff00; color: black; + background-color: #50e050; color: black; text-align: center; } table tr td.pending { - background-color: #ffff00; color: black; + background-color: #e0e050; color: black; text-align: center; } table tr td.no { - background-color: #ff0000; color: black; + background-color: #e05050; color: black; text-align: center; } table tr td.center {