From c37bae73fb4ef661603fd9e1d04c036a05b7c418 Mon Sep 17 00:00:00 2001 From: Ulrik Sandberg Date: Sat, 17 Jan 2009 20:38:43 +0000 Subject: [PATCH] Added scripts used on the static site for generating download links. --- .../1.3-snapshot-download.php | 9 +++ etc/snapshotzipbuilds/dist-download.css | 56 +++++++++++++++++++ etc/snapshotzipbuilds/readme.txt | 6 ++ etc/snapshotzipbuilds/snapshot-download.xsl | 38 +++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 etc/snapshotzipbuilds/1.3-snapshot-download.php create mode 100644 etc/snapshotzipbuilds/dist-download.css create mode 100644 etc/snapshotzipbuilds/readme.txt create mode 100644 etc/snapshotzipbuilds/snapshot-download.xsl diff --git a/etc/snapshotzipbuilds/1.3-snapshot-download.php b/etc/snapshotzipbuilds/1.3-snapshot-download.php new file mode 100644 index 00000000..c478aef6 --- /dev/null +++ b/etc/snapshotzipbuilds/1.3-snapshot-download.php @@ -0,0 +1,9 @@ +'; +echo ''; +echo substr($xml, 39); +?> diff --git a/etc/snapshotzipbuilds/dist-download.css b/etc/snapshotzipbuilds/dist-download.css new file mode 100644 index 00000000..adcec127 --- /dev/null +++ b/etc/snapshotzipbuilds/dist-download.css @@ -0,0 +1,56 @@ +body { + font-family: arial, sans-serif; + background-color: #eeeef5; +} + +.name { + padding-right: 3px; + padding-left: 3px; + width: 75%; + text-align: left; +} + +.size { + padding-right: 3px; + padding-left: 3px; + width: 25%; + text-align: right; +} + +.title { + color: #395726; +} + +a { + color: #728c22; + text-decoration: none; +} + +a:hover { + color: #ff5c00; + text-decoration: underline; +} + +table { + color: #728c22; + margin-right: 0px; + margin-left: 4px; + margin-bottom: 0px; + margin-top: 4px; + border-collapse: collapse; +} + +table tr th { + color: #395726; + border-bottom-style: double; + border-bottom-width: 3px; + border-bottom-color: #395726; + padding-bottom: 5px; + padding-top: 5px; +} + +table tr td { + font-weight: bold; + font-size: 75%; +} + diff --git a/etc/snapshotzipbuilds/readme.txt b/etc/snapshotzipbuilds/readme.txt new file mode 100644 index 00000000..f65c7c88 --- /dev/null +++ b/etc/snapshotzipbuilds/readme.txt @@ -0,0 +1,6 @@ +The page containing snapshot zip builds is actually a PHP page which takes the +XML listing from S3, and transforms it into links using a XSLT. The required +files should be placed on the following location: + +http://static.springframework.org/spring-ldap/downloads/1.3-snapshot-download.php + diff --git a/etc/snapshotzipbuilds/snapshot-download.xsl b/etc/snapshotzipbuilds/snapshot-download.xsl new file mode 100644 index 00000000..874024ef --- /dev/null +++ b/etc/snapshotzipbuilds/snapshot-download.xsl @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Spring LDAP Project SnapshotsSize
+ +
+
+
MB
+
+ +