html fix
[unfold.git] / portal / templates / fed4fire / fed4fire_home-view.html
index a3cf9b2..8b94581 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'
+                                       title="Click here to start your experiment with jFed" 
+                                       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">
                                SUPPORT
                        </h3>
                        <div>
-                               <a href="http://doc.fed4fire.eu/support.html" target="_blank"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
+                               <a href="http://doc.fed4fire.eu/support.html"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
                        </div>
                        <div>
                                <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
                        </div>
+                       <p></p>
+                       <div>
+                       <button id="statbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-stats"></span>Testbeds' status</button>
+                       </div>
                </div>
                
                <div class="col-md-3">
                <div class="col-sm-2"></div>
                <div class="col-sm-4 slogan">
                        <h2>
-                               Your Easy Access to Computer Networking Testbeds.
+                               Fed4FIRE Portal
                        </h2>
                        <h3>
-                               A wide variety of world class testbeds available through your one account.
+                               Your easy access to Future Internet Research and Experimentation testbeds belonging to the Fed4FIRE federation.
+                       </h3>
+                       <h3>
+                                <a href='http://doc.fed4fire.eu'>Want to learn more?</a>
                        </h3>
                </div>
                <div class="col-sm-4 col-sm-offset-1" style="width:400px; top:16px; float:left;">
                $('button#ticketbtn').click(function() {
                        window.location="/portal/contact/";
                });
+               $('button#statbtn').click(function() {
+               window.location="https://flsmonitor.fed4fire.eu";
+               });
                $('button#signupbtn').click(function() {
                        window.location="/portal/register/";
                });
@@ -119,4 +133,18 @@ This should go into session
 --------*/
 });
 </script>
+<script type="text/javascript" src="{{STATIC_URL}}js/fed4fire_dtjava_orig.js"></script>
+<script>
+       function launchApplication(jnlpfile) {
+       dtjava.launch(
+               { url : jnlpfile },
+            {
+               javafx : '2.2+',
+                toolkit: 'swing'
+               },
+                {}
+        );
+        return false;
+     }
+</script>
 {% endblock %}