summaryrefslogtreecommitdiff
path: root/templates/cgi
diff options
context:
space:
mode:
authorRichard Nelson <unixabg@gmail.com>2015-04-15 13:58:58 -0500
committerRichard Nelson <unixabg@gmail.com>2015-04-15 13:58:58 -0500
commite4813ea818e252d5ad2ea9c522a41d80df631f1e (patch)
tree4de92f8fad22e22b482083ff9520aa1e454fa584 /templates/cgi
parent3e94a680577e19cd171f1d53e0589c06700286cf (diff)
downloadvyos-live-build-e4813ea818e252d5ad2ea9c522a41d80df631f1e.tar.gz
vyos-live-build-e4813ea818e252d5ad2ea9c522a41d80df631f1e.zip
Initial commit to provide biuld status on l-b-cgi frontend.
Diffstat (limited to 'templates/cgi')
-rw-r--r--templates/cgi/debian/build.html6
-rw-r--r--templates/cgi/debian/status.html64
2 files changed, 68 insertions, 2 deletions
diff --git a/templates/cgi/debian/build.html b/templates/cgi/debian/build.html
index 642de6314..0a95615b7 100644
--- a/templates/cgi/debian/build.html
+++ b/templates/cgi/debian/build.html
@@ -1,8 +1,10 @@
<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 20 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' 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 will be available at: <a href="SERVER/BUILD/">SERVER/BUILD/</a>.</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>
diff --git a/templates/cgi/debian/status.html b/templates/cgi/debian/status.html
new file mode 100644
index 000000000..a9f7e30b1
--- /dev/null
+++ b/templates/cgi/debian/status.html
@@ -0,0 +1,64 @@
+<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 'QUEUENUM' pending build(s) request 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 />
+