1 {% extends "layout_base.html" %}
2 {% load portal_filters %}
6 {% widget '_widget-news.html' %}
9 <div class="container dashboard">
11 <div class="col-md-3">
16 <a href="#"><img src="{{ STATIC_URL }}img/icon_slices.png" alt="" /></a>
19 <button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request Slice</button>
22 <div id="home-slice-list"><img src="{{ STATIC_URL }}img/loading.gif" alt="Loading Slices" /></div>
25 <div class="col-md-3">
28 <a href="/portal/institution"><img src="{{ STATIC_URL }}img/icon_authority_color.png" alt="" /></a>
31 <button id="validaterequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-ok"></span> Validate Requests</button>
34 <div class="col-md-3">
39 <a href="/portal/support"><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></a>
42 <button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-envelope"></span> Contact</button>
46 <div class="col-md-3">
51 <a href="/portal/account/"><img src="{{ STATIC_URL }}img/icon_user_color.png" alt="" /></a>
54 <button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
57 {% if person.last_name %}
58 {{person.first_name}} {{person.last_name}}<br />
60 <span class="label">Email:</span> <a href='/portal/account/'>{{person.email}}</a>
66 <div class="container-fluid home">
68 <div class="col-sm-2"></div>
69 <div class="col-sm-4 slogan">
71 Your Easy Access to Computer Networking Testbeds:
74 A wide variety of world class testbeds available through your one account
77 <div class="col-sm-5 col-sm-offset-1">
79 {% widget '_widget-login-user.html' %}
82 <div class="col-sm-1"></div>
88 <script type="text/javascript">
89 $(document).ready(function() {
90 $('a.home-tab').click(function() {
91 $('ul.nav-tabs li').removeClass('active');
92 $(this).parent().addClass('active');
93 $('div.home-panel').hide();
94 $('div#'+$(this).data('panel')).show();
96 $('button#validaterequestbtn').click(function() {
97 window.location="/portal/validate/";
99 $('button#ticketbtn').click(function() {
100 window.location="/portal/contact/";
102 $('button#signupbtn').click(function() {
103 window.location="/portal/register/";
105 $('button#slicerequestbtn').click(function() {
106 window.location="/portal/slice_request/";
109 List of slices has been moved in
110 portal/templates/base.html
111 This should go into session