summaryrefslogtreecommitdiff
path: root/templates/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-03-07 11:49:29 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:04 +0100
commit8be5f9d036bad60cf9ad7169c3e7c356aeba55b6 (patch)
tree8b40ea5ad0eff4c827c6bf1cb91196d2ddf302ef /templates/cgi
parent099710cbc317afa3888509ee8b09d4d403ddf72f (diff)
downloadvyos-live-build-8be5f9d036bad60cf9ad7169c3e7c356aeba55b6.tar.gz
vyos-live-build-8be5f9d036bad60cf9ad7169c3e7c356aeba55b6.zip
Merging live-webhelper.
Diffstat (limited to 'templates/cgi')
-rw-r--r--templates/cgi/debian-official/build.html78
-rw-r--r--templates/cgi/debian-official/footer.html7
-rw-r--r--templates/cgi/debian-official/form.html338
-rw-r--r--templates/cgi/debian-official/header.html43
-rw-r--r--templates/cgi/debian-official/mail.txt16
-rw-r--r--templates/cgi/debian-unofficial/build.html85
-rw-r--r--templates/cgi/debian-unofficial/footer.html7
-rw-r--r--templates/cgi/debian-unofficial/form.html359
-rw-r--r--templates/cgi/debian-unofficial/header.html43
-rw-r--r--templates/cgi/debian-unofficial/mail.txt16
10 files changed, 992 insertions, 0 deletions
diff --git a/templates/cgi/debian-official/build.html b/templates/cgi/debian-official/build.html
new file mode 100644
index 000000000..f03df68de
--- /dev/null
+++ b/templates/cgi/debian-official/build.html
@@ -0,0 +1,78 @@
+<br />
+
+<h2>Your build 'BUILD' was recorded and will processed soon. Depending on the options you have selected, the build takes about between 5 and 20 minutes. You will be notified by email when the attempt has completed.</h2>
+
+<br />
+
+<h3>Your build will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
+
+<br />
+<br />
+
+<fieldset>
+
+<legend><b>Options</b></legend>
+
+<b>Standard options</b>
+
+<table>
+ <tr><td>Email: </td><td>EMAIL</td></tr>
+ <tr><td>--binary-image: </td><td>LH_BINARY_IMAGES</td></tr>
+ <tr><td>--distribution: </td><td>LH_DISTRIBUTION</td></tr>
+ <tr><td>--packages-lists: </td><td>LH_PACKAGES_LISTS</td></tr>
+ <tr><td>--packages: </td><td>LH_PACKAGES</td><tr>
+</table>
+
+<b>Advanced bootstrap options</b>
+
+<table>
+ <tr><td>--architecture: </td><td>LH_ARCHITECTURE</td></tr>
+ <tr><td>--bootstrap-flavour: </td><td>LH_BOOTSTRAP_FLAVOUR</td></tr>
+ <tr><td>--mirror-bootstrap: </td><td>LH_MIRROR_BOOTSTRAP</td></tr>
+ <tr><td>--mirror-bootstrap-security: </td><td>LH_MIRROR_BOOTSTRAP_SECURITY</td></tr>
+ <tr><td>--mirror-binary: </td><td>LH_MIRROR_BINARY</td></tr>
+ <tr><td>--mirror-binary-security: </td><td>LH_MIRROR_BINARY_SECURITY</td></tr>
+ <tr><td>--sections: </td><td>LH_SECTIONS</td></tr>
+</table>
+
+<b>Advanced chroot options</b>
+
+<table>
+ <tr><td>--chroot-fileystem: </td><td>LH_CHROOT_FILESYSTEM</td></tr>
+ <tr><td>--linux-flavours: </td><td>LH_LINUX_FLAVOURS</td></tr>
+ <tr><td>--security: </td><td>LH_SECURITY</td></tr>
+ <tr><td>--symlinks: </td><td>LH_SYMLINKS</td></tr>
+ <tr><td>--sysvinit: </td><td>LH_SYSVINIT</td></tr>
+</table>
+
+<b>Advanced binary options</b>
+
+<table>
+ <tr><td>--binary-indices: </td><td>LH_BINARY_INDICES</td></tr>
+ <tr><td>--bootappend: </td><td>LH_BOOTAPPEND</td></tr>
+ <tr><td>--bootloader: </td><td>LH_BOOTLOADER</td></tr>
+ <tr><td>--debian-installer: </td><td>LH_DEBIAN_INSTALLER</td></tr>
+ <tr><td>--encryption: </td><td>LH_ENCRYPTION</td></tr>
+ <tr><td>--hostname: </td><td>LH_HOSTNAME</td></tr>
+ <tr><td>--iso-application: </td><td>LH_ISO_APPLICATION</td></tr>
+ <tr><td>--iso-preparer: </td><td>LH_ISO_PREPARER</td></tr>
+ <tr><td>--iso-publisher: </td><td>LH_ISO_PUBLISHER</td></tr>
+ <tr><td>--iso-volume: </td><td>LH_ISO_VOLUME</td></tr>
+ <tr><td>--memtest: </td><td>LH_MEMTEST</td></tr>
+ <tr><td>--net-path: </td><td>LH_NET_ROOT_PATH</td></tr>
+ <tr><td>--net-server: </td><td>LH_NET_ROOT_SERVER</td></tr>
+ <tr><td>--username: </td><td>username</td></tr>
+</table>
+
+<b>Advanced source options</b>
+
+<table>
+ <tr><td>--source: </td><td>LH_SOURCE</td></tr>
+ <tr><td>--source-images: </td><td>LH_SOURCE_IMAGES</td></tr>
+</table>
+
+</fieldset>
+
+<br />
+
+<h2>Thank you for your submission.</h2>
diff --git a/templates/cgi/debian-official/footer.html b/templates/cgi/debian-official/footer.html
new file mode 100644
index 000000000..880028b3f
--- /dev/null
+++ b/templates/cgi/debian-official/footer.html
@@ -0,0 +1,7 @@
+<div id="footer">
+ live-webhelper, version VERSION<br />
+ Debian Live Project <a href="mailto:debian-live@lists.debian.org">&lt;debian-live@lists.debian.org&gt;</a> &mdash; <a href="http://debian-live.alioth.debian.org/legal.html">Legal information</a><br />
+</div>
+
+</body>
+</html>
diff --git a/templates/cgi/debian-official/form.html b/templates/cgi/debian-official/form.html
new file mode 100644
index 000000000..b523e9983
--- /dev/null
+++ b/templates/cgi/debian-official/form.html
@@ -0,0 +1,338 @@
+<br />
+
+<h2>Submit your parameters (<b>working</b> email address is required) to generate your very own Debian Live system.</h2>
+
+<br />
+<br />
+
+<form action="live-webhelper" method="get">
+
+<fieldset>
+
+<legend><b>Options</b></legend>
+
+<table>
+ <tr>
+ <td><label for="Email">Email Address:</label> </td>
+ <td><input id="Email" name="email" maxlength="50" size="50" type="text" /></td>
+ </tr>
+</table>
+
+<span id="click_1" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(1,"<b>Standard options</b>")'>
+ <b>Standard options</b><small>&nbsp;(click to collapse)</small>
+ <br />
+</span>
+
+<div id="text_1" style='margin-left:0;display:block'>
+ <table>
+ <tr>
+ <td><label for="Binary_Images">--binary-images:</label> </td>
+ <td>
+ <select id="Binary_Images" name="binary_images" size="1">
+ <option selected value="iso">iso</option>
+ <option value="net">net</option>
+ <option value="tar">tar</option>
+ <option value="usb-hdd">usb-hdd</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Distribution">--distribution:</label> </td>
+ <td>
+ <select id="Distribution" name="distribution" size="1">
+ <option value="etch">etch</option>
+ <option selected value="lenny">lenny</option>
+ <option value="squeeze">squeeze</option>
+ <option value="sid">sid</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Packages_Lists">--packages-lists:</label> </td>
+ <td>
+ <select id="Packages_Lists" name="packages_lists" size="1" >
+ <option value="gnome">gnome</option>
+ <option value="gnome-core">gnome-core</option>
+ <option value="gnome-desktop">gnome-desktop</option>
+ <option value="gnome-full">gnome-full</option>
+ <option value="gnome-junior">gnome-junior</option>
+ <option value="gnustep">gnustep</option>
+ <option value="kde">kde</option>
+ <option value="kde-core">kde-core</option>
+ <option value="kde-desktop">kde-desktop</option>
+ <option value="kde-extra">kde-extra</option>
+ <option value="kde-full">kde-full</option>
+ <option value="kde-junior">kde-junior</option>
+ <option value="mini">mini</option>
+ <option value="minimal">minimal</option>
+ <option value="rescue">rescue</option>
+ <option selected value="standard">standard</option>
+ <option value="standard-x11">standard-x11</option>
+ <option value="xfce">xfce</option>
+ <option value="xfce-desktop">xfce-desktop</option>
+ <option value="xfce-junior">xfce-junior</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Packages">--packages:</label> </td>
+ <td><input id="Packages" name="packages" maxlength="256" size="50" type="text" /></td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_2" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(2,"<b>Advanced bootstrap options</b>")'>
+ <b>Advanced bootstrap options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_2" style='margin-left:0;display:none'>
+ <table>
+ <tr>
+ <td><label for="Architecture">--architecture:</label> </td>
+ <td>
+ <select id="Architecture" name="architecture" size="1">
+ <option selected value="i386">i386</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_DISTRIBUTION -->
+ <!-- LIVE_DISTRIBUTION_CONFIG -->
+ <tr>
+ <td><label for="Bootstrap_Flavour">--bootstrap-flavour:</label> </td>
+ <td>
+ <select id="Bootstrap_Flavour" name="bootstrap_flavour" size="1">
+ <option value="minimal">minimal</option>
+ <option selected value="standard">standard</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Bootstrap">--mirror-bootstrap:</label> </td>
+ <td><input id="Mirror_Bootstrap" name="mirror_bootstrap" maxlength="256" size="50" type="text" value="LH_MIRROR_BOOTSTRAP" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Bootstrap_Security">--mirror-bootstrap-security:</label> </td>
+ <td><input id="Mirror_Bootstrap_Security" name="mirror_bootstrap_security" maxlength="256" size="50" type="text" value="LH_MIRROR_BOOTSTRAP_SECURITY" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Binary">--mirror-binary:</label> </td>
+ <td><input id="Mirror_Binary" name="mirror_binary" maxlength="256" size="50" type="text" value="LH_MIRROR_BINARY" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Binary_Security">--mirror-binary-security:</label> </td>
+ <td><input id="Mirror_Binary_Security" name="mirror_binary_security" maxlength="256" size="50" type="text" value="LH_MIRROR_BINARY_SECURITY" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Sections">--sections:</label> </td>
+ <td><input id="Sections" name="sections" maxlength="128" size="50" type="text" value="main" readonly /></td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_3" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(3,"<b>Advanced chroot options</b>")'>
+ <b>Advanced chroot options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_3" style='margin-left:0;display:none'>
+ <table>
+ <tr>
+ <td><label for="Chroot_Filesystem">--chroot-filesystem:</label> </td>
+ <td>
+ <select id="Chroot_Filesystem" name="chroot_filesystem" size="1">
+ <option value="ext2">ext2</option>
+ <option value="plain">plain</option>
+ <option selected value="squashfs">squashfs</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_HOOKS -->
+ <!-- LIVE_INTERACTIVE -->
+ <!-- LIVE_KEYRING_PACKAGES -->
+ <!-- LIVE_LANGUAGE -->
+ <tr>
+ <td><label for="Linux_Flavours">--linux-flavours:</label> </td>
+ <td>
+ <select id="Linux_Flavours" name="linux_flavours" size="1">
+ <option selected value="486">486</option>
+ <option value="686">686</option>
+ <option value="686-bigmem">686-bigmem</option>
+ <option value="amd64">amd64</option>
+ <option value="k7">k7</option>
+ <option value="vserver-686">vserver-686</option>
+ <option value="vserver-k7">vserver-k7</option>
+ <option value="xen-686">xen-686</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_LINUX_PACKAGES -->
+ <!-- LIVE_PACKAGES -->
+ <!-- LIVE_PACKAGES_LISTS -->
+ <!-- LIVE_TASKS -->
+ <tr>
+ <td><label for="Security">--security:</label> </td>
+ <td>
+ <select id="Security" name="security" size="1">
+ <option selected value="enabled">enabled</option>
+ <option value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Symlinks">--symlinks:</label> </td>
+ <td>
+ <select id="Symlinks" name="symlinks" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Sysvinit">--sysvinit:</label> </td>
+ <td>
+ <select id="Sysvinit" name="sysvinit" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_4" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(4,"<b>Advanced binary options</b>")'>
+ <b>Advanced binary options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_4" style='margin-left:0;display:none'>
+ <table>
+ <!-- LIVE_BINARY_IMAGES -->
+ <tr>
+ <td><label for="Binary_Indices">--binary-indices:</label> </td>
+ <td>
+ <select id="Binary_Indices" name="binary_indices" size="1">
+ <option selected value="enabled">enabled</option>
+ <option value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Bootappend">--bootappend:</label> </td>
+ <td><input id="Bootappend" name="bootappend" maxlength="256" size="50" type="text" value="" /></td>
+ </tr>
+ <tr>
+ <td><label for="Bootloader">--bootloader:</label> </td>
+ <td>
+ <select id="Bootloader" name="bootloader" size="1">
+ <option value="grub">grub</option>
+ <option selected value="syslinux">syslinux</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Debian_Installer">--debian-installer:</label> </td>
+ <td>
+ <select id="Debian_Installer" name="debian_installer" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Encryption">--encryption:</label> </td>
+ <td>
+ <select id="Encryption" name="encryption" size="1">
+ <option selected value="">none</option>
+ <option value="AES128">AES128</option>
+ <option value="AES192">AES192</option>
+ <option value="AES256">AES256</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_GRUB_SPLASH -->
+ <tr>
+ <td><label for="Hostname">--hostname:</label> </td>
+ <td><input id="Hostname" name="hostname" maxlength="128" size="50" type="text" value="debian" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Application">--iso-application:</label> </td>
+ <td><input id="Iso_Application" name="iso_application" maxlength="128" size="50" type="text" value="Debian Live" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Preparer">--iso-preparer:</label> </td>
+ <td><input id="Iso_Preparer" name="iso_preparer" maxlength="128" size="50" type="text" value="live-helper VERSION; http://packages.qa.debian.org/live-helper" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Publisher">--iso-publisher:</label> </td>
+ <td><input id="Iso_Publisher" name="iso_publisher" maxlength="128" size="50" type="text" value="Debian Live project; http://debian-live.alioth.debian.org/; debian-live@lists.debian.org" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Volume">--iso-volume:</label> </td>
+ <td><input id="Iso_Volume" name="iso_volume" maxlength="128" size="50" type="text" value="Debian Live DATE" /></td>
+ </tr>
+ <tr>
+ <td><label for="Memtest">--memtest:</label> </td>
+ <td>
+ <select id="Memtest" name="memtest" size="1">
+ <option value="memtest86">memtest86</option>
+ <option selected value="memtest86+">memtest86+</option>
+ <option value="none">none</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Net_Path">--net-path:</label> </td>
+ <td><input id="Net_Path" name="net_path" maxlength="256" size="50" type="text" value="/srv/debian-live" /></td>
+ </tr>
+ <tr>
+ <td><label for="Net_Server">--net-server:</label> </td>
+ <td><input id="Net_Server" name="net_server" maxlength="15" size="50" type="text" value="192.168.1.1" /></td>
+ </tr>
+ <!-- LIVE_SYSLINUX_SPLASH -->
+ <tr>
+ <td><label for="Username">--username:</label> </td>
+ <td><input id="Username" name="username" maxlength="128" size="50" type="text" value="user" /></td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_5" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(5,"<b>Advanced source options</b>")'>
+ <b>Advanced source options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_5" style='margin-left:0;display:none'>
+ <table>
+ <tr>
+ <td><label for="Source">--source:</label> </td>
+ <td>
+ <select id="Source" name="source" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Source_Images">--source-images:</label> </td>
+ <td>
+ <select id="Source_Images" name="source_images" size="1">
+ <option value="iso">iso</option>
+ <option value="net">net</option>
+ <option selected value="tar">tar</option>
+ <option value="usb-hdd">usb-hdd</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+</div>
+
+</fieldset>
+
+<br />
+
+<input type="reset" value="Reset" />
+&nbsp;
+<input type="submit" value="Submit" />
+
+</form>
diff --git a/templates/cgi/debian-official/header.html b/templates/cgi/debian-official/header.html
new file mode 100644
index 000000000..d52efa69e
--- /dev/null
+++ b/templates/cgi/debian-official/header.html
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+ <head>
+ <title>Debian Live Webhelper</title>
+ <link rel="icon" href="http://debian-live.alioth.debian.org/favicon.ico" type="image/ico">
+ <link rel="stylesheet" type="text/css" href="http://debian-live.alioth.debian.org/images/style.css" />
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
+ <meta name="keywords" content="Debian, Live, Project">
+ <meta name="description" content="The Debian Live Project">
+
+ <style type="text/css">
+ label { cursor:pointer; }
+ </style>
+
+ <script type="text/javascript" language="JavaScript">
+ function collapse(x, txt)
+ {
+ var oTemp=document.getElementById("text_"+x);
+ var oClick=document.getElementById("click_"+x);
+ if (oTemp.style.display=="block")
+ {
+ oTemp.style.display="none";
+ oClick.innerHTML=txt+"&nbsp<small>(click to expand)<\/small><br \/>";
+ }
+ else
+ {
+ oTemp.style.display="block";
+ oClick.innerHTML=txt+"&nbsp<small>(click to collapse)<\/small><br \/>";
+ }
+ }
+ </script>
+ </head>
+<body>
+
+<div id="header">
+ <div id="debianlogo"><img src="http://debian-live.alioth.debian.org/images/debian.png" alt="Debian logo" width="56" height="70"></div>
+ <div id="headertitle"><a href="http://debian-live.alioth.debian.org/" title="http://debian-live.alioth.debian.org/">Debian Live</a></div>
+ <div id="headersubtitle">Live Debian systems!</div>
+</div>
+
+<div id="maincontent" style="margin: 0 0 0 0;">
+ <h1>This is webhelper of the <a href="http://debian-live.alioth.debian.org/">Debian Live</a> project.</h1>
+</div>
diff --git a/templates/cgi/debian-official/mail.txt b/templates/cgi/debian-official/mail.txt
new file mode 100644
index 000000000..f0e8222c1
--- /dev/null
+++ b/templates/cgi/debian-official/mail.txt
@@ -0,0 +1,16 @@
+Subject: Debian Live Webhelper - Build BUILD
+From: Debian Live Webhelper <debian-live@lists.debian.org>
+To: EMAIL
+
+Hi,
+
+This is webhelper of the Debian Live project <http://debian-live.alioth.debian.org/>.
+
+Your build BUILD was started DATE_START and ended DATE_END with status 'STATUS'.
+
+You can see the log file and download the images from <SERVER/BUILD/>.
+
+Note that builds are removed after 24 hours.
+
+Have fun,
+The Debian Live Team
diff --git a/templates/cgi/debian-unofficial/build.html b/templates/cgi/debian-unofficial/build.html
new file mode 100644
index 000000000..19bc255b9
--- /dev/null
+++ b/templates/cgi/debian-unofficial/build.html
@@ -0,0 +1,85 @@
+<br />
+
+<h2>Your build 'BUILD' was recorded and will processed soon. Depending on the options you have selected, the build takes about between 5 and 20 minutes. You will be notified by email when the attempt has completed.</h2>
+
+<br />
+
+<h3>Your build will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
+
+<br />
+<br />
+
+<fieldset>
+
+<legend><b>Options</b></legend>
+
+<b>Standard options</b>
+
+<table>
+ <tr><td>Email: </td><td>EMAIL</td></tr>
+ <tr><td>--binary-image: </td><td>LH_BINARY_IMAGES</td></tr>
+ <tr><td>--distribution: </td><td>LH_DISTRIBUTION</td></tr>
+ <tr><td>--packages-lists: </td><td>LH_PACKAGES_LISTS</td></tr>
+ <tr><td>--packages: </td><td>LH_PACKAGES</td><tr>
+</table>
+
+<b>Advanced bootstrap options</b>
+
+<table>
+ <tr><td>--architecture: </td><td>LH_ARCHITECTURE</td></tr>
+ <tr><td>--bootstrap-flavour: </td><td>LH_BOOTSTRAP_FLAVOUR</td></tr>
+ <tr><td>--mirror-bootstrap: </td><td>LH_MIRROR_BOOTSTRAP</td></tr>
+ <tr><td>--mirror-bootstrap-security: </td><td>LH_MIRROR_BOOTSTRAP_SECURITY</td></tr>
+ <tr><td>--mirror-binary: </td><td>LH_MIRROR_BINARY</td></tr>
+ <tr><td>--mirror-binary-security: </td><td>LH_MIRROR_BINARY_SECURITY</td></tr>
+ <tr><td>--sections: </td><td>LH_SECTIONS</td></tr>
+</table>
+
+<b>Advanced chroot options</b>
+
+<table>
+ <tr><td>--chroot-fileystem: </td><td>LH_CHROOT_FILESYSTEM</td></tr>
+ <tr><td>--linux-flavours: </td><td>LH_LINUX_FLAVOURS</td></tr>
+ <tr><td>--security: </td><td>LH_SECURITY</td></tr>
+ <tr><td>--symlinks: </td><td>LH_SYMLINKS</td></tr>
+ <tr><td>--sysvinit: </td><td>LH_SYSVINIT</td></tr>
+</table>
+
+<b>Advanced binary options</b>
+
+<table>
+ <tr><td>--binary-indices: </td><td>LH_BINARY_INDICES</td></tr>
+ <tr><td>--bootappend: </td><td>LH_BOOTAPPEND</td></tr>
+ <tr><td>--bootloader: </td><td>LH_BOOTLOADER</td></tr>
+ <tr><td>--debian-installer: </td><td>LH_DEBIAN_INSTALLER</td></tr>
+ <tr><td>--encryption: </td><td>LH_ENCRYPTION</td></tr>
+ <tr><td>--hostname: </td><td>LH_HOSTNAME</td></tr>
+ <tr><td>--iso-application: </td><td>LH_ISO_APPLICATION</td></tr>
+ <tr><td>--iso-preparer: </td><td>LH_ISO_PREPARER</td></tr>
+ <tr><td>--iso-publisher: </td><td>LH_ISO_PUBLISHER</td></tr>
+ <tr><td>--iso-volume: </td><td>LH_ISO_VOLUME</td></tr>
+ <tr><td>--memtest: </td><td>LH_MEMTEST</td></tr>
+ <tr><td>--net-path: </td><td>LH_NET_ROOT_PATH</td></tr>
+ <tr><td>--net-server: </td><td>LH_NET_ROOT_SERVER</td></tr>
+ <tr><td>--username: </td><td>username</td></tr>
+</table>
+
+<b>Advanced source options</b>
+
+<table>
+ <tr><td>--source: </td><td>LH_SOURCE</td></tr>
+ <tr><td>--source-images: </td><td>LH_SOURCE_IMAGES</td></tr>
+</table>
+
+<b>Unofficial options</b>
+
+<table>
+ <tr><td>custom.bootstrap: </td><td>CUSTOM_BOOTSTRAP</td></tr>
+ <tr><td>custom.binary: </td><td>CUSTOM_BINARY</td></tr>
+</table>
+
+</fieldset>
+
+<br />
+
+<h2>Thank you for your submission.</h2>
diff --git a/templates/cgi/debian-unofficial/footer.html b/templates/cgi/debian-unofficial/footer.html
new file mode 100644
index 000000000..880028b3f
--- /dev/null
+++ b/templates/cgi/debian-unofficial/footer.html
@@ -0,0 +1,7 @@
+<div id="footer">
+ live-webhelper, version VERSION<br />
+ Debian Live Project <a href="mailto:debian-live@lists.debian.org">&lt;debian-live@lists.debian.org&gt;</a> &mdash; <a href="http://debian-live.alioth.debian.org/legal.html">Legal information</a><br />
+</div>
+
+</body>
+</html>
diff --git a/templates/cgi/debian-unofficial/form.html b/templates/cgi/debian-unofficial/form.html
new file mode 100644
index 000000000..ffd6db6fe
--- /dev/null
+++ b/templates/cgi/debian-unofficial/form.html
@@ -0,0 +1,359 @@
+<br />
+
+<h2>Submit your parameters (<b>working</b> email address is required) to generate your very own Debian Live system.</h2>
+
+<br />
+<br />
+
+<form action="live-webhelper" method="get">
+
+<fieldset>
+
+<legend><b>Options</b></legend>
+
+<table>
+ <tr>
+ <td><label for="Email">Email Address:</label> </td>
+ <td><input id="Email" name="email" maxlength="50" size="50" type="text" /></td>
+ </tr>
+</table>
+
+<span id="click_1" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(1,"<b>Standard options</b>")'>
+ <b>Standard options</b><small>&nbsp;(click to collapse)</small>
+ <br />
+</span>
+
+<div id="text_1" style='margin-left:0;display:block'>
+ <table>
+ <tr>
+ <td><label for="Binary_Images">--binary-images:</label> </td>
+ <td>
+ <select id="Binary_Images" name="binary_images" size="1">
+ <option selected value="iso">iso</option>
+ <option value="net">net</option>
+ <option value="tar">tar</option>
+ <option value="usb-hdd">usb-hdd</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Distribution">--distribution:</label> </td>
+ <td>
+ <select id="Distribution" name="distribution" size="1">
+ <option value="etch">etch</option>
+ <option selected value="lenny">lenny</option>
+ <option value="squeeze">squeeze</option>
+ <option value="sid">sid</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Packages_Lists">--packages-lists:</label> </td>
+ <td>
+ <select id="Packages_Lists" name="packages_lists" size="1" >
+ <option value="gnome">gnome</option>
+ <option value="gnome-core">gnome-core</option>
+ <option value="gnome-desktop">gnome-desktop</option>
+ <option value="gnome-full">gnome-full</option>
+ <option value="gnome-junior">gnome-junior</option>
+ <option value="gnustep">gnustep</option>
+ <option value="kde">kde</option>
+ <option value="kde-core">kde-core</option>
+ <option value="kde-desktop">kde-desktop</option>
+ <option value="kde-extra">kde-extra</option>
+ <option value="kde-full">kde-full</option>
+ <option value="kde-junior">kde-junior</option>
+ <option value="mini">mini</option>
+ <option value="minimal">minimal</option>
+ <option value="rescue">rescue</option>
+ <option selected value="standard">standard</option>
+ <option value="standard-x11">standard-x11</option>
+ <option value="xfce">xfce</option>
+ <option value="xfce-desktop">xfce-desktop</option>
+ <option value="xfce-junior">xfce-junior</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Packages">--packages:</label> </td>
+ <td><input id="Packages" name="packages" maxlength="256" size="50" type="text" /></td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_2" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(2,"<b>Advanced bootstrap options</b>")'>
+ <b>Advanced bootstrap options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_2" style='margin-left:0;display:none'>
+ <table>
+ <tr>
+ <td><label for="Architecture">--architecture:</label> </td>
+ <td>
+ <select id="Architecture" name="architecture" size="1">
+ <option selected value="i386">i386</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_DISTRIBUTION -->
+ <!-- LIVE_DISTRIBUTION_CONFIG -->
+ <tr>
+ <td><label for="Bootstrap_Flavour">--bootstrap-flavour:</label> </td>
+ <td>
+ <select id="Bootstrap_Flavour" name="bootstrap_flavour" size="1">
+ <option value="minimal">minimal</option>
+ <option selected value="standard">standard</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Bootstrap">--mirror-bootstrap:</label> </td>
+ <td><input id="Mirror_Bootstrap" name="mirror_bootstrap" maxlength="256" size="50" type="text" value="LH_MIRROR_BOOTSTRAP" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Bootstrap_Security">--mirror-bootstrap-security:</label> </td>
+ <td><input id="Mirror_Bootstrap_Security" name="mirror_bootstrap_security" maxlength="256" size="50" type="text" value="LH_MIRROR_BOOTSTRAP_SECURITY" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Binary">--mirror-binary:</label> </td>
+ <td><input id="Mirror_Binary" name="mirror_binary" maxlength="256" size="50" type="text" value="LH_MIRROR_BINARY" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Mirror_Binary_Security">--mirror-binary-security:</label> </td>
+ <td><input id="Mirror_Binary_Security" name="mirror_binary_security" maxlength="256" size="50" type="text" value="LH_MIRROR_BINARY_SECURITY" readonly /></td>
+ </tr>
+ <tr>
+ <td><label for="Sections">--sections:</label> </td>
+ <td><input id="Sections" name="sections" maxlength="128" size="50" type="text" value="main" readonly /></td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_3" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(3,"<b>Advanced chroot options</b>")'>
+ <b>Advanced chroot options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_3" style='margin-left:0;display:none'>
+ <table>
+ <tr>
+ <td><label for="Chroot_Filesystem">--chroot-filesystem:</label> </td>
+ <td>
+ <select id="Chroot_Filesystem" name="chroot_filesystem" size="1">
+ <option value="ext2">ext2</option>
+ <option value="plain">plain</option>
+ <option selected value="squashfs">squashfs</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_HOOKS -->
+ <!-- LIVE_INTERACTIVE -->
+ <!-- LIVE_KEYRING_PACKAGES -->
+ <!-- LIVE_LANGUAGE -->
+ <tr>
+ <td><label for="Linux_Flavours">--linux-flavours:</label> </td>
+ <td>
+ <select id="Linux_Flavours" name="linux_flavours" size="1">
+ <option selected value="486">486</option>
+ <option value="686">686</option>
+ <option value="686-bigmem">686-bigmem</option>
+ <option value="amd64">amd64</option>
+ <option value="k7">k7</option>
+ <option value="vserver-686">vserver-686</option>
+ <option value="vserver-k7">vserver-k7</option>
+ <option value="xen-686">xen-686</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_LINUX_PACKAGES -->
+ <!-- LIVE_PACKAGES -->
+ <!-- LIVE_PACKAGES_LISTS -->
+ <!-- LIVE_TASKS -->
+ <tr>
+ <td><label for="Security">--security:</label> </td>
+ <td>
+ <select id="Security" name="security" size="1">
+ <option selected value="enabled">enabled</option>
+ <option value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Symlinks">--symlinks:</label> </td>
+ <td>
+ <select id="Symlinks" name="symlinks" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Sysvinit">--sysvinit:</label> </td>
+ <td>
+ <select id="Sysvinit" name="sysvinit" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_4" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(4,"<b>Advanced binary options</b>")'>
+ <b>Advanced binary options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_4" style='margin-left:0;display:none'>
+ <table>
+ <!-- LIVE_BINARY_IMAGES -->
+ <tr>
+ <td><label for="Binary_Indices">--binary-indices:</label> </td>
+ <td>
+ <select id="Binary_Indices" name="binary_indices" size="1">
+ <option selected value="enabled">enabled</option>
+ <option value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Bootappend">--bootappend:</label> </td>
+ <td><input id="Bootappend" name="bootappend" maxlength="256" size="50" type="text" value="" /></td>
+ </tr>
+ <tr>
+ <td><label for="Bootloader">--bootloader:</label> </td>
+ <td>
+ <select id="Bootloader" name="bootloader" size="1">
+ <option value="grub">grub</option>
+ <option selected value="syslinux">syslinux</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Debian_Installer">--debian-installer:</label> </td>
+ <td>
+ <select id="Debian_Installer" name="debian_installer" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Encryption">--encryption:</label> </td>
+ <td>
+ <select id="Encryption" name="encryption" size="1">
+ <option selected value="">none</option>
+ <option value="AES128">AES128</option>
+ <option value="AES192">AES192</option>
+ <option value="AES256">AES256</option>
+ </select>
+ </td>
+ </tr>
+ <!-- LIVE_GRUB_SPLASH -->
+ <tr>
+ <td><label for="Hostname">--hostname:</label> </td>
+ <td><input id="Hostname" name="hostname" maxlength="128" size="50" type="text" value="debian" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Application">--iso-application:</label> </td>
+ <td><input id="Iso_Application" name="iso_application" maxlength="128" size="50" type="text" value="Debian Live" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Preparer">--iso-preparer:</label> </td>
+ <td><input id="Iso_Preparer" name="iso_preparer" maxlength="128" size="50" type="text" value="live-helper VERSION; http://packages.qa.debian.org/live-helper" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Publisher">--iso-publisher:</label> </td>
+ <td><input id="Iso_Publisher" name="iso_publisher" maxlength="128" size="50" type="text" value="Debian Live project; http://debian-live.alioth.debian.org/; debian-live@lists.debian.org" /></td>
+ </tr>
+ <tr>
+ <td><label for="Iso_Volume">--iso-volume:</label> </td>
+ <td><input id="Iso_Volume" name="iso_volume" maxlength="128" size="50" type="text" value="Debian Live DATE" /></td>
+ </tr>
+ <tr>
+ <td><label for="Memtest">--memtest:</label> </td>
+ <td>
+ <select id="Memtest" name="memtest" size="1">
+ <option value="memtest86">memtest86</option>
+ <option selected value="memtest86+">memtest86+</option>
+ <option value="none">none</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Net_Path">--net-path:</label> </td>
+ <td><input id="Net_Path" name="net_path" maxlength="256" size="50" type="text" value="/srv/debian-live" /></td>
+ </tr>
+ <tr>
+ <td><label for="Net_Server">--net-server:</label> </td>
+ <td><input id="Net_Server" name="net_server" maxlength="15" size="50" type="text" value="192.168.1.1" /></td>
+ </tr>
+ <!-- LIVE_SYSLINUX_SPLASH -->
+ <tr>
+ <td><label for="Username">--username:</label> </td>
+ <td><input id="Username" name="username" maxlength="128" size="50" type="text" value="user" /></td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_5" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(5,"<b>Advanced source options</b>")'>
+ <b>Advanced source options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_5" style='margin-left:0;display:none'>
+ <table>
+ <tr>
+ <td><label for="Source">--source:</label> </td>
+ <td>
+ <select id="Source" name="source" size="1">
+ <option value="enabled">enabled</option>
+ <option selected value="disabled">disabled</option>
+ </select>
+ </td>
+ </tr>
+ <tr>
+ <td><label for="Source_Images">--source-images:</label> </td>
+ <td>
+ <select id="Source_Images" name="source_images" size="1">
+ <option value="iso">iso</option>
+ <option value="net">net</option>
+ <option selected value="tar">tar</option>
+ <option value="usb-hdd">usb-hdd</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+</div>
+
+<span id="click_6" onmouseover='javascript:objectOver(this)' onmouseout='javascript:objectOut(this)' onclick='javascript:collapse(6,"<b>Unofficial options</b>")'>
+ <b>Unofficial options</b><small>&nbsp;(click to expand)</small>
+ <br />
+</span>
+
+<div id="text_6" style='margin-left:0;display:none'>
+ <li> With custom.bootstrap the repository will be available at build time, so you just have to list the packages you want in packages. See "Standard options" above.</li>
+ <li> With custom.binary the repository will be added to your live-system's /etc/apt/sources.list .</li>
+ <li> Example custom.{bootstrap,binary}: deb http://live.debian.net/debian/ etch main</li>
+ <table>
+ <tr>
+ <td><label for="Custom_Bootstrap">custom.bootstrap:</label> </td>
+ <td><input id="Custom_Bootstrap" name="custom_bootstrap" maxlength="128" size="50" type="text" /></td>
+ </tr>
+ <tr>
+ <td><label for="Custom_Binary">custom.binary:</label> </td>
+ <td><input id="Custom_Binary" name="custom_binary" maxlength="128" size="50" type="text" /></td>
+ </tr>
+ </table>
+</div>
+
+</fieldset>
+
+<br />
+
+<input type="reset" value="Reset" />
+&nbsp;
+<input type="submit" value="Submit" />
+
+</form>
diff --git a/templates/cgi/debian-unofficial/header.html b/templates/cgi/debian-unofficial/header.html
new file mode 100644
index 000000000..d52efa69e
--- /dev/null
+++ b/templates/cgi/debian-unofficial/header.html
@@ -0,0 +1,43 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
+<html>
+ <head>
+ <title>Debian Live Webhelper</title>
+ <link rel="icon" href="http://debian-live.alioth.debian.org/favicon.ico" type="image/ico">
+ <link rel="stylesheet" type="text/css" href="http://debian-live.alioth.debian.org/images/style.css" />
+ <meta http-equiv="content-type" content="text/html; charset=iso-8859-15">
+ <meta name="keywords" content="Debian, Live, Project">
+ <meta name="description" content="The Debian Live Project">
+
+ <style type="text/css">
+ label { cursor:pointer; }
+ </style>
+
+ <script type="text/javascript" language="JavaScript">
+ function collapse(x, txt)
+ {
+ var oTemp=document.getElementById("text_"+x);
+ var oClick=document.getElementById("click_"+x);
+ if (oTemp.style.display=="block")
+ {
+ oTemp.style.display="none";
+ oClick.innerHTML=txt+"&nbsp<small>(click to expand)<\/small><br \/>";
+ }
+ else
+ {
+ oTemp.style.display="block";
+ oClick.innerHTML=txt+"&nbsp<small>(click to collapse)<\/small><br \/>";
+ }
+ }
+ </script>
+ </head>
+<body>
+
+<div id="header">
+ <div id="debianlogo"><img src="http://debian-live.alioth.debian.org/images/debian.png" alt="Debian logo" width="56" height="70"></div>
+ <div id="headertitle"><a href="http://debian-live.alioth.debian.org/" title="http://debian-live.alioth.debian.org/">Debian Live</a></div>
+ <div id="headersubtitle">Live Debian systems!</div>
+</div>
+
+<div id="maincontent" style="margin: 0 0 0 0;">
+ <h1>This is webhelper of the <a href="http://debian-live.alioth.debian.org/">Debian Live</a> project.</h1>
+</div>
diff --git a/templates/cgi/debian-unofficial/mail.txt b/templates/cgi/debian-unofficial/mail.txt
new file mode 100644
index 000000000..f0e8222c1
--- /dev/null
+++ b/templates/cgi/debian-unofficial/mail.txt
@@ -0,0 +1,16 @@
+Subject: Debian Live Webhelper - Build BUILD
+From: Debian Live Webhelper <debian-live@lists.debian.org>
+To: EMAIL
+
+Hi,
+
+This is webhelper of the Debian Live project <http://debian-live.alioth.debian.org/>.
+
+Your build BUILD was started DATE_START and ended DATE_END with status 'STATUS'.
+
+You can see the log file and download the images from <SERVER/BUILD/>.
+
+Note that builds are removed after 24 hours.
+
+Have fun,
+The Debian Live Team