{% block unfold_main %}
-<h2>User Details</h2>
+<h2>User Profile <small>User info. in Myslice platform</small></h2>
{% if messages %}
<ul class="messages">
</div>
<h2>Account Information</h2>
-<h3>Principal Account</h3>
+<h3>Principal Account <small>Account used for delegating credentials</small></h3>
<div id="middle" align="center">
<div class="well">
<table class="table table-bordered table-hover mytable">
<tr class="odd">
<th>Platform</th>
<th>Account Type</th>
- <th>Account_delegation</th>
- <th>user_hrn</th>
+ <th>Account Delegation</th>
+ <th>User hrn</th>
<!--<th>Pub Key</th> -->
</tr>
- {% for row in data %}
+ {% for row in principal_acc %}
<tr class="border_bottom">
<td class="odd"> {{ row.platform_name }} </td>
<td class="odd"> {{ row.account_type }} </td>
-<h3>Testbed Accounts</h3>
+<h3>Testbed Accounts <small>Reference accounts in the following testbeds</small></h3>
<div id="middle" align="center">
<div class="well">
<table class="mytable table table-bordered table-hover">
<td class="odd"> {{ row.account_type }} </td>
<td class="odd"> {{ row.account_reference }} </td>
<td class="odd">
- <button class="btn btn-default btn-xs" name="delete_{{platform.platform_no_access}}" type="submit" title="Delete account from this platform">Delete {{row.platform_name}}</button>
+ <button class="btn btn-danger btn-xs" name="delete_{{row.platform_name}}" type="submit" title="Delete account from this platform">Delete</button>
</td>
</tr>
{%endfor%}
</div>
</div>
-<h3>Add Accounts</h3>
+<h3>Add Accounts <small>Add ref. account to the following testbeds</small></h3>
<div id="middle" align="center">
<div class="well">
<table class="mytable table table-bordered table-hover">
<tr class="odd">
<th>Platforms</th>
- <th>Request Access</th>
+ <th>Add Account</th>
</tr>
{% for platform in platform_list %}
<tr class="border_bottom">
<td class="odd"> {{ platform.platform_no_access }} </td>
<td class="odd">
- <button class="btn btn-default btn-xs" name= "add_{{platform.platform_no_access}}" type="submit" title="Add account to this platform">Add {{platform.platform_no_access}}</button>
+ <button class="btn btn-success btn-xs" name= "add_{{platform.platform_no_access}}" type="submit" title="Add account to this platform">Add</button>
</td>
</tr>
{%endfor%}