1 {% extends "layout-unfold1.html" %}
3 {% block unfold_main %}
4 <div class="wrapper" id="institution">
5 <ul class="nav nav-tabs">
6 <li class="active"><a class="home-tab" data-panel="institution" href="#">INSTITUTION</a></li>
7 <li><a class="home-tab" data-panel="users" href="#">USERS</a></li>
8 <li><a class="home-tab" data-panel="slices" href="#">SLICES</a></li>
10 <div class="home-panel" id="institution">
11 <h1><img src="{{ STATIC_URL }}img/icon_authority_color_small.png" alt="" /> Affiliation to an Institution</h1>
13 <div style="float:left; width:30%;">
15 <img src="{{ STATIC_URL }}img/onelab-logo.png" alt="" /><br>
16 <b>Membership:</b> Governor
18 <div style="float:right; width:70%;">
19 <img src="http://www.upmc.fr/skins/UPMC/templates/index/resources/img/upmc-logotype.gif" alt="" /><br>
21 <b>authority:</b> onelab.upmc<br>
23 <b>Université Pierre et Marie Curie</b><br>
25 <b>Address:</b> 4 Place Jussieu, 75005 Paris<br>
27 <b>Country:</b> France<br>
31 <b>Legal:</b> Président Jean Chambaz<br>
33 <b>Scientific:</b> Dr Timur Friedman, Prof Serge Fdida
36 <div class="home-panel" id="users" style="display:none;">
38 <h1>Users: onelab.upmc</h1>
44 <th>number of slices</th>
49 <td><input type="checkbox"></td>
50 <td><a href="/portal/user/loic.baron@lip6.fr">loic.baron@lip6.fr</a></td>
51 <td>onelab.upmc.loic_baron</td>
57 <td><input type="checkbox"></td>
58 <td><a href="/portal/user/loic.baron@lip6.fr">loic.baron@lip6.fr</a></td>
59 <td>onelab.upmc.loic_baron</td>
66 <button id="deleteusers" type="button" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span> Delete Users</button>
69 <div class="home-panel" id="slices" style="display:none;">
71 <h1>Slices: onelab.upmc <button id="createslice" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create a Slice</button></h1>
76 <th>number of users</th>
77 <th>expiration date</th>
80 <td><input type="checkbox"></td>
81 <td><a href="/portal/slice/ple.upmc.myslicedemo">onelab.upmc.myslicedemo</a></td>
83 <td>2014-02-11 17:20:37</td>
86 <td><input type="checkbox"></td>
87 <td><a href="/portal/slice/ple.upmc.zzzz">onelab.upmc.zzzz</a></td>
89 <td>2014-02-11 17:20:37</td>
93 <button id="renewslices" type="button" class="btn btn-default"><span class="glyphicon glyphicon-refresh"></span> Renew Slices</button>
94 <button id="deleteslices" type="button" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span> Delete Slices</button>
99 $(document).ready(function() {
100 $('a.home-tab').click(function() {
101 $('ul.nav-tabs li').removeClass('active');
102 $(this).parent().addClass('active');
103 $('div.home-panel').hide();
104 $('div#'+$(this).data('panel')).show();
106 $('button#createslice').click(function() {
107 window.location="/portal/slice_request/";
109 ;$('button#slicerequestbtn').click(function() {
111 window.location="/portal/slice_request/";
116 {% endblock unfold_main %}