1 {% extends "layout-unfold1.html" %}
3 {% block unfold_main %}
4 <div class="wrapper" id="home-dashboard">
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">
12 <h1>Affiliation to an Institution</h1>
14 <div style="float:left; width:30%;">
15 <img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /><br>
17 <img src="{{ STATIC_URL }}img/onelab-logo.png" alt="" /><br>
18 <b>Membership:</b> Governor
20 <div style="float:right; width:70%;">
21 <img src="http://www.upmc.fr/skins/UPMC/templates/index/resources/img/upmc-logotype.gif" alt="" /><br>
23 <b>authority:</b> onelab.upmc<br>
25 <b>Université Pierre et Marie Curie</b><br>
27 <b>Address:</b> 4 Place Jussieu, 75005 Paris<br>
29 <b>Country:</b> France<br>
33 <b>Legal:</b> Président Jean Chambaz<br>
35 <b>Scientific:</b> Dr Timur Friedman, Prof Serge Fdida
38 <div class="home-panel" id="users" style="display:none;">
40 <h1>Users: onelab.upmc</h1>
46 <th>number of slices</th>
51 <td><input type="checkbox"></td>
52 <td><a href="/portal/user/loic.baron@lip6.fr">loic.baron@lip6.fr</a></td>
53 <td>onelab.upmc.loic_baron</td>
59 <td><input type="checkbox"></td>
60 <td><a href="/portal/user/loic.baron@lip6.fr">loic.baron@lip6.fr</a></td>
61 <td>onelab.upmc.loic_baron</td>
68 <button id="deleteusers" type="button" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span> Delete Users</button>
71 <div class="home-panel" id="slices" style="display:none;">
73 <h1>Slices: onelab.upmc <button id="createslice" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create a Slice</button></h1>
78 <th>number of users</th>
79 <th>expiration date</th>
82 <td><input type="checkbox"></td>
83 <td><a href="/portal/slice/ple.upmc.myslicedemo">onelab.upmc.myslicedemo</a></td>
85 <td>2014-02-11 17:20:37</td>
88 <td><input type="checkbox"></td>
89 <td><a href="/portal/slice/ple.upmc.zzzz">onelab.upmc.zzzz</a></td>
91 <td>2014-02-11 17:20:37</td>
95 <button id="renewslices" type="button" class="btn btn-default"><span class="glyphicon glyphicon-refresh"></span> Renew Slices</button>
96 <button id="deleteslices" type="button" class="btn btn-default"><span class="glyphicon glyphicon-remove"></span> Delete Slices</button>
101 $(document).ready(function() {
102 $('a.home-tab').click(function() {
103 $('ul.nav-tabs li').removeClass('active');
104 $(this).parent().addClass('active');
105 $('div.home-panel').hide();
106 $('div#'+$(this).data('panel')).show();
108 $('button#createslice').click(function() {
109 window.location="/portal/slice_request/";
111 ;$('button#slicerequestbtn').click(function() {
113 window.location="/portal/slice_request/";
118 {% endblock unfold_main %}