<td><img src="{{ STATIC_URL }}img/icon_support.png" alt="" /></td>
</tr>
<tr>
- <td>
{% if person %}
+ <td class="logged-in">
<button id="logoutbtn" type="button" class="btn btn-default" data-username="{{ username }}"><span class="glyphicon glyphicon-off"></span> Logout</button>
<div>
{% if person.last_name %}
<span class="label">Email:</span> <a href='mailto:{{person.email}}'>{{person.email}}</a>
</div>
{% else %}
+ <td>
{% include 'onelab/_widget-login-user.html' %}
{% endif %}
</td>
<td>
+ {% if person %}
<button id="slicerequestbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Request a Slice</button>
+ {% else %}
+ {% endif %}
</td>
<td class="support">
<button id="ticketbtn" type="button" class="btn btn-default"><span class="glyphicon glyphicon-plus"></span> Create Ticket</button>
<td><img src="{{ STATIC_URL }}img/icon_testbed_color.png" alt="" /></td>
</tr>
<tr>
- <td>
{% if person %}
+ <td class="logged-in">
{% if person.last_name %}
<div><span id='username'>{{person.first_name}} {{person.last_name}}</span></div> {% endif %}
<div><b>Email: </b><a href='mailto:{{person.email}}'>{{person.email}}</a></div>
{% else %}
+ <td>
{% include 'onelab/_widget-login-manager.html' %}
{% endif %}
</td>