Actions.py: created generic funtion for delete local:account
[myslice.git] / portal / templates / account-view.html
index 1da1514..81cca78 100644 (file)
                        <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 principal_acc %}         
 
 
 
-<h3>Testbed Accounts <small>User accounts in other testbeds</small></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-danger btn-xs" name="delete_{{row.platform_name}}" 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%}