summaryrefslogtreecommitdiff
path: root/templates/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2015-04-27 11:01:01 +0200
committerDaniel Baumann <mail@daniel-baumann.ch>2015-04-28 07:58:14 +0200
commit58bdabe1391f37a9a9e441ce42ef48bd11944843 (patch)
tree5e7bb24c7a43b126c93830b5fce7490bf7b41b2f /templates/cgi
parentd32a3ed292b14f93edf3346cc6dd899c1f33832b (diff)
downloadvyos-live-build-58bdabe1391f37a9a9e441ce42ef48bd11944843.tar.gz
vyos-live-build-58bdabe1391f37a9a9e441ce42ef48bd11944843.zip
Moving cgi to its own source package.
Diffstat (limited to 'templates/cgi')
-rw-r--r--templates/cgi/debian/build.html67
-rw-r--r--templates/cgi/debian/footer.html16
-rw-r--r--templates/cgi/debian/form.html272
-rw-r--r--templates/cgi/debian/header.html63
-rw-r--r--templates/cgi/debian/mail.txt18
-rw-r--r--templates/cgi/debian/status.html64
6 files changed, 0 insertions, 500 deletions
diff --git a/templates/cgi/debian/build.html b/templates/cgi/debian/build.html
deleted file mode 100644
index 0a95615b7..000000000
--- a/templates/cgi/debian/build.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<br />
-
-<h3>Your build 'BUILD' was recorded and will be processed soon. Depending on the options you have selected, a build attempt generally takes between 5 and 60 minutes to complete. Currently there are 'QUEUENUM' pending build(s) to be processed ahead of your request. You will be notified by email when the attempt has completed.</h3>
-
-<h3>Your build build status is available at: <a href="SERVER/../cgi-bin/live-build-status?cgi_build=BUILD">SERVER/../cgi-bin/live-build-status?cgi_build=BUILD</a>.</h3>
-
-<h3>Your build upon completion will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
-
-<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>LB_BINARY_IMAGES</td></tr>
- <tr><td>--distribution: </td><td>LB_DISTRIBUTION</td></tr>
- <tr><td>--config: </td><td>_LB_CONFIG</td></tr>
- <tr><td>--apt: </td><td>LB_APT</td></tr>
- <tr><td>cgipackages.list.chroot: </td><td>_LB_CGIPACKAGES</td><tr>
-</table>
-
-<b>Advanced bootstrap options</b>
-
-<table>
- <tr><td>--architectures: </td><td>LB_ARCHITECTURES</td></tr>
- <tr><td>--archive-areas: </td><td>LB_ARCHIVE_AREAS</td></tr>
-</table>
-
-<b>Advanced chroot options</b>
-
-<table>
- <tr><td>--chroot-fileystem: </td><td>LB_CHROOT_FILESYSTEM</td></tr>
- <tr><td>--linux-flavours: </td><td>LB_LINUX_FLAVOURS</td></tr>
- <tr><td>--security: </td><td>LB_SECURITY</td></tr>
-</table>
-
-<b>Advanced binary options</b>
-
-<table>
- <tr><td>--apt-indices: </td><td>LB_APT_INDICES</td></tr>
- <tr><td>--bootappend-live: </td><td>LB_BOOTAPPEND_LIVE</td></tr>
- <tr><td>--bootloader: </td><td>LB_BOOTLOADER</td></tr>
- <tr><td>--debian-installer: </td><td>LB_DEBIAN_INSTALLER</td></tr>
- <tr><td>--bootappend-install: </td><td>LB_BOOTAPPEND_INSTALL</td></tr>
- <tr><td>--iso-application: </td><td>LB_ISO_APPLICATION</td></tr>
- <tr><td>--iso-preparer: </td><td>LB_ISO_PREPARER</td></tr>
- <tr><td>--iso-publisher: </td><td>LB_ISO_PUBLISHER</td></tr>
- <tr><td>--iso-volume: </td><td>LB_ISO_VOLUME</td></tr>
- <tr><td>--memtest: </td><td>LB_MEMTEST</td></tr>
- <tr><td>--net-path: </td><td>LB_NET_ROOT_PATH</td></tr>
- <tr><td>--net-server: </td><td>LB_NET_ROOT_SERVER</td></tr>
-</table>
-
-<b>Advanced source options</b>
-
-<table>
- <tr><td>--source: </td><td>LB_SOURCE</td></tr>
- <tr><td>--source-images: </td><td>LB_SOURCE_IMAGES</td></tr>
-</table>
-
-</fieldset>
-
-<br />
-
-<h3>Thank you for your submission.</h3>
diff --git a/templates/cgi/debian/footer.html b/templates/cgi/debian/footer.html
deleted file mode 100644
index 517fc5949..000000000
--- a/templates/cgi/debian/footer.html
+++ /dev/null
@@ -1,16 +0,0 @@
- <hr />
-
- <footer>
- <p><div class="muted">2006-2015 <a class="muted" href="mailto:debian-live@lists.debian.org?subject=Live Systems Project:%20Feedback">Live Systems Project</a> live-build VERSION <a class="muted pull-right" href="http://live-systems.org/project/legal/">Legal Information</a></p>
- </footer>
- </div> <!-- /container -->
-
-
- <!-- Bootstrap core JavaScript
- ================================================== -->
- <!-- Placed at the end of the document so the pages load faster -->
- <script src="http://live-systems.org/stuff/jquery/jquery.min.js"></script>
- <script src="http://live-systems.org/stuff/bootstrap/js/bootstrap.min.js"></script>
- <script src="http://live-systems.org/stuff/bootstrap/table.js"></script>
- </body>
-</html>
diff --git a/templates/cgi/debian/form.html b/templates/cgi/debian/form.html
deleted file mode 100644
index 59e4a6d9d..000000000
--- a/templates/cgi/debian/form.html
+++ /dev/null
@@ -1,272 +0,0 @@
-<h3>Submit your parameters (<b>working</b> email address is required) to generate your very own live system.</h3>
-
-<form action="live-build" method="post">
-
-<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 value="iso">iso</option>
- <option selected value="iso-hybrid">iso-hybrid</option>
- <option value="netboot">netboot</option>
- <option value="tar">tar</option>
- <option value="hdd">hdd</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="Distribution">--distribution:</label> </td>
- <td>
- <select id="Distribution" name="distribution" size="1">
- <option selected value="jessie">jessie</option>
- <option value="stretch">stretch</option>
- <option value="sid">sid</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="Config">--config:</label> </td>
- <td>
- <select id="Config" name="config" size="1" >
- <option value="cinnamon-desktop">Cinnamon Desktop</option>
- <option value="gnome-desktop">GNOME Desktop</option>
- <option value="kde-desktop">KDE Desktop</option>
- <option value="lxde-desktop">LXDE Desktop</option>
- <option value="mate-desktop">Mate Desktop</option>
- <option selected value="standard">Standard</option>
- <option value="xfce-desktop">Xfce Desktop</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="Apt">--apt:</label> </td>
- <td>
- <select id="Apt" name="apt" size="1" >
- <option selected value="apt">apt</option>
- <option value="aptitude">aptitude</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="Packages">cgipackages.list.chroot:</label> </td>
- <td><input id="Packages" name="cgipackages" maxlength="2000" 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="Architectures">--architectures:</label> </td>
- <td>
- <select id="Architectures" name="architectures" size="1">
- <option value="amd64">amd64</option>
- <option selected value="i386">i386</option>
- </select>
- </td>
- </tr>
- <!-- LIVE_DISTRIBUTION -->
- <!-- LIVE_DISTRIBUTION_CONFIG -->
- <tr>
- <td><label for="Archive_Areas">--archive-areas:</label> </td>
- <td><input id="Archive_Areas" name="archive_areas" 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-pae">686-pae</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 -->
- <tr>
- <td><label for="Security">--security:</label> </td>
- <td>
- <select id="Security" name="security" size="1">
- <option selected value="true">true</option>
- <option value="false">false</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="Apt_Indices">--apt-indices:</label> </td>
- <td>
- <select id="Apt_Indices" name="apt_indices" size="1">
- <option selected value="true">true</option>
- <option value="false">false</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="Bootappend_Live">--bootappend-live:</label> </td>
- <td><input id="Bootappend_Live" name="bootappend_live" 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 value="grub2">grub2</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="true">true</option>
- <option selected value="false">false</option>
- <option value="live">live</option>
- </select>
- </td>
- </tr>
- <tr>
- <td><label for="Bootappend_Install">--bootappend-install:</label> </td>
- <td><input id="Bootappend_Install" name="bootappend_install" maxlength="256" size="50" type="text" value="" /></td>
- </tr>
- <!-- LIVE_GRUB_SPLASH -->
- <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-build; http://live-systems.org/devel/live-build/" /></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="Live Systems project; http://live-systems.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 -->
- </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="true">true</option>
- <option selected value="false">false</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="hdd">hdd</option>
- </select>
- </td>
- </tr>
- </table>
-</div>
-
-</fieldset>
-
-<br />
-
-<input type="reset" value="Reset" />
-&nbsp;
-<input type="submit" value="Submit" />
-&nbsp;
-
-</form>
diff --git a/templates/cgi/debian/header.html b/templates/cgi/debian/header.html
deleted file mode 100644
index 383e2abd6..000000000
--- a/templates/cgi/debian/header.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="Live Systems Project">
- <meta name="author" content="Live Systems Project <debian-live@lists.debian.org>">
- <!-- <meta name="keywords" content="Live Systems, free software, open source software, Debian, GNU, Linux"> -->
- <link rel="shortcut icon" href="http://live-systems.org/images/logo-32.png">
-
- <title>Live Systems Project</title>
-
- <!-- Bootstrap core CSS -->
- <link href="http://live-systems.org/stuff/bootstrap/css/bootstrap.min.css" rel="stylesheet">
- <link href="http://live-systems.org/stuff/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
-
- <!-- Custom styles for this template -->
- <link href="http://live-systems.org/stuff/bootstrap/navbar.css" rel="stylesheet">
- <link href="http://live-systems.org/stuff/bootstrap/label.css" rel="stylesheet">
-
- <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
- <!--[if lt IE 9]>
- <script src="http://live-systems.org/stuff/html5shiv/html5shiv.min.js"></script>
- <script src="http://live-systems.org/stuff/respond/respond.min.js"></script>
- <![endif]-->
-
- <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 class="container">
-
- <!-- Static navbar -->
- <div class="navbar navbar-default">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="/"><strong>Live</strong> Systems</a>
- </div>
- <div class="navbar-collapse collapse">
- <ul class="nav navbar-nav navbar-right">
- <li class="active"><a href="/">Build</a></li>
- <li><a href="http://live-systems.org/">WWW</a></li>
- </ul>
- </div><!--/.nav-collapse -->
- </div>
diff --git a/templates/cgi/debian/mail.txt b/templates/cgi/debian/mail.txt
deleted file mode 100644
index c4ecc4b38..000000000
--- a/templates/cgi/debian/mail.txt
+++ /dev/null
@@ -1,18 +0,0 @@
-Subject: Live Systems, live-build web-frontend - Build BUILD
-From: Live Systems live-build web-frontend <debian-live@lists.debian.org>
-To: EMAIL
-
-Hi,
-
-This is live-build web-frontend <http://live-build.debian.net/> of the Live Systems project <http://live-systems.org/>.
-
-Your build BUILD was started DATE_START and ended DATE_END with status 'STATUS'.
-
-You can see the log file and download the image from <SERVER/BUILD/>.
-
-Note that builds are removed after 24 hours.
-
-Feedback about all Live Systems matters can be sent to our mailinglist at debian-live@lists.debian.org (no subscription required).
-
-Have fun,
-The Live Systems Team
diff --git a/templates/cgi/debian/status.html b/templates/cgi/debian/status.html
deleted file mode 100644
index 2094022b2..000000000
--- a/templates/cgi/debian/status.html
+++ /dev/null
@@ -1,64 +0,0 @@
-<br />
-
-<h3>Build 'BUILD' shows a status of <b>STATUS</b>. Depending on the options you have selected, upon build showing a status of running it generally takes between 5 and 60 minutes to complete. Currently there are 'PNUM' build(s) being processed and 'QUEUENUM' pending build(s) waiting to be processed on the server. You will be notified by email when the attempt has completed.</h3>
-
-<h3>Your build when completed will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</h3>
-
-<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>LB_BINARY_IMAGES</td></tr>
- <tr><td>--distribution: </td><td>LB_DISTRIBUTION</td></tr>
- <tr><td>--config: </td><td>_LB_CONFIG</td></tr>
- <tr><td>--apt: </td><td>LB_APT</td></tr>
- <tr><td>cgipackages.list.chroot: </td><td>_LB_CGIPACKAGES</td><tr>
-</table>
-
-<b>Advanced bootstrap options</b>
-
-<table>
- <tr><td>--architectures: </td><td>LB_ARCHITECTURES</td></tr>
- <tr><td>--archive-areas: </td><td>LB_ARCHIVE_AREAS</td></tr>
-</table>
-
-<b>Advanced chroot options</b>
-
-<table>
- <tr><td>--chroot-fileystem: </td><td>LB_CHROOT_FILESYSTEM</td></tr>
- <tr><td>--linux-flavours: </td><td>LB_LINUX_FLAVOURS</td></tr>
- <tr><td>--security: </td><td>LB_SECURITY</td></tr>
-</table>
-
-<b>Advanced binary options</b>
-
-<table>
- <tr><td>--apt-indices: </td><td>LB_APT_INDICES</td></tr>
- <tr><td>--bootappend-live: </td><td>LB_BOOTAPPEND_LIVE</td></tr>
- <tr><td>--bootloader: </td><td>LB_BOOTLOADER</td></tr>
- <tr><td>--debian-installer: </td><td>LB_DEBIAN_INSTALLER</td></tr>
- <tr><td>--bootappend-install: </td><td>LB_BOOTAPPEND_INSTALL</td></tr>
- <tr><td>--iso-application: </td><td>LB_ISO_APPLICATION</td></tr>
- <tr><td>--iso-preparer: </td><td>LB_ISO_PREPARER</td></tr>
- <tr><td>--iso-publisher: </td><td>LB_ISO_PUBLISHER</td></tr>
- <tr><td>--iso-volume: </td><td>LB_ISO_VOLUME</td></tr>
- <tr><td>--memtest: </td><td>LB_MEMTEST</td></tr>
- <tr><td>--net-path: </td><td>LB_NET_ROOT_PATH</td></tr>
- <tr><td>--net-server: </td><td>LB_NET_ROOT_SERVER</td></tr>
-</table>
-
-<b>Advanced source options</b>
-
-<table>
- <tr><td>--source: </td><td>LB_SOURCE</td></tr>
- <tr><td>--source-images: </td><td>LB_SOURCE_IMAGES</td></tr>
-</table>
-
-</fieldset>
-
-<br />
-