summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/views/scripts/index/start.phtml
diff options
context:
space:
mode:
Diffstat (limited to 'application/modules/fbgui/views/scripts/index/start.phtml')
-rw-r--r--application/modules/fbgui/views/scripts/index/start.phtml10
1 files changed, 10 insertions, 0 deletions
diff --git a/application/modules/fbgui/views/scripts/index/start.phtml b/application/modules/fbgui/views/scripts/index/start.phtml
index a59dd3e..94e8d97 100644
--- a/application/modules/fbgui/views/scripts/index/start.phtml
+++ b/application/modules/fbgui/views/scripts/index/start.phtml
@@ -112,3 +112,13 @@ function updateProgress(p, s, u){
<a href='/fbgui'>back</a>
<div id="progressbar" style="height: 15px;"></div>
+<h1>Downloading</h1>
+<script>
+fbgui.setCallbackOnFinished('foo();');
+fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getkernel/alpha/<?php echo $this->alphaid; ?>/file/kernel');
+fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getinitramfs/alpha/<?php echo $this->alphaid; ?>/file/initramfs');
+fbgui.startDownload('http://<?php echo $this->host; ?>/resource/getkcl/alpha/<?php echo $this->alphaid; ?>/file/kcl');
+function foo(){
+ fbgui.quit();
+}
+</script>";