directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pamarce...@apache.org
Subject svn commit: r1330183 - in /directory/site/trunk/content/studio: download-test.cgi download-test.mdtext
Date Wed, 25 Apr 2012 10:12:16 GMT
Author: pamarcelot
Date: Wed Apr 25 10:12:16 2012
New Revision: 1330183

URL: http://svn.apache.org/viewvc?rev=1330183&view=rev
Log:
Added a download test page to see if the CGI script works.

Added:
    directory/site/trunk/content/studio/download-test.cgi
    directory/site/trunk/content/studio/download-test.mdtext

Added: directory/site/trunk/content/studio/download-test.cgi
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/studio/download-test.cgi?rev=1330183&view=auto
==============================================================================
--- directory/site/trunk/content/studio/download-test.cgi (added)
+++ directory/site/trunk/content/studio/download-test.cgi Wed Apr 25 10:12:16 2012
@@ -0,0 +1,6 @@
+#!/bin/sh
+# Wrapper script around mirrors.cgi script
+# (we must change to that directory in order for python to pick up the
+#  python includes correctly)
+cd /www/www.apache.org/dyn/mirrors
+/www/www.apache.org/dyn/mirrors/mirrors.cgi $* 

Added: directory/site/trunk/content/studio/download-test.mdtext
URL: http://svn.apache.org/viewvc/directory/site/trunk/content/studio/download-test.mdtext?rev=1330183&view=auto
==============================================================================
--- directory/site/trunk/content/studio/download-test.mdtext (added)
+++ directory/site/trunk/content/studio/download-test.mdtext Wed Apr 25 10:12:16 2012
@@ -0,0 +1,59 @@
+Title: Download for Mac OS X
+
+<h1>Download for Mac OS X</h1>
+
+<p>
+    [if-any logo]
+    <a href="[link]"><img align="right" src="[logo]" border="0" /></a>
+    [end]
+    We suggest the following mirror site for your download:
+</p>
+
+<p>
+    <div id="downloadContent">
+        <table border="0" width="100%">
+            <tr>
+                <td>
+                    <a href="[preferred]/directory/studio/stable/1.5.3.v20100330/ApacheDirectoryStudio-macosx-1.5.3.v20100330.dmg">
+                        <img src="images/download.png" width="32" height="32" border="0"/>
+                    </a>
+                </td>
+                <td>&nbsp;</td>
+                <td>
+                    <a href="[preferred]/directory/studio/stable/1.5.3.v20100330/ApacheDirectoryStudio-macosx-1.5.3.v20100330.dmg">
+                        <strong>
+                            [preferred]/&#91;...&#93;/ApacheDirectoryStudio-macosx-1.5.3.v20100330.dmg
+                        </strong>
+                    </a>
+                </td>
+                <td align="right">
+                    [<a href="http://archive.apache.org/dist/directory/studio/stable/1.5.3.v20100330/ApacheDirectoryStudio-macosx-1.5.3.v20100330.dmg.asc">ASC</a>-<a
href="http://archive.apache.org/dist/directory/studio/stable/1.5.3.v20100330/ApacheDirectoryStudio-macosx-1.5.3.v20100330.dmg.md5">MD5</a>]
+                </td>
+            </tr>
+        </table>
+    </div>
+</p>
+
+<p>
+    <form action="[location]" method="get" id="SelectMirror">
+        Other mirrors:
+        <select name="Preferred">
+            [if-any http]
+            <optgroup label="HTTP mirrors">
+                [for http]<option value="[http]">[http]</option>[end]
+            </potgroup>
+            [end]
+            [if-any ftp]
+            <optgroup label="FTP mirrors">
+                [for ftp]<option value="[ftp]">[ftp]</option>[end]
+            </potgroup>
+            [end]
+            [if-any backup]
+            <optgroup label="Backup mirrors">
+                [for backup]<option value="[backup]">[backup] (backup)</option>[end]
+            </potgroup>
+            [end]
+        </select>
+        <input type="submit" value="Change Mirror"/>
+    </form>
+</p>
\ No newline at end of file



Mime
View raw message