create slice shown only when user is in at least one project
[myslice.git] / portal / templates / fed4fire / fed4fire_home-view.html
index 6fe0fb3..f4e6b4f 100644 (file)
@@ -31,7 +31,8 @@
             <div>
                 
                 <span class="glyphicon glyphicon-cog"></span> <a href="/portal/project_request/">Create/Join project</a>
-                <br />
+            </div>
+            <div class="dashboard-create-slice">
                 <span class="glyphicon glyphicon-plus"></span> <a href="/portal/slice_request/">Create slice</a>
             </div>
             <div class="projects-tree">
                 those slices will not appear here. <br /><br /> A <b>project</b> is a sub-authority under the responsability of your institution gathering users, 
                 who will be able to create slices for their experiments." class="glyphicon glyphicon-info-sign">&nbsp;</span> 
              
-                <div id="home-project-tree"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading projects" /></div>
+                <div id="home-project-tree"><img class="projects-loading" src="{{ STATIC_URL }}img/loading.gif" alt="Loading projects" /></div>
             </div>
-            
-            
+                        
             <div class="experiment-tools">
                 <h4 title="Some tools do their own slice creation and management.">Experiment now</h4>
                 
                
     });
 </script>
-<link rel='stylesheet' href='https://authority.ilabt.iminds.be/js/jquery/jquery-ui.css' />
 <script src='https://authority.ilabt.iminds.be/js/jquery/jquery-ui.min.js'></script>
 <script src="//java.com/js/dtjava.js"></script>
 <script src='https://authority.ilabt.iminds.be/js/jfed_webstart_f4fportal.js'></script>