1 {% extends "layout_base.html" %}
2 {% load portal_filters %}
6 {% widget '_widget-news.html' %}
10 <script type="text/javascript" src="https://java.com/js/dtjava.js"/>
11 <script type="text/javascript">
15 {% widget "_widget-no_credentials.html" %}
16 <div class="container dashboard">
18 {%if 'no_creds' in user_cred %}
19 <p class="command"><a href="#" style="color:red" data-toggle="modal" data-target="#myModal">NO CREDENTIALS</a> are delegated to the portal!</p>
21 {%if 'creds_expired' in user_cred %}
22 <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>
24 <div class="col-md-3">
29 <a href="/portal/slice_request"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
32 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create slice</button>
35 <p><strong>Your slices </strong>
36 <span title="A slice is a set of testbed resources on which you can conduct an experiment.
37 Either ask your colleagues to give you access to an existing slice or request a new slice by clicking 'Request Slice'.
38 However, on the Fed4FIRE portal, you will only see slices that you have created through Fed4FIRE. If you have created slices elsewhere,
39 those slices will not appear here."
40 class="glyphicon glyphicon-info-sign">
46 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
48 <h3 title="Some tools do their own slice creation and management.">Experiment now</h3>
49 <a class="btn btn-primary" id="webstart-button" style="width: 150px;"
50 href='http://jfed.iminds.be/releases/5.4-dev/r2314/webstart/experimenter/jfed-experimenter.jnlp'
51 title="Click here to start your experiment with jFed">
52 <span class="glyphicon glyphicon-cloud"></span> jFed</a>
54 <div class="col-md-3">
57 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
60 <button id="projectrequestbtn" type="button" class="btn btn-default" style="width:165px;"><span class="glyphicon glyphicon-plus"></span> Create/Join project</button>
63 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
66 <p><strong>Your projects </strong>
67 <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."
68 class="glyphicon glyphicon-info-sign">
73 <div id="home-project-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading projects" /></div>
77 <div class="col-md-3">
82 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
85 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
89 <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>
92 <button id="repbtn" type="button" style="width: 170px;" class="btn btn-default"><span class="glyphicon glyphicon-stats"></span>Testbeds' reputation</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>
117 <div class="container-fluid home">
119 <div class="col-sm-2"></div>
120 <div class="col-sm-4 slogan">
125 Your easy access to Future Internet Research and Experimentation testbeds belonging to the Fed4FIRE federation.
128 <a href='http://doc.fed4fire.eu'>Want to learn more?</a>
131 <div class="col-sm-4 col-sm-offset-1" style="width:400px; top:16px; float:left;">
133 {% widget '_widget-login-user.html' %}
136 <div class="col-sm-1"></div>
142 <script type="text/javascript">
143 $(document).ready(function() {
144 $('#webstart-button').click(function(){
145 var platform8 = new dtjava.Platform({javafx: '8+', jvm: '1.8+'});
147 java8_jnlp: 'http://jfed.iminds.be/releases/5.4-dev/r2314/webstart/experimenter/jfed-experimenter.jnlp',
148 java7_jnlp: 'http://jfed.iminds.be/releases/r2269/webstart/experimenter/jfed-experimenter.jnlp'
150 var certkey = "{{jfed_identity}}";
152 dtjava.launch({url: config.java8_jnlp, params: {'login-certificate-string' : certkey } } , platform8, {});
155 {%if 'no_creds' in user_cred or 'creds_expired' in user_cred %}
156 localStorage.clear();
157 $.post("/cache/clear/", function( data ) {
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#statbtn').click(function() {
173 window.location="https://flsmonitor.fed4fire.eu";
175 $('button#repbtn').click(function() {
176 window.location="/portal/reputation";
178 $('button#signupbtn').click(function() {
179 window.location="/portal/register/";
181 $('button#slicerequestbtn').click(function() {
182 window.location="/portal/slice_request/";
184 $('button#projectrequestbtn').click(function() {
185 window.location="/portal/project_request/";
188 myslice.loadSlices();
194 <script type="text/javascript" src="{{STATIC_URL}}js/fed4fire_dtjava_orig.js"></script>
196 function launchApplication(jnlpfile) {
209 {# widget "_widget-monitor.html" #}
210 {# widget "_widget-stats-top-slices.html" #}