-<h2>Account Information</h2>
-<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>User Status</th>
- <!--<th>Pub Key</th> -->
- </tr>
- {% for row in principal_acc %}
- <tr class="border_bottom">
- <td class="odd"> {{ row.platform_name }} </td>
- <td class="odd"> {{ row.account_type }} </td>
- <td class="odd"> {{ row.delegation_type }} </td>
- <td class="odd"> {{ row.usr_hrn }} </td>
- <td class="odd"> {{ row.user_status }} </td>
- <!-- <td class="even"> {{ row.usr_pubkey }} </td> -->
- </tr>
- {%endfor%}
- </table>
- </div>
-</div>
-
-
-
-{%if 'Enabled' in user_status %}
-<h3 id="show-pending" class="plugin-show" style="display: block;">
-<span class="glyphicon glyphicon-chevron-right"></span>
-<a href="#" class="plugin-tooltip" data-toggle="tooltip" data-original-title="Show plugin "Pending operations" (QueryUpdater)"></a>Credentials</h3>
-
-<div id="hide-pending" class="plugin-hide" style="display: none;">
-<span class="glyphicon glyphicon-chevron-down"></span>
-<a href="#" class="plugin-tooltip" data-toggle="tooltip" data-original-title="Hide plugin "Pending operations" (QueryUpdater)">Credentials</a>
-
-<h5>Delegated Credentials to Principal Account</h5>
-<div id="middle" align="center">
- <div class="well">
- <table class="mytable table table-bordered table-hover">
- <caption><b>Delegated User Credential</b></caption>
- <tr class="odd">
- <th>Expiration Date</th>
- <th>Download</th>
- </tr>
- {% for row in my_users %}
- <tr class="border_bottom">
- <td class="odd"> {{ row.cred_exp }} </td>
- <td class="odd">
- <button class="btn btn-default btn-xs" name= "dl_user_cred" type="submit" title="Download User Credential">
- <span class="glyphicon glyphicon-download"></span> Download
- </button>
- </td>
- </tr>
- {%endfor%}
- </table>
- <p></p>
- <table class="mytable table table-bordered table-hover">
- <caption><b>Delegated Slice Credentials</b></caption>
- <tr class="odd">
- <th>Slice Name</th>
- <th>Expiration Date</th>
- <th>Download</th>
- </tr>
- {% for row in my_slices %}
- <tr class="border_bottom">
- <td class="odd"> {{ row.slice_name }} </td>
- <td class="odd"> {{ row.cred_exp }} </td>
- <td class="odd">
- <button class="btn btn-default btn-xs" name= "dl_{{row.slice_name}}" type="submit" title="Download Slice Credentials">
- <span class="glyphicon glyphicon-download"></span> Download
- </button>
- </td>
- </tr>
- {%endfor%}
- </table>
- <p></p>
- <table class="mytable table table-bordered table-hover">
- <caption><b>Delegated Authority Credentials</b></caption>
- <tr class="odd">
- <th>Authority Name</th>
- <th>Expiration Date</th>
- <th>Download</th>
- </tr>
- {% for row in my_auths %}
- <tr class="border_bottom">
- <td class="odd"> {{ row.auth_name }} </td>
- <td class="odd"> {{ row.cred_exp }} </td>
- <td class="odd">
- <button class="btn btn-default btn-xs" name= "dl_{{row.auth_name}}" type="submit" title="Download Authority Credentials">
- <span class="glyphicon glyphicon-download"></span> Download
- </button>
- </td>
- </tr>
- {%endfor%}
- </table>
- <p></p>
- {%if '' not in my_users%}
- <p><button class="btn btn-danger btn-lg btn-block" name= "clear_cred" type="submit" title="Clear All Credentials">Clear Credentials</button></p>
- {%else%}
- <p><button class="btn btn-danger btn-lg btn-block disabled" name= "clear_cred" type="submit" title="Clear All Credentials">Clear Credentials</button></p>
- {%endif%}
- </div>
-</div>
-</div>
-
-
-<h3 id="show-filters" class="plugin-show" style="display: block;">
-<span class="glyphicon glyphicon-chevron-right"></span>
-<a href="#" class="plugin-tooltip" data-toggle="tooltip" data-original-title="Show plugin "Pending operations" (QueryUpdater)"></a>TestBed Accounts</h3>
-
-<div id="hide-filters" class="plugin-hide" style="display: none;">
-<span class="glyphicon glyphicon-chevron-down"></span>
-<a href="#" class="plugin-tooltip" data-toggle="tooltip" data-original-title="Hide plugin "Pending operations" (QueryUpdater)">TestBed Accounts</a>
-
-<h5>Reference Accounts in the following testbeds</h5>
-<div id="middle" align="center">
- <div class="well">