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 EU-South Korea Cooperation<br>
145 On Future Internet Infrastructure
148 <div class="col-sm-5 col-sm-offset-1">
150 {% widget '_widget-login-user.html' %}
153 <div class="col-sm-1"></div>
159 <script type="text/javascript">
160 $(document).ready(function() {
161 $('a.home-tab').click(function() {
162 $('ul.nav-tabs li').removeClass('active');
163 $(this).parent().addClass('active');
164 $('div.home-panel').hide();
165 $('div#'+$(this).data('panel')).show();
167 $('button#validaterequestbtn').click(function() {
168 window.location="/portal/institution#requests";
170 $('button#ticketbtn').click(function() {
171 window.location="/portal/contact/";
173 $('button#signupbtn').click(function() {
174 window.location="/portal/register/";
176 $('button#slicerequestbtn').click(function() {
177 window.location="/portal/slice_request/";
180 List of slices has been moved in
181 portal/templates/base.html
182 This should go into session
186 {# widget "_widget-monitor.html" #}
187 {# widget "_widget-stats-top-slices.html" #}