jfed quick start added
authorYasin <mohammed-yasin.rahman@lip6.fr>
Tue, 10 Jun 2014 16:07:19 +0000 (18:07 +0200)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Tue, 10 Jun 2014 16:07:19 +0000 (18:07 +0200)
portal/templates/fed4fire/fed4fire_home-view.html

index a3cf9b2..edd88a8 100644 (file)
                                <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 %}