Author: fm Date: Fri Nov 1 18:32:03 2013 New Revision: 4648 Log: Template for FAM updated
Modified: trunk/AncestrisCore/modules.renderer.velocity/src/ancestris/templates/FAM/popup.vm Modified: trunk/AncestrisCore/modules.renderer.velocity/src/ancestris/templates/FAM/popup.vm ============================================================================== --- trunk/AncestrisCore/modules.renderer.velocity/src/ancestris/templates/FAM/popup.vm (original) +++ trunk/AncestrisCore/modules.renderer.velocity/src/ancestris/templates/FAM/popup.vm Fri Nov 1 18:32:03 2013 @@ -4,153 +4,91 @@ #set($isShown = 1) #end #end + <html> + <head> <style type="text/css"> html { font-family: Verdana,Geneva,Arial,Helvetica,sans-serif; -font-size: 0.75em; -line-height: 1.2em; -text-align: center; +font-size: 10px; +line-height: 1.0em; +text-align: left; } -h1 { -font-family: inherit; -font-size: 1.5em; -line-height: 3em; -font-weight: bold; -background-color: #ffff66; +.title { +border-style: dotted; +border-width: 1px; +border-color: black; +background-color: #CEECF5; +font-size: 12px; text-align: center; -} -h2 { -font-family: inherit; -font-weight: bold; -font-size: 1.2em; -line-height: 1.8em; -padding-left: 0.5em; -} -h3 { -font-family: inherit; -font-weight: bold; -font-size: 1.1em; -line-height: 1em; -} -h4 { -font-family: inherit; -font-weight: bold; -font-size: 1em; -line-height: 1em; -} -h5 { -font-family: inherit; -font-weight: normal; -font-size: 1em; -line-height: 1em; -} -.megr { -font-style: normal; -font-weight: normal; -} -.metit { -color: #000099; text-decoration: underline; } -.droite { -text-align: right; -} -.trait { -text-align: center; -} -.cent { -text-align: center; -} -.conteneur { -padding: 0px; -width: 100%; -margin-left: 0em; -margin-top: 0; -margin-bottom: 0; -} -.spacer { -clear: both; -margin-top: 0; -margin-bottom: 0; -height: 0px; -} -.column1 { -float: left; -text-align: left; -width: 45%; -margin-left: 0.5em; -margin-right: 0; -margin-top: 0; +.underline_shadow { +text-shadow: 2px 2px 8px orange; +text-decoration: underline; } -.column2 { -float: right; +.italic { +font-style: italic; +font-size: 9px; +} +.version { +font-style: italic; +font-size: 6px; text-align: left; -width: 45%; -margin-left: 0; -margin-right: 0.5em; -margin-top: 0; -} -.foncolo { -border-style: hidden hidden double; -border-color: black; -border-top: 0px hidden black; -background-color: #ccffff; -} -.focolo { -background-color: #ffff99; -} -.minicolo { -border-style: hidden hidden simple; -border-color: black; -border-top: 0px hidden black; -background-color: #ffff99; } </style><!-- ici finit l'ensemble des indications de presentation de la page web --------------> </head> + <body> -#set ($version="2.0") +#set ($version="DD_FM_2.0") #set($fam=$fams) #set($child=$children) +#set($mariage=$FAM.getProperty("MARR")) +#set($contrat_de_mariage=$FAM.getProperty("MARC")) +#set($divorce=$FAM.getProperty("DIV")) -<span class="cent" <!-- ----------------- Titre de la page------------ --> -<h4> <span class="foncolo"> $!FAM.Husband.getProperty("NAME:GIVN") $!FAM.Husband.getProperty("NAME:SURN") +<center> +<span class="title"> $!FAM.Husband.getProperty("NAME:GIVN") $!FAM.Husband.getProperty("NAME:SURN") x - $!FAM.Wife.getProperty("NAME:GIVN") $!FAM.Wife.getProperty("NAME:SURN") </span></h4> - - + $!FAM.Wife.getProperty("NAME:GIVN") $!FAM.Wife.getProperty("NAME:SURN") </span> +</center> +<br> <!-- ----------------- le mariage----------------------------------------- --> - #set($mariage=$FAM.getProperty("MARR")) - #if ($mariage) -Date du Mariage : <span class="megr">$!FAM.getProperty("MARR:DATE")</span> - -Lieu du Mariage : <span class="megr">$!FAM.getProperty("MARR:PLAC")</span> +#if ($mariage) + Date du Mariage : <span class="italic">$!FAM.getProperty("MARR:DATE")</span><br> + Lieu du Mariage : <span class="italic">$!FAM.getProperty("MARR:PLAC")</span> +#end +#if ($contrat_de_mariage) + <br>Contrat de Mariage le : <span class="italic">$FAM.getProperty("MARC:DATE") chez $FAM.getProperty("MARC:AGNC")</span> +#end +#if ($divorce) + <br>Divorce : $divorce.Date - Lieu : $divorce.Place - #end - #set($contrat_de_mariage=$FAM.getProperty("MARC")) - #if ($contrat_de_mariage) -<br>Contrat de Mariage le : <span class="megr">$FAM.getProperty("MARC:DATE") chez $FAM.getProperty("MARC:AGNC")</span> - #end - #set($divorce=$FAM.getProperty("DIV")) - #if ($divorce) -<br>Divorce : $divorce.Date - Lieu : $divorce.Place - - #end +<br> +<br> <!-- ----------------- les enfants ----------------------------------------- --> -<br><br><span class="mital">Enfants : </span><br> +<span class="underline_shadow">ENFANTS</span> :<br> - #foreach ($child in $FAM.Children) -<li>$!child.getProperty("NAME") ($!child.Id) -- Naissance : $!child.getProperty("BIRT:DATE") à $!child.getProperty("BIRT:PLAC")-- Décès : $!child.getProperty("DEAT:DATE") à $!child.getProperty("DEAT:PLAC") +#foreach ($child in $FAM.Children) + <li>$!child.getProperty("NAME") ($!child.Id)<br> + Naissance : <span class="italic">$!child.getProperty("BIRT:DATE")</span> à <span class="italic">$!child.getProperty("BIRT:PLAC")</span> + // + Décès : <span class="italic">$!child.getProperty("DEAT:DATE")</span> à <span class="italic">$!child.getProperty("DEAT:PLAC")</span> </li> -<P> #testaff($child.getProperty("BAPM"))#if ($isShown!=0) -Baptême : $!child.getProperty("BAPM:DATE") à $!child.getProperty("BAPM:PLAC") -- - - #end - #end -</P> + #testaff($child.getProperty("BAPM")) + #if ($isShown!=0) + Baptême : <span class="italic">$!child.getProperty("BAPM:DATE")</span> à <span class="italic">$!child.getProperty("BAPM:PLAC")</span> + #end +#end +<p align="right"><span class="version"> +$version +</span></p> </body> </html> --------------------------------------------------------------------- Site Web Ancestris : http://www.ancestris.org <*> Pour vous desinscrire de cette liste, envoyez un mail a : ancestris-commit-unsubscr...@ml.arvernes.com <*> Pour obtenir de l'aide sur les commandes de la liste : ancestris-commit-h...@ml.arvernes.com Pour obtenir tous les messages lies a ce fil de discussion, cliquez sur le lien ci-dessous, cela ouvrira votre logiciel de messagerie. Il vous suffira d'envoyer le message : ancestris-commit-thread.4...@ml.arvernes.com