1 {% extends "layout_base.html" %}
2 {% load portal_filters %}
6 {% widget '_widget-news.html' %}
9 <!-- Modal- No credentials -->
10 <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
11 <div class="modal-dialog">
12 <div class="modal-content">
13 <div class="modal-header">
14 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
15 <h4 class="modal-title" id="myModalLabel">No credentials are delegated to the portal</h4>
17 <div class="modal-body">
18 <p>You may get this message for several reasons.</p>
19 <h3>Account Delegation: Automatic</h3>
21 <li>If your account is not yet validated</li>
22 <li>If you press the "Clear Credentials" button</li>
23 <li>If you "Generate a new key pair"</li>
24 <li>If a new slice is added to your account</li>
26 <p>In all the above mentioned cases, it is sufficient to refresh the page or go back to home page. The portal will regenrate your credentials.
27 In some cases it may take more time than usual. If nothing works, then please logout and login again to the portal.</p>
28 <h3>Account Delegation: Manual</h3>
29 <p>First of all your account needs to be validated by the manager of your organization.</p>
30 <p>As you have uploaded your own public key, the portal can no longer generate your credentials automatically.</p>
31 <p>In order for the portal to contact testbeds on your behalf, so as to list and reserve resources, you will need to
32 <a href="/portal/manual_delegation" target="_blank">delegate your credentials to the portal.</a>
34 <h5>Contact support</h5>
35 <p>If you don't have the above mentioned cases and still have this message, please <a href="/contact/" target="_blank">contact us</a>.</p>
37 <div class="modal-footer">
38 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
43 <div class="container dashboard">
44 {%if 'no_creds' in user_cred %}
45 <p class="command"><a href="#" style="color:red" data-toggle="modal" data-target="#myModal">NO CREDENTIALS</a> are delegated to the portal!</p>
50 <div class="col-md-3">
55 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
58 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create Slice</button>
61 <p><strong>Your slices </strong>
62 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
63 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
64 However, on the OneLab portal, you will only see slices that you have created through OneLab. If you have created slices elsewhere,
65 such as on the PlanetLab Europe portal, those slices will not appear here."
66 class="glyphicon glyphicon-info-sign">
72 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
75 <div class="col-md-3">
78 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
81 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
84 <div class="col-md-3">
89 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
92 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
96 <div class="col-md-3">
101 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
104 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
107 {% if person.last_name %}
108 {{person.first_name}} {{person.last_name}}<br />
110 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
116 <div class="col-md-4">
121 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
124 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
127 <p><strong>Your slices </strong>
128 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
129 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
130 However, on the OneLab portal, you will only see slices that you have created through OneLab. If you have created slices elsewhere,
131 such as on the PlanetLab Europe portal, those slices will not appear here."
132 class="glyphicon glyphicon-info-sign">
137 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
140 <div class="col-md-4">
145 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
148 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
152 <div class="col-md-4">
157 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
160 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
163 {% if person.last_name %}
164 {{person.first_name}} {{person.last_name}}<br />
166 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
174 <div class="container-fluid home">
176 <div class="col-sm-2"></div>
177 <div class="col-sm-4 slogan">
179 Your Easy Access to Computer Networking Testbeds:
182 A wide variety of world class testbeds available through your one account
185 <div class="col-sm-5 col-sm-offset-1">
187 {% widget '_widget-login-user.html' %}
190 <div class="col-sm-1"></div>
196 <script type="text/javascript">
197 $(document).ready(function() {
198 $('a.home-tab').click(function() {
199 $('ul.nav-tabs li').removeClass('active');
200 $(this).parent().addClass('active');
201 $('div.home-panel').hide();
202 $('div#'+$(this).data('panel')).show();
204 $('button#validaterequestbtn').click(function() {
205 window.location="/portal/institution#requests";
207 $('button#ticketbtn').click(function() {
208 window.location="/portal/contact/";
210 $('button#signupbtn').click(function() {
211 window.location="/portal/register/";
213 $('button#slicerequestbtn').click(function() {
214 window.location="/portal/slice_request/";
217 List of slices has been moved in
218 portal/templates/base.html
219 This should go into session
223 {# widget "_widget-monitor.html" #}
224 {# widget "_widget-stats-top-slices.html" #}