summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui/views
diff options
context:
space:
mode:
authorSimon2011-04-12 16:16:46 +0200
committerSimon2011-04-12 16:16:46 +0200
commit037330f11b7e0917cd45cb969ea6aedb85605902 (patch)
treee23d90b747c360a09c30db2eafcb3d13fd164120 /application/modules/fbgui/views
parentSessionfehler korrigiert (diff)
downloadpbs2-037330f11b7e0917cd45cb969ea6aedb85605902.tar.gz
pbs2-037330f11b7e0917cd45cb969ea6aedb85605902.tar.xz
pbs2-037330f11b7e0917cd45cb969ea6aedb85605902.zip
fbgui logik umgepackt
Diffstat (limited to 'application/modules/fbgui/views')
-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>";