From: Yasin <mohammed-yasin.rahman@lip6.fr>
Date: Tue, 10 Jun 2014 16:07:19 +0000 (+0200)
Subject: jfed quick start added
X-Git-Tag: myslice-1.1~72
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=2378754e87e0c91d9c213186d8ff36c1810921dc;p=unfold.git

jfed quick start added
---

diff --git a/portal/templates/fed4fire/fed4fire_home-view.html b/portal/templates/fed4fire/fed4fire_home-view.html
index a3cf9b24..edd88a88 100644
--- a/portal/templates/fed4fire/fed4fire_home-view.html
+++ b/portal/templates/fed4fire/fed4fire_home-view.html
@@ -26,7 +26,10 @@
 				<span class="glyphicon glyphicon-globe"></span>Experiment now</button>
 			 </div>
 			<div>
-				<ul><li><a href="" title="Start experiment with jFed.">jFed</a></li></ul>
+				<ul><li>
+					<a class="button2" href='http://jfed.iminds.be/releases/r1306/webstart/experimenter/jfed-experimenter.jnlp' 
+					onclick="return  launchApplication('http://jfed.iminds.be/releases/r1306/webstart/experimenter/jfed-experimenter.jnlp');">jFed</a>
+				</li></ul>
 			</div>
 		</div>
 		<div class="col-md-3">
@@ -119,4 +122,18 @@ This should go into session
 --------*/
 });
 </script>
+
+<script>
+	function launchApplication(jnlpfile) {
+     	dtjava.launch(
+        	{ url : jnlpfile },
+            {
+            	javafx : '2.2+',
+                toolkit: 'swing'
+            	},
+                {}
+        );
+        return false;
+     }
+</script>
 {% endblock %}