From dd6f52991979b4d49c37cb8d8298d86af9a4efa7 Mon Sep 17 00:00:00 2001 From: Marc Burns Date: Wed, 15 Feb 2012 16:08:01 -0500 Subject: [PATCH] Add registration page and mechanism for OpenCL contest. --- opencl/.htaccess | 2 ++ opencl/Makefile | 2 +- opencl/register-fail.xml | 17 +++++++++++++++ opencl/register-success.xml | 17 +++++++++++++++ opencl/register.cgi | 41 +++++++++++++++++++++++++++++++++++++ opencl/register.xml | 23 ++++++++++++++++++++- 6 files changed, 100 insertions(+), 2 deletions(-) create mode 100644 opencl/.htaccess create mode 100644 opencl/register-fail.xml create mode 100644 opencl/register-success.xml create mode 100755 opencl/register.cgi diff --git a/opencl/.htaccess b/opencl/.htaccess new file mode 100644 index 0000000..62e7e7f --- /dev/null +++ b/opencl/.htaccess @@ -0,0 +1,2 @@ +AddHandler cgi-script .cgi +Options +Indexes +ExecCGI diff --git a/opencl/Makefile b/opencl/Makefile index c9450fa..aa55fa0 100644 --- a/opencl/Makefile +++ b/opencl/Makefile @@ -1,3 +1,3 @@ -FILES = index.html register.html +FILES = index.html register.html register-fail.html register-success.html register.cgi .htaccess RELDIR = opencl/ include ../common.mk diff --git a/opencl/register-fail.xml b/opencl/register-fail.xml new file mode 100644 index 0000000..17ee20f --- /dev/null +++ b/opencl/register-fail.xml @@ -0,0 +1,17 @@ + + + + + +
+ +
+

+ + You didn't fill out all required information on the registration form. Please try again. + +

+
+ +