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> Create 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 However, on the OneLab portal, you will only see slices that you have created through OneLab. If you have created slices elsewhere,
27 such as on the PlanetLab Europe portal, those slices will not appear here."
28 class="glyphicon glyphicon-info-sign">
34 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
37 <div class="col-md-3">
40 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
43 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
46 <div class="col-md-3">
51 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
54 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
58 <div class="col-md-3">
63 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
66 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
69 {% if person.last_name %}
70 {{person.first_name}} {{person.last_name}}<br />
72 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
78 <div class="col-md-4">
83 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
86 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
89 <p><strong>Your slices </strong>
90 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
91 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
92 However, on the OneLab portal, you will only see slices that you have created through OneLab. If you have created slices elsewhere,
93 such as on the PlanetLab Europe portal, those slices will not appear here."
94 class="glyphicon glyphicon-info-sign">
99 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
102 <div class="col-md-4">
107 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
110 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
114 <div class="col-md-4">
119 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
122 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
125 {% if person.last_name %}
126 {{person.first_name}} {{person.last_name}}<br />
128 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
136 <div class="container-fluid home">
138 <div class="col-sm-2"></div>
139 <div class="col-sm-4 slogan">
144 the one-stop shop for ICT testbeds and support services
147 <div class="col-sm-5 col-sm-offset-1">
149 {% widget '_widget-login-user.html' %}
152 <div class="col-sm-1"></div>
158 <script type="text/javascript">
159 $(document).ready(function() {
160 $('a.home-tab').click(function() {
161 $('ul.nav-tabs li').removeClass('active');
162 $(this).parent().addClass('active');
163 $('div.home-panel').hide();
164 $('div#'+$(this).data('panel')).show();
166 $('button#validaterequestbtn').click(function() {
167 window.location="/portal/institution#requests";
169 $('button#ticketbtn').click(function() {
170 window.location="/portal/contact/";
172 $('button#signupbtn').click(function() {
173 window.location="/portal/register/";
175 $('button#slicerequestbtn').click(function() {
176 window.location="/portal/slice_request/";
179 List of slices has been moved in
180 portal/templates/base.html
181 This should go into session
185 {# widget "_widget-monitor.html" #}
186 {# widget "_widget-stats-top-slices.html" #}