1 {% extends "layout_base.html" %}
2 {% load portal_filters %}
6 {% widget '_widget-news.html' %}
9 {% widget "_widget-no_credentials.html" %}
10 <div class="container dashboard">
12 {%if 'no_creds' in user_cred %}
13 <p class="command"><a href="#" style="color:red" data-toggle="modal" data-target="#myModal">NO CREDENTIALS</a> are delegated to the portal!</p>
15 {%if 'creds_expired' in user_cred %}
16 <p class="command"><a href="#" style="color:red" data-toggle="modal" data-target="#myModal">EXPIRED CREDENTIALS</a> Please delegate again your credentials to the portal!</p>
19 <div class="col-md-3">
24 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
27 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create Slice</button>
30 <p><strong>Your slices </strong>
31 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
32 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
33 However, on the Fed4FIRE portal, you will only see slices that you have created through Fed4FIRE. If you have created slices elsewhere,
34 those slices will not appear here."
35 class="glyphicon glyphicon-info-sign">
41 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
43 <h3 title="Some tools do their own slice creation and management.">Experiment now</h3>
44 <a class="btn btn-primary" style="width: 150px;"
45 href='http://jfed.iminds.be/releases/5.4-dev/r2289/webstart/experimenter/jfed-experimenter.jnlp'
46 title="Click here to start your experiment with jFed"
47 onclick="return launchApplication('http://jfed.iminds.be/releases/5.4-dev/r2289/webstart/experimenter/jfed-experimenter.jnlp');">
48 <span class="glyphicon glyphicon-cloud"></span> jFed</a>
50 <div class="col-md-3">
53 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
56 <button id="projectrequestbtn" type="button" class="btn btn-default" style="width:165px;"><span class="glyphicon glyphicon-plus"></span> Join Project</button>
59 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
62 <p><strong>Your projects </strong>
63 <span title="A project is a sub-authority under the responsability of your institution gathering users, who will be able to create slices for their experiments."
64 class="glyphicon glyphicon-info-sign">
69 <div id="home-project-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading projects" /></div>
73 <div class="col-md-3">
78 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
81 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
85 <button id="statbtn" type="button" style="width: 170px;" class="btn btn-default"><span class="glyphicon glyphicon-stats" style="margin-right: 10px;"></span>Testbeds' status</button>
88 <button id="repbtn" type="button" style="width: 170px;" class="btn btn-default"><span class="glyphicon glyphicon-stats"></span>Testbeds' reputation</button>
92 <div class="col-md-3">
97 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
100 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
103 {% if person.last_name %}
104 {{person.first_name}} {{person.last_name}}<br />
106 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
112 <div class="col-md-4">
117 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
120 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
123 <p><strong>Your slices </strong>
124 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
125 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
126 However, on the Fed4FIRE portal, you will only see slices that you have created through Fed4FIRE. If you have created slices elsewhere,
127 those slices will not appear here."
128 class="glyphicon glyphicon-info-sign">
133 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
135 {% if pending_slices %}
136 <p><strong>Pending slices</strong>
137 <span title="Slices that you have requested and are pending for validation by the contact person of your organization."
138 class="glyphicon glyphicon-info-sign">
140 {% for slices in pending_slices %}
147 <h3 title="Some tools do their own slice creation and management.">Experiment now</h3>
148 <a class="btn btn-primary" style="width: 150px;"
149 href='http://jfed.iminds.be/releases/5.4-dev/r2289/webstart/experimenter/jfed-experimenter.jnlp'
150 title="Click here to start your experiment with jFed"
151 onclick="return launchApplication('http://jfed.iminds.be/releases/5.4-dev/r2289/webstart/experimenter/jfed-experimenter.jnlp');">
152 <span class="glyphicon glyphicon-cloud"></span> jFed</a>
154 <div class="col-md-4">
159 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
162 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
166 <button id="statbtn" type="button" style="width: 150px;" class="btn btn-default"><span class="glyphicon glyphicon-stats"></span>Testbeds' status</button>
169 <button id="repbtn" type="button" style="width: 170px;" class="btn btn-default"><span class="glyphicon glyphicon-stats"></span>Testbeds' reputation</button>
173 <div class="col-md-4">
178 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
181 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
184 {% if person.last_name %}
185 {{person.first_name}} {{person.last_name}}<br />
187 <span class="label">Username:</span> <a href='/portal/account/' title="Click here to see and edit your account details.">{{person.email}}</a>
195 <div class="container-fluid home">
197 <div class="col-sm-2"></div>
198 <div class="col-sm-4 slogan">
203 Your easy access to Future Internet Research and Experimentation testbeds belonging to the Fed4FIRE federation.
206 <a href='http://doc.fed4fire.eu'>Want to learn more?</a>
209 <div class="col-sm-4 col-sm-offset-1" style="width:400px; top:16px; float:left;">
211 {% widget '_widget-login-user.html' %}
214 <div class="col-sm-1"></div>
220 <script type="text/javascript">
221 $(document).ready(function() {
222 $('a.home-tab').click(function() {
223 $('ul.nav-tabs li').removeClass('active');
224 $(this).parent().addClass('active');
225 $('div.home-panel').hide();
226 $('div#'+$(this).data('panel')).show();
228 $('button#validaterequestbtn').click(function() {
229 window.location="/portal/institution#requests";
231 $('button#ticketbtn').click(function() {
232 window.location="/portal/contact/";
234 $('button#statbtn').click(function() {
235 window.location="https://flsmonitor.fed4fire.eu";
237 $('button#repbtn').click(function() {
238 window.location="/portal/reputation";
240 $('button#signupbtn').click(function() {
241 window.location="/portal/register/";
243 $('button#slicerequestbtn').click(function() {
244 window.location="/portal/slice_request/";
246 $('button#projectrequestbtn').click(function() {
247 window.location="/portal/project_request/";
250 myslice.loadSlices();
255 <script type="text/javascript" src="{{STATIC_URL}}js/fed4fire_dtjava_orig.js"></script>
257 function launchApplication(jnlpfile) {
269 {# widget "_widget-monitor.html" #}
270 {# widget "_widget-stats-top-slices.html" #}