CSS: cosmetic changes to My Account
authorYasin <mohammed-yasin.rahman@lip6.fr>
Mon, 9 Sep 2013 13:23:42 +0000 (15:23 +0200)
committerYasin <mohammed-yasin.rahman@lip6.fr>
Mon, 9 Sep 2013 13:23:42 +0000 (15:23 +0200)
portal/static/css/account_view_html.css
portal/templates/account-view.html

index ee6b05e..0b1b6bb 100644 (file)
@@ -205,7 +205,7 @@ ul.errorlist li {
 
 
 
 
 
 
-table.mytable {margin: auto; border-collapse: collapse; border: 1px solid #839E99; 
+table.mytable { border-collapse: collapse; border: 1px solid #839E99; 
 background: #f1f8ee; font: .9em/1.2em Georgia, "Times New Roman", Times, serif; color: #033;table-layout:fixed; }
 .mytable caption { font-size: 1.3em; font-weight: bold; text-align: left; padding: 1em 4px; }
 .mytable td, th { padding: 3px 3px .75em 3px; line-height: 1.3em; }
 background: #f1f8ee; font: .9em/1.2em Georgia, "Times New Roman", Times, serif; color: #033;table-layout:fixed; }
 .mytable caption { font-size: 1.3em; font-weight: bold; text-align: left; padding: 1em 4px; }
 .mytable td, th { padding: 3px 3px .75em 3px; line-height: 1.3em; }
index e8edc60..a5d01dc 100644 (file)
 {% block unfold1_main %}
 
 
 {% block unfold1_main %}
 
 
-<h2>Platform Access</h2>
-<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>
+<div class='ms-dashboard-panel' id='ms-dashboard-slices' style=" display:block; float:none"  >
+  <div class='ms-dashboard-caption'>
+    <h2>Platform Access</h2>
+  </div>
+  <div class='ms-dashboard-content' id='tophat__list__user_hrn'>
+    <div id="main">
+      <div id="middle" align="center">
 
 
+               <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>
+         </div>
+    </div>
+  </div>
+</div>