merge
authorCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Thu, 16 Apr 2015 12:46:03 +0000 (14:46 +0200)
committerCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Thu, 16 Apr 2015 12:46:03 +0000 (14:46 +0200)
1  2 
portal/templates/fed4fire/fed4fire_home-view.html

                  <div id="home-project-tree"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading projects" /></div>
              </div>
              <div>
 -                <span class="glyphicon glyphicon-plus"></span> <a href="/portal/slice_request/">Create slice</a>
 +                
                  <br />
                  <span class="glyphicon glyphicon-cog"></span> <a href="/portal/project_request/">Create/Join project</a>
 +                <br />
 +                <span class="glyphicon glyphicon-plus"></span> <a href="/portal/slice_request/">Create slice</a>
              </div>
              
-             <div class="experiment-tools">
-                 <h4 title="Some tools do their own slice creation and management.">Experiment now</h4>
-                 <p>
-                     <a class="btn btn-primary" id="webstart-button"
-                         href='http://jfed.iminds.be/releases/5.4-dev/r2314/webstart/experimenter/jfed-experimenter.jnlp'
-                         title="Click here to start your experiment with jFed">
-                         <span class="glyphicon glyphicon-cloud"></span> jFed</a>
-                 </p>
+             <div>
+                 <h3 title="Some tools do their own slice creation and management.">Experiment now</h3>
+                 <button id="start" class="btn btn-primary" style="width:150px;" type="button" onclick="launchjFed()"><span class="glyphicon glyphicon-cloud"></span>  Start jFed</button>
+                 
+                 <div id='java7Dialog' title="Old Java version detected" >
+                 <p>The latest version of jFed is only compatible with Java 8 or higher. We detected that you are using an older version.</p>
+                 <p>Please upgrade to Java 8 to get access to the newest version of jFed. Otherwise, you can use jFed 5.3.2, which is Java 7-compatible.</p>
+                 </div>
+                 
+                 <div id='noJavaDialog' title="No Java detected" >
+                 <p>jFed requires Java to run. We however couldn't detect a Java installation in your browser.</p>
+                 <p>Please install the latest version of Java to continue.</p>
+                 </div>
              </div>
          </div>
          <div class="col-sm-4">