summaryrefslogtreecommitdiffstats
path: root/application/modules/fbgui
diff options
context:
space:
mode:
authormichael pereira2011-04-04 17:14:53 +0200
committermichael pereira2011-04-04 17:14:53 +0200
commitb1a3923f98348f5145713315180b8e80e6ee89c0 (patch)
treebff2b1b25fc41d1581d78c9b858897419780c7a0 /application/modules/fbgui
parentWICHTIG findBy Methode geändert & alles angepasst, siehe Ticket (diff)
parentclient-suche verändert (diff)
downloadpbs2-b1a3923f98348f5145713315180b8e80e6ee89c0.tar.gz
pbs2-b1a3923f98348f5145713315180b8e80e6ee89c0.tar.xz
pbs2-b1a3923f98348f5145713315180b8e80e6ee89c0.zip
merges
Diffstat (limited to 'application/modules/fbgui')
-rw-r--r--application/modules/fbgui/controllers/IndexController.php7
-rw-r--r--application/modules/fbgui/views/scripts/index/start.phtml13
2 files changed, 16 insertions, 4 deletions
diff --git a/application/modules/fbgui/controllers/IndexController.php b/application/modules/fbgui/controllers/IndexController.php
index b48806b..8c840ea 100644
--- a/application/modules/fbgui/controllers/IndexController.php
+++ b/application/modules/fbgui/controllers/IndexController.php
@@ -99,9 +99,9 @@ class Fbgui_IndexController extends Zend_Controller_Action
echo "<h1>Downloading</h1>";
echo "<script>\n";
echo "fbgui.setCallbackOnFinished('foo();');\n";
- echo "fbgui.startDownload('http://132.230.4.27/dev/resource/getkernel/alpha/".$_SESSION['alphasessionID']."/file/kernel');\n";
- echo "fbgui.startDownload('http://132.230.4.27/dev/resource/getinitramfs/alpha/".$_SESSION['alphasessionID']."/file/initramfs');\n";
- echo "fbgui.startDownload('http://132.230.4.27/dev/resource/getkcl/alpha/".$_SESSION['alphasessionID']."/file/kcl');\n";
+ echo "fbgui.startDownload('http://132.230.4.27/resource/getkernel/alpha/".$_SESSION['alphasessionID']."/file/kernel');\n";
+ echo "fbgui.startDownload('http://132.230.4.27/resource/getinitramfs/alpha/".$_SESSION['alphasessionID']."/file/initramfs');\n";
+ echo "fbgui.startDownload('http://132.230.4.27/resource/getkcl/alpha/".$_SESSION['alphasessionID']."/file/kcl');\n";
echo "function foo(){
fbgui.quit();
}";
@@ -110,4 +110,3 @@ class Fbgui_IndexController extends Zend_Controller_Action
}
}
-
diff --git a/application/modules/fbgui/views/scripts/index/start.phtml b/application/modules/fbgui/views/scripts/index/start.phtml
index c341e02..a59dd3e 100644
--- a/application/modules/fbgui/views/scripts/index/start.phtml
+++ b/application/modules/fbgui/views/scripts/index/start.phtml
@@ -85,6 +85,17 @@
window.setTimeout(rotate, 100);
}
window.setTimeout(rotate, 100);
+
+
+function updateProgress(p, s, u){
+ if (p >= 0 && p <= 100)
+ $("#progressbar").progressbar({ value: p });
+ else
+ $("#progressbar").progressbar({ value: 0 });
+}
+ $(document).ready(function() {
+ $("#progressbar").progressbar({ value: 0 });
+ });
</script>
@@ -99,3 +110,5 @@
<div class="bar8"></div>
</div>
<a href='/fbgui'>back</a>
+
+<div id="progressbar" style="height: 15px;"></div>