Admin actions are between [ ]
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 9 Jul 2008 20:33:12 +0000 (22:33 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Wed, 9 Jul 2008 20:33:12 +0000 (22:33 +0200)
Some CSS tweaks.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
htdocs/css/default.css
htdocs/css/keynote.css
templates/include/minifiche.tpl

index 4a5ca8b..8a379b2 100644 (file)
@@ -286,7 +286,7 @@ div.contact-list div.grayed {
 
 div.contact div.identity {
     float: left;
-    width: 90%;
+    width: 89%;
 }
 
 div.contact div.nom {
@@ -296,6 +296,7 @@ div.contact div.nom {
 div.contact div.bits {
     text-align: right;
     float: right;
+    width: 10%;
 }
 
 div.contact div.long {
index c85a815..9ab2eed 100644 (file)
@@ -309,7 +309,7 @@ div.contact-list div.contact:hover {
 
 div.contact div.identity {
     float: left;
-    width: 70%;
+    width: 89%;
 }
 
 div.contact div.nom {
@@ -339,8 +339,8 @@ div.contact div.long {
 }
 
 div.long table { width: 100%; }
-div.long td.lt { width: 25%; font-style: italic; }
-div.long td.rt { width: 75%; }
+div.long td.lt { width: 15%; font-style: italic; }
+div.long td.rt { width: 85%; }
 
 /*******************************************************************************
     6   Profil
index b23f5f7..862b22b 100644 (file)
 
     {if hasPerm('admin')}
     <div>
-    {if !$c.wasinscrit && !$c.dcd}
-    <a href="marketing/private/{$c.user_id}">{*
-      *}{icon name=email title="marketter user"}</a>
-    {/if}
-    <a href="admin/user/{if $c.wasinscrit}{$c.forlife}{else}{$c.user_id}{/if}">{*
-    *}{icon name=wrench title="administrer user"}</a>
-    <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$c.matricule_ax}">{*
-    *}{icon name=user_gray title="fiche AX"}</a>
+      [{if !$c.wasinscrit && !$c.dcd}
+      <a href="marketing/private/{$c.user_id}">{*
+        *}{icon name=email title="marketter user"}</a>
+      {/if}
+      <a href="admin/user/{if $c.wasinscrit}{$c.forlife}{else}{$c.user_id}{/if}">{*
+      *}{icon name=wrench title="administrer user"}</a>
+      <a href="http://www.polytechniciens.com/?page=AX_FICHE_ANCIEN&amp;anc_id={$c.matricule_ax}">{*
+      *}{icon name=user_gray title="fiche AX"}</a>]
     </div>
     {/if}
   </div>