some graphical improvements on the fiche.tpl
authorx2000habouzit <x2000habouzit>
Fri, 10 Sep 2004 23:52:13 +0000 (23:52 +0000)
committerx2000habouzit <x2000habouzit>
Fri, 10 Sep 2004 23:52:13 +0000 (23:52 +0000)
htdocs/css/default.css
templates/fiche.tpl

index fb53e8c..4a06005 100644 (file)
@@ -344,7 +344,7 @@ em.intitule {
   font-size: small;
 }
 
-/*Boite en haut à gauche*/
+/* top left box */
 #fiche_identite{
   float: left;
   border: 1px solid #5555BB;
@@ -378,16 +378,15 @@ em.intitule {
   border-top: 1px solid #003399;
 }
 
-/*Boite de droite : photos, binets*/
+/* right box : photos, binets */
 #fiche_divers{
   float: right;
   width: 210px;
-  text-align: center;
+  text-align: left;
 }
 
 #fiche_adresses{
   float: left;
-  /*border: 1px solid #5555BB;*/
   padding: 5px;
   margin: 5px;
   width: 500px;
@@ -399,7 +398,6 @@ em.intitule {
 div.adresse{
   float: left;
   padding: 10px;
-  /*border: 1px dotted #999;*/
   width: 25ex;
   margin: 5px;
   margin-top: 0px;
@@ -413,7 +411,6 @@ div.adresse div.titre{
 
 #fiche_infospro{
   float: left;
-  /*border: 1px solid #5555BB;*/
   padding: 10px;
   width: 500px;
   margin: 5px;
@@ -459,7 +456,7 @@ div.entreprise div.adr_pro{
 
 div.spacer { clear: both; }
 
-/* Spécial fiche_referent.php*/
+/* only for fiche_referent.php*/
 
 #fiche_referent{
   float: left;
@@ -582,4 +579,4 @@ div.spacer { clear: both; }
 }
 
 /* vim: set et ts=4 sts=4 sw=4: */
-/* $Id: default.css,v 1.42 2004-09-10 11:52:36 x2000habouzit Exp $ */
+/* $Id: default.css,v 1.43 2004-09-10 23:52:13 x2000habouzit Exp $ */
index 406e7c6..cd76d14 100644 (file)
@@ -17,7 +17,7 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************
-        $Id: fiche.tpl,v 1.9 2004-09-06 06:25:10 x2000coic Exp $
+        $Id: fiche.tpl,v 1.10 2004-09-10 23:52:13 x2000habouzit Exp $
  ***************************************************************************}
 
 
 <div id="fiche">
 
 <div id="fiche_identite">
-    <div class="civilite">{$prenom} {$nom}</div>
-    <div><em>{$nationalite}</em> - X {$promo}&nbsp;-&nbsp;Formation&nbsp;: {$applis|smarty:nodefaults}</div>
-    <span style="font-size: small;">(Fiche mise à jour le {$date|date_format:"%d/%m/%Y"})</span><br />
-    <div>
-      <a href="vcard.php/{$forlife}.vcf?x={$user_id}"><img src="images/vcard.png" alt="Afficher la carte de visite" /></a>&nbsp;
-      {if !$is_contact}
-      <a href="javascript:x()"  onclick="popWin('mescontacts.php?action=ajouter&amp;user={$forlife}')"><img src="images/ajouter.gif" alt="Ajouter parmi mes contacts" /></a>&nbsp;
-      {/if}
-      <a
-        href="sendmail.php?contenu=Tu%20trouveras%20ci-apres%20la%20fiche%20de%20{$prenom}%20{$nom}%20https://www.polytechnique.org/fiche.php?user={$forlife}"  onclick="return popup(this)">
-        <img src="images/mail.png" alt="Envoyer l'URL" />
-      </a>
-    </div>
+  <div class="civilite">{$prenom} {$nom}
+    <a href="vcard.php/{$forlife}.vcf?x={$user_id}"><img src="images/vcard.png" alt="Afficher la carte de visite" /></a>&nbsp;
+    {if !$is_contact}
+    <a href="javascript:x()"  onclick="popWin('mescontacts.php?action=ajouter&amp;user={$forlife}')"><img src="images/ajouter.gif" alt="Ajouter parmi mes contacts" /></a>&nbsp;
+    {/if}
+  </div>
+  <div class='right' style="font-size: smaller; width:100%">(Fiche mise à jour le {$date|date_format:"%d %B %Y"})</div>
+  <div>
     <a href="mailto:{$forlife}@polytechnique.org">{$forlife}@polytechnique.org</a><br />
+  </div>
+  <div><em>{$nationalite}</em> - X {$promo}&nbsp;-&nbsp;Formation&nbsp;: {$applis|smarty:nodefaults}</div>
 </div>
 
 <div id="fiche_divers">