OneLab templates: documentation link on the dashboard & changed port for manual deleg...
[myslice.git] / portal / templates / onelab / onelab_home-view.html
index 3cf7990..c98ee91 100644 (file)
              
                 <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>
-                
-                <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>
-                </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> -->
+            {% include theme|add:"_jfed_button.html" %}
         </div>
         <div class="col-sm-4">
             <div class="row">
                     <p>
                         <span class="glyphicon glyphicon-envelope"></span> <a href="/portal/contact/">Contact</a>
                     </p>
+                    <p>
+                        <span class="glyphicon glyphicon-book"></span> <a href="http://doc.onelab.eu" target="_blank">Documentation & Tutorials</a>
+                    </p>
+                    {% include theme|add:"_dashboard_links.html" %}
                 </div>
             </div>            
         </div>
 </div>
 {% else %}
 <div class="container-fluid home">
-    <div class="">
-        {% include theme|add:"_login.html" %}
-    </div>
-</div>
+       <div class="">
+        <div class="col-sm-2"></div>
+        {% widget '_slogan.html' %}
+        <div class="col-sm-5 col-sm-offset-1">
+            <div class="row">
+                {% widget '_widget-login-user.html' %}
+            </div>
+        </div>
+        <div class="col-sm-1"></div>
+               </div>
+        </div>
+
 <script type="text/javascript">
        $(document).ready(function() {
         localStorage.clear();
 <script src='https://authority.ilabt.iminds.be/js/jfed_webstart_f4fportal.js'></script>
 <link rel='stylesheet' href='https://authority.ilabt.iminds.be/js/jquery/jquery-ui.css' />
 
+{% if theme == 'onelab' %}
 {% widget "_widget-monitor.html" %}
+{% endif %}
 {% endblock %}