dashboard fixes
authorCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Thu, 16 Apr 2015 13:44:56 +0000 (15:44 +0200)
committerCiro Scognamiglio <ciro.scognamiglio@cslash.net>
Thu, 16 Apr 2015 13:44:56 +0000 (15:44 +0200)
portal/static/css/fed4fire.css
portal/templates/fed4fire/fed4fire_home-view.html

index 89d4210..735e78e 100644 (file)
@@ -718,27 +718,26 @@ div.dashboard span.glyphicon {
     height:25px;
 }
 div.experiment-tools {
-    
 }
 div.experiment-tools h4 {
     border-bottom:1px solid #E0E0E0;
     margin:25px 15px 25px 0;
     padding-bottom:5px;
 }
-div.experiment-tools p {
+div.experiment-tools .jfed {
     text-align:center;
-}
-#webstart-button {
     margin-right:25px;
-    width:150px;
-    color:white;
 }
-#webstart-button:hover {
-    text-decoration:none;
+div.experiment-tools button {
+    margin:0;
+    padding:7px 10px 4px 0;
+    color:white;
+    vertical-align:middle;
 }
-#webstart-button span {
-    width:20px;
-    height:10px;
+
+div.experiment-tools button span {
+    margin:0;
+    padding:0;
 }
 
 div.dataTables_filter label{
index e61a647..6fe0fb3 100644 (file)
             <h3>
                 <a href="/portal/slice_request"><img src="{{ STATIC_URL }}img/icon_slices_small.png" alt="" /></a>EXPERIMENT
             </h3>
-            
+            <div>
+                
+                <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="projects-tree">
                 Your projects and slices
                 <span title="A <b>slice</b> is a set of testbed resources on which you can conduct an experiment. 
              
                 <div id="home-project-tree"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading projects" /></div>
             </div>
-            <div>
-                
-                <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>
-                <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 class="experiment-tools">
+                <h4 title="Some tools do their own slice creation and management.">Experiment now</h4>
                 
+                <p class="jfed">
+                    <button id="start" class="btn btn-primary" type="button" onclick="launchjFed()"><span class="glyphicon glyphicon-cloud"></span> Start jFed</button>
+                </p>
                 <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>