1 {% extends "layout_base.html" %}
2 {% load portal_filters %}
6 {% widget '_widget-news.html' %}
9 <div class="container dashboard">
12 <div class="col-md-3">
17 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
20 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
23 <p><strong>Your slices </strong>
24 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
25 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'."
26 class="glyphicon glyphicon-info-sign">
32 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
35 <div class="col-md-3">
38 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
41 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
44 <div class="col-md-3">
49 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
52 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
56 <div class="col-md-3">
61 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
64 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ person.username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
67 {% if person.last_name %}
68 {{person.first_name}} {{person.last_name}}<br />
70 <span class="label">Email:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
76 <div class="col-md-4">
81 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
84 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
87 <p><strong>Your slices </strong>
88 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
89 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
90 However, on the OneLab portal, you will only see slices that you have created through OneLab. If you have created slices elsewhere,
91 such as on the PlanetLab Europe portal, those slices will not appear here."
92 class="glyphicon glyphicon-info-sign">
97 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
100 <div class="col-md-4">
105 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
108 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
112 <div class="col-md-4">
117 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
120 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
123 {% if person.last_name %}
124 {{person.first_name}} {{person.last_name}}<br />
126 <span class="label">Email:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
134 <div class="container-fluid home">
136 <div class="col-sm-1"></div>
137 <div class="col-sm-5 slogan">
139 FIBRE: Future Internet testbeds experimentation between Brazil and Europe
142 Access variety of testbeds through your account
145 <div class="col-sm-5 col-sm-offset-1">
147 {% include 'fibre__widget-login-fed-manager.html' %}
148 <a href="/cafe" style="margin-left:80px;"><img src="{{ STATIC_URL }}img/fibre/cafe.jpg" alt="CAFe authentication" /></a>
151 <div class="col-sm-1"></div>
157 <script type="text/javascript">
158 $(document).ready(function() {
159 $('a.home-tab').click(function() {
160 $('ul.nav-tabs li').removeClass('active');
161 $(this).parent().addClass('active');
162 $('div.home-panel').hide();
163 $('div#'+$(this).data('panel')).show();
165 $('button#validaterequestbtn').click(function() {
166 window.location="/portal/institution#requests";
168 $('button#ticketbtn').click(function() {
169 window.location="/portal/contact/";
171 $('button#signupbtn').click(function() {
172 window.location="/portal/register/";
174 $('button#slicerequestbtn').click(function() {
175 window.location="/portal/slice_request/";
178 List of slices has been moved in
179 portal/templates/base.html
180 This should go into session