<caption><b>Delegated User Credential</b></caption>
<tr class="odd">
<th>Expiration Date</th>
+ <th>Download</th>
</tr>
- {% for row in data %}
+ {% for row in my_users %}
<tr class="border_bottom">
- <td class="even"> {{ row.credential_expiration }} </td>
+ <td class="even"> {{ row.cred_exp }} </td>
+ <td class="odd"><button id="dl_user_cred" name= "dl_user_cred" type="submit" title="Download User Credential">Download</button></td>
</tr>
{%endfor%}
</table>
- <p><button id="dl_user_cred" name= "dl_user_cred" type="submit" title="Download User Credential">Download</button></p>
- <table class="mytable">
+ <p></p>
+ <table class="mytable">
<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="even"> {{ row.slice_name }} </td>
<td class="odd"> {{ row.cred_exp }} </td>
+ <td class="even"> <button id="dl_slice_cred" name= "dl_slice_cred" type="submit" title="Download Slice Credentials">Download</button> </td>
</tr>
{%endfor%}
</table>
- <p><button id="dl_slice_cred" name= "dl_slice_cred" type="submit" title="Download Slice Credentials">Download</button></p>
+ <p></p>
<table class="mytable">
<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="even"> {{ row.auth_name }} </td>
<td class="odd"> {{ row.cred_exp }} </td>
+ <td class="even"><button id="dl_auth_cred" name= "dl_auth_cred" type="submit" title="Download Authority Credentials">Download</button></td>
</tr>
{%endfor%}
</table>
- <p><button id="dl_auth_cred" name= "dl_auth_cred" type="submit" title="Download Authority Credentials">Download</button></p>
<p></p>
<p><button id="clear_cred" name= "clear_cred" type="submit" title="Clear All Credentials">Clear Credentials</button></p>
</div>
<th>Platform</th>
<th>Account Type</th>
<th>Reference to</th>
+ <th>Remove Account</th>
</tr>
{% for row in ref_acc %}
<tr class="border_bottom">
<td class="odd"> {{ row.platform_name }} </td>
<td class="even"> {{ row.account_type }} </td>
<td class="odd"> {{ row.account_reference }} </td>
+ <td class="even">
+ <button id="delete_account" name="delete_{{platform.platform_no_access}}" type="submit" title="Delete account from this platform">Delete {{row.platform_name}}</button>
+ </td>
</tr>
{%endfor%}
</table>
<tr class="border_bottom">
<td class="odd"> {{ platform.platform_no_access }} </td>
<td class="even">
- <button id="request_access" name= {{platform.platform_no_access}} type="submit" title="Add account to this platform">Add {{platform.platform_no_access}}</button>
+ <button id="add_account" name= "add_{{platform.platform_no_access}}" type="submit" title="Add account to this platform">Add {{platform.platform_no_access}}</button>
</td>
</tr>
{%endfor%}