1 {% insert_str prelude "js/bootstrap.js" %}
2 {% insert_str prelude "css/bootstrap.css" %}
3 {% insert_str prelude "css/topmenu.css" %}
4 {% insert_str prelude "js/logout.js" %}
8 <a href="/"><img src="{{ STATIC_URL }}img/onelab-portal.png" alt="OneLab - Future Internet Testbeds" /></a>
14 <li><a href="/portal/about">About</a></li>
15 <li><a target="_blank" href="http://www.onelab.eu">Public Website</a></li>
16 <li><a target="_blank" href="http://intranet.onelab.eu">Intranet</a></li>
26 <li><a href="/portal/validate">REQUESTS</a></li>
27 <li><a href="/portal/institution">INSTITUTION</a></li>
28 <li><a href="/portal/support/">SUPPORT</a></li>
30 <li><a href="/portal/account/">{{ username }}</a></li>
31 <li><a id="logout" style="cursor:pointer;" data-username="{{ username }}">LOGOUT</a></li>
37 <div class="wrapper"></div>
42 $(document).ready(function() {
43 // var slices = localStorage.getItem('slices');
44 // if (slices.length == 0) {
45 // $.post("/rest/user/",{'filters':{'user_hrn':'$user_hrn'}}, function( data ) {
47 // localStorage.setItem('slices', data[0].slice);
50 // $.each(slices, function( key, val ) {
51 // items.push( "<li><a href=\"/slice/"+val.slice_hrn+"\">" + val.slice_hrn + "</a></li>" );
53 // $("div#home-slice-list").html($( "<ul/>", { html: items.join( "" ) }));