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">
31 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
34 <div class="col-md-3">
37 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
40 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
43 <div class="col-md-3">
48 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
51 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
55 <div class="col-md-3">
60 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
63 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
66 {% if person.last_name %}
67 {{person.first_name}} {{person.last_name}}<br />
69 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
75 <div class="col-md-4">
80 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
83 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
86 <p><strong>Your slices </strong>
87 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
88 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'."
89 class="glyphicon glyphicon-info-sign">
94 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
97 <div class="col-md-4">
102 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
105 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
109 <div class="col-md-4">
114 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
117 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
120 {% if person.last_name %}
121 {{person.first_name}} {{person.last_name}}<br />
123 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
131 <div class="container-fluid home">
133 <div class="col-sm-2"></div>
134 <div class="col-sm-4 slogan">
136 Your Easy Access to Computer Networking Testbeds:
139 A wide variety of world class testbeds available through your one account
142 <div class="col-sm-5 col-sm-offset-1">
144 {% widget '_widget-login-user.html' %}
147 <div class="col-sm-1"></div>
153 <script type="text/javascript">
154 $(document).ready(function() {
155 $('a.home-tab').click(function() {
156 $('ul.nav-tabs li').removeClass('active');
157 $(this).parent().addClass('active');
158 $('div.home-panel').hide();
159 $('div#'+$(this).data('panel')).show();
161 $('button#validaterequestbtn').click(function() {
162 window.location="/portal/institution#requests";
164 $('button#ticketbtn').click(function() {
165 window.location="/portal/contact/";
167 $('button#signupbtn').click(function() {
168 window.location="/portal/register/";
170 $('button#slicerequestbtn').click(function() {
171 window.location="/portal/slice_request/";
174 List of slices has been moved in
175 portal/templates/base.html
176 This should go into session