My Account:CSS moved from html. MinorFix: portal/actions.py
[unfold.git] / portal / templates / my_account.html
index 1500ce8..f7439f1 100644 (file)
 
 
 <h2>Platform Access</h2>
-<table border="2" bordercolor="FFCC00" style="table-layout:fixedbackground-color:FFFFCCwidth:830px" cellpadding="12" cellspacing="12"> 
-       <tr> 
-       <th align="center" style="width:15%">Platform</th> 
-        <th align="center" style="width:15%">Account Type</th> 
-        <th align="center" style="width:15%">user_hrn</th>
-        <th align="center">Pub Key</th>
-    </tr>            
-       <tr>
-       <td align="center"> {{ platform_name }} </td>
-        <td align="center"> {{ account_type }} </td>
-               <td align="center" style="word-wrap: break-word"> {{ account_usr_hrn }}  </td>
-        <td align="center" style="word-wrap: break-word"> {{ account_pub_key }} </td>
-    </tr>                
+<table class="mytable"> 
+       <tr class="odd"> 
+       <th>Platform</th> 
+        <th>Account Type</th> 
+        <th>user_hrn</th>
+        <th>Pub Key</th>
+    </tr>   
+       {% for row in data %}         
+       <tr class="even">
+       <td class="odd"> {{ row.platform_name }} </td>
+        <td class="even"> {{ row.account_type }} </td>
+               <td class="odd"> {{ row.usr_hrn }}  </td>
+        <td class="even"> {{ row.usr_pubkey }} </td>
+    </tr> 
+       {%endfor%}               
 </table>